Stability-AI / generative-models

Generative Models by Stability AI
MIT License
24.21k stars 2.7k forks source link

No such file or directory: 'DATA-PATH' #349

Open dalseeroh opened 5 months ago

dalseeroh commented 5 months ago

I am trying to do train autoencoder like suggested in the "Traing" section in readme.md.

python main.py --base configs/example_training/autoencoder/kl-f4/imagenet-kl_f8_8chn.yaml

and it spits out the exception as follows:

Catched exception in Dataset2SamplesConverter: [Errno 2] No such file or directory: 'DATA-PATH'

What should I put in the 'DATA-PATH'?

DatTrongNg commented 5 months ago

I think the DATA-PATH is the path to the root of your custom dataset.

Based on the size of your custom dataset, you need to choose how to handle it (mentioned in readme): image