-
Notifications
You must be signed in to change notification settings - Fork 201
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
EOFError: Ran out of input #107
Comments
The Python "Pickle EOFError: Ran out of input" occurs when the file you are trying to open and load is empty. Your error indictate the following model is not correctly downloaded. Lines 50 to 53 in a348e0a
|
@williamyang1991 Thanks for your enthusiastic reply! by the way, In file real2sculpture.json, it was found that file models/realisticVisionV20_v20.safetensors is needed ,but I can't find the file realisticVisionV20_v20.safetensors, May I ask if the error was caused by a missing rrealisticVisionV20_v20.safetensors. Thansk a lot! |
Yes, you can download realisticVisionV20_v20.safetensors here |
@williamyang1991 Thanks, I'll download it and have a try! |
The error message I receive is as follows:
evans@evans:~/Work/Rerender_A_Video$ python3 rerender.py --cfg config/real2sculpture.json
logging improved.
Traceback (most recent call last):
File "rerender.py", line 25, in
from flow.flow_utils import get_warped_and_mask
File "/home/evans/Work/Rerender_A_Video/flow/flow_utils.py", line 258, in
flow_calc = FlowCalc()
File "/home/evans/Work/Rerender_A_Video/flow/flow_utils.py", line 156, in init
checkpoint = torch.load(model_path,
File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 1028, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 1246, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
EOFError: Ran out of input
evans@evans:~/Work/Rerender_A_Video$ nvidia-smi
Sun Nov 5 22:02:46 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03 Driver Version: 535.129.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA TITAN Xp Off | 00000000:65:00.0 On | N/A |
| 23% 34C P5 23W / 250W | 727MiB / 12288MiB | 1% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 865 G /usr/lib/xorg/Xorg 102MiB |
| 0 N/A N/A 1469 G /usr/lib/xorg/Xorg 312MiB |
| 0 N/A N/A 1596 G /usr/bin/gnome-shell 92MiB |
| 0 N/A N/A 3353 G /usr/lib/firefox/firefox 204MiB |
+---------------------------------------------------------------------------------------+
The text was updated successfully, but these errors were encountered: