Open liuyisu opened 9 months ago
There are two possibilities, according to what happened to me:
python scripts/image_train.py --data_dir path/to/images $MODEL_FLAGS $DIFFUSION_FLAGS $TRAIN_FLAGS
Make sure to check the image file path
"--data_dir path/to/images"Just add the working dir to python environment variable as the following:
export PYTHONPATH=$PYTHONPATH:/path/to/guided-diffusion
hopefully this will help.
What should we do if this problem occurs ModuleNotFoundError: No module named 'improved_diffusion'