explainingai-code / GANs-Pytorch

This repo implements a simple GAN with fc layers and trains it on MNIST
0 stars 0 forks source link

minor change for better code implementation #2

Open akansh12 opened 8 months ago

akansh12 commented 8 months ago
explainingai-code commented 8 months ago

When do you see the 'ModuleNotFoundError' ?

akansh12 commented 8 months ago

while running python tools/train_gan.py

explainingai-code commented 8 months ago

Yeah.. I suspected that. It should be run via python -m tools.train_gan which ensures the import correctly and not python tools/train_gan.py . Same for VAE . https://github.com/explainingai-code/GANs-Pytorch?tab=readme-ov-file#quickstart