francisco@home:~$

  • Moving from Tensorflow 2.0 to Pytorch

    I was having many issues with GPU memory management in a Transfer Learning problem when using Tensorflow 2.0 with Keras module. Even though I was using Inception V3 model with all the weights of the architecture freezed, the code ran out of memory. The weights of the model occupied only...

  • Parallel training in Tensorflow 2.0

    Recently I have been able to use 2 GPUs for model training. I was having problems while training with both of them (only one of them was being used). At the end, thanks to this issue thread, I knew that with the new eager mode, there exist a bug for...

  • Combine images vertically

    Recently I needed to combine a bunch of images for a book. Since I didn’t want to use a software I thought it would be easier to combine them using Python with the following script (thanks to Python Programming): import numpy as np from PIL import Image import glob list_im...