If we want to run TensorFlow or PyTorch with CUDA on Linux, for example, we can install CUDA as a system library first and then install the Python package with pip (or via apt-get, in the rare case). This way, the package will find the CUDA library at system locations....
[more]
SSH as VPN
To use SSH as a VPN, the man page provided the following instructions:
[more]
Wang et al (2021) Real-ESRGAN
This is to extend the SR-GAN and ESR-GAN to do blind super-resolution. The
problem statement is to reconstruct the high-resolution image from low
resolution (a.k.a. super-resolution), but without knowing how the low
resolution is derived from the original high-resolution image, i.e.,
blind super-resolution.
[more]
Ledig et al (2017) Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
This is the “SR-GAN” paper. The problem of upscaling a photo with details is called “SISR” as in the title. This paper takes a 4x upscaling as an example problem and build a GAN model to do it.
[more]
Explaining Attention Mechanism
Attention mechanism was first mentioned in Bahdanau et al (2015) paper titled “Neural Machine Translation by Jointly Learning to Align and Translate”, and Luong et al (2015) improved it with the paper “Effective Approaches to Attention-based Neural Machine Translation”. The key is to find the attention score $a_{ij}$ between two...
[more]