Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab Error: "Error no file named diffusion_pytorch_model.bin found in directory outputs/man-skiing" #88

Open
zainkazi opened this issue Oct 26, 2023 · 0 comments

Comments

@zainkazi
Copy link

Cell 8 gives me this error. How to resolve this?

Complete error description:

"OSError Traceback (most recent call last)
in <cell line: 9>()
7
8
----> 9 unet = UNet3DConditionModel.from_pretrained(OUTPUT_DIR, subfolder='unet', torch_dtype=torch.float16).to('cuda')
10 scheduler = DDIMScheduler.from_pretrained(MODEL_NAME, subfolder='scheduler')
11 pipe = TuneAVideoPipeline.from_pretrained(MODEL_NAME, unet=unet, scheduler=scheduler, torch_dtype=torch.float16).to("cuda")

1 frames
/usr/local/lib/python3.10/dist-packages/diffusers/modeling_utils.py in _get_model_file(cls, pretrained_model_name_or_path, weights_name, subfolder, cache_dir, force_download, proxies, resume_download, local_files_only, use_auth_token, user_agent, revision)
591 model_file = os.path.join(pretrained_model_name_or_path, subfolder, weights_name)
592 else:
--> 593 raise EnvironmentError(
594 f"Error no file named {weights_name} found in directory {pretrained_model_name_or_path}."
595 )

OSError: Error no file named diffusion_pytorch_model.bin found in directory outputs/man-skiing."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant