dome272 / Diffusion-Models-pytorch

Pytorch implementation of Diffusion Models (https://arxiv.org/pdf/2006.11239.pdf)
Apache License 2.0
1.11k stars 256 forks source link

FileNotFoundError: Couldn't find any class folder in ./datasets/unconditional/landscape #43

Open Grassyue opened 2 months ago

Grassyue commented 2 months ago

Thank you for your sharing! As I perform ddpm.py and set the datapath:

args.dataset_path = "./datasets/unconditional/landscape"

rasing an error:

FileNotFoundError: Couldn't find any class folder in ./datasets/unconditional/landscape

MichaelJacob914 commented 2 months ago

I had this same issue, it seems like the file path needs to be to the folder in the sense that it should be ./datasets/unconditional/ and there should only be the folder 'landscape' contained in unconditional(or at least this is what worked for me)

Grassyue commented 2 months ago

Thank you for your response. I will try your suggestions.

DeepDuke commented 3 weeks ago

Yes, the path should be ./datasets/unconditional/