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
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