Closed aiforworlds closed 1 year ago
Thanks for your attention.
One possible solution like:
cd model
git clone https://github.com/huggingface/diffusers.git
Thanks for your reply.
I did it according to your suggestion, but still have the problem。
diffuser code cann't find models folder, from https://github.com/huggingface/diffusers.git
sofrom model.diffusers.models.unet_2d_condition import UNet2DConditionModel
still error
Do not use the whole file, just copy the diffusers file https://github.com/huggingface/diffusers/tree/main/src/diffusers
to the ./model
path.
Thank you very much. The problem has been solved.
Thanks for your great work. When I run the training code ./tools/train_depth_NYU.py, I find that the file that needs to be imported cannot be found, in ./tools/train_depth_NYU.py file line 25
from model.diffusers.models.unet_2d_condition import UNet2DConditionModel
and in model/unet.py line9from model.diffusers.models.unet_2d_condition import UNet2DConditionModel
Looking forward to your reply.