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

when i running app.py error append #8

Open
wangzijian1010 opened this issue Jan 31, 2024 · 0 comments
Open

when i running app.py error append #8

wangzijian1010 opened this issue Jan 31, 2024 · 0 comments

Comments

@wangzijian1010
Copy link

wangzijian1010 commented Jan 31, 2024

x4-upscaler-ema.safetensors exists
Traceback (most recent call last):
File "/home/xxxxx/HD-Painter/demo/app.py", line 71, in
sr_model = models.sd2_sr.load_model(device='cuda:0')
File "/home/xxxxxxxxx/HD-Painter/src/models/sd2_sr.py", line 159, in load_model
state_dict = safetensors.torch.load_file(MODEL_PATH)
File "/home/xxxxxxx/anaconda3/envs/hdpainter/lib/python3.9/site-packages/safetensors/torch.py", line 309, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer

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