file not found in HF "diffusion_pytorch_model.bin"

#6
by harinathreddy - opened

(myenv) C:\s_proj\IDM-VTON>python gradio_demo/app.py
Traceback (most recent call last):
File "C:\s_proj\IDM-VTON\gradio_demo\app.py", line 48, in
unet = UNet2DConditionModel.from_pretrained(
File "C:\Users\DELL\anaconda3\envs\myenv\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\DELL\anaconda3\envs\myenv\lib\site-packages\diffusers\models\modeling_utils.py", line 777, in from_pretrained
model_file = _get_model_file(
File "C:\Users\DELL\anaconda3\envs\myenv\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\DELL\anaconda3\envs\myenv\lib\site-packages\diffusers\utils\hub_utils.py", line 272, in _get_model_file
raise EnvironmentError(
OSError: Error no file named diffusion_pytorch_model.bin found in directory yisol/IDM-VTON.

Could anyone help on this issue please

I have the same issue as well.

EDIT: I think it is called "diffusion_pytorch_model.safetensors" now. We need to update the startup scripts somehow

I'm getting the same issue. Is there a fix for this?

Sign up or log in to comment