Closed Stelath closed 2 years ago
It seems the issue is the forward part of CNN model. You may check whether the input ''imgs[-1]'' is correct. Another thing is to try the source code under the AttnGAN+CL folder, as my experiment for 'pretrain_DAMSM.py' was done using this version.
I fixed this, eventually I installed the correct version of CUDA toolkit on my machine, and a supported NVIDIA driver; still not entirely sure what the problem was though.
CUDA for some reason fails to execute when running, I have the correct version of PyTorch and also have an NVIDIA driver installed on the system.
Thrown as a result of running the command:
python pretrain_DAMSM.py --cfg cfg/DAMSM/book.yml --gpu 0