Create dataset(tf.data.Dataset) loader which returns
shape: [None, 3, res, res] where res is desired image resolution
image value range: [-1, +1]
Etc
Using with pycharm
If .bashrc file's paths don't work in pycharm environment (e.g. nvcc -h), open pycharm with following
# move to pycharm installed location (location may vary)
moono@moono-ubuntu:~$ cd .local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin/
# launch pycharm with .bashrc
moono@moono-ubuntu:~/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin$ bash pycharm.sh