You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When runing: python u2net_portrait_composite.py -s 20 -a 0.5
it returns an Error : RuntimeError: unexpected EOF, expected 2332171 more bytes.
20
0.5
--------------------
Number of images: 10
...load U2NET---173.6 MB
Traceback (most recent call last):
File "/content/U-2-Net/u2net_portrait_composite.py", line 141, in <module>
main()
File "/content/U-2-Net/u2net_portrait_composite.py", line 111, in main
net.load_state_dict(torch.load(model_dir))
File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 795, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 1020, in _legacy_load
typed_storage._storage._set_from_file(
RuntimeError: unexpected EOF, expected 2332171 more bytes. The file might be corrupted.
The text was updated successfully, but these errors were encountered:
When runing:
python u2net_portrait_composite.py -s 20 -a 0.5
it returns an Error : RuntimeError: unexpected EOF, expected 2332171 more bytes.
The text was updated successfully, but these errors were encountered: