-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I get this error in src\trainer\genpercept_trainer.py,
GenPercept/src/trainer/genpercept_trainer.py
Line 333 in 7cff083
| self.training_noise_scheduler: DDPMSchedulerCustomized = DDPMSchedulerCustomized.from_pretrained( |
We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like pretrained_weights\stable-diffusion-2-1\scheduler_beta_1.0_1.0 is not the path to a directory containing a scheduler_config.json file.
The problem is that we try to load a config using DDPMSchedulerCustomized.from_pretrained, from a config.json that does not exist:
'pretrained_weights\\stable-diffusion-2-1\\scheduler_beta_1.0_1.0'
Should the line be replace by :
self.training_noise_scheduler: DDPMSchedulerCustomized = DDPMSchedulerCustomized.from_pretrained( 'hf_configs/scheduler_beta_1.0_1.0' ) ?