JuliaWolleb / diffusion-anomaly

Anomaly detection with diffusion models
MIT License
115 stars 24 forks source link

Issues about train "classifer_train.py" on the chexpert dataset #14

Open liyiyue2021 opened 1 year ago

liyiyue2021 commented 1 year ago

When I train the "classifer_train.py" on the chexpert dataset, it keeps printing the length of the training set, does not run to the next step, and also does not generate a saved model file.

chexpert
gokul-ramasamy commented 10 months ago

Comment out line 117 in _guided_diffusion/imagedatasets.py. It will work. The print statement was inside the len function and this led to the function calling itself.