Closed QuantumQuokka2 closed 1 year ago
Same.
File "L:\supersd2\stabdif3\extensions\sd-webui-text2video\scripts\text2vid.py", line 94, in process process_modelscope(skip_video_creation, ffmpeg_location, ffmpeg_crf, ffmpeg_preset, fps, add_soundtrack, soundtrack_path, \ File "L:\supersd2\stabdif3\extensions\sd-webui-text2video\scripts\text2vid.py", line 152, in process_modelscope pipe = setup_pipeline() File "L:\supersd2\stabdif3\extensions\sd-webui-text2video\scripts\text2vid.py", line 42, in setup_pipeline return TextToVideoSynthesis(ph.models_path+'/ModelScope/t2v') File "L:\supersd2\stabdif3/extensions/sd-webui-text2video/scripts\modelscope\t2v_pipeline.py", line 59, in init config_dict = json.load(f) File "C:\Users\lrdce\AppData\Local\Programs\Python\Python310\lib\json__init.py", line 293, in load return loads(fp.read(), File "C:\Users\lrdce\AppData\Local\Programs\Python\Python310\lib\json\init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\lrdce\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\lrdce\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Exception occurred: Expecting value: line 1 column 1 (char 0)
This issue has been closed due to incorrect formatting. Please address the following mistakes and reopen the issue:
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
I moved the model files as needed to /models/ModelScope/t2v and it always shows me this error when I try to generate a video:
Traceback (most recent call last): File "G:\Stable diffusion\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 94, in process process_modelscope(skip_video_creation, ffmpeg_location, ffmpeg_crf, ffmpeg_preset, fps, add_soundtrack, soundtrack_path, \ File "G:\Stable diffusion\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 152, in process_modelscope pipe = setup_pipeline() File "G:\Stable diffusion\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 42, in setup_pipeline return TextToVideoSynthesis(ph.models_path+'/ModelScope/t2v') File "G:\Stable diffusion\stable-diffusion-webui/extensions/sd-webui-text2video/scripts\modelscope\t2v_pipeline.py", line 84, in init torch.load( File "G:\Stable diffusion\stable-diffusion-webui\modules\safe.py", line 106, in load return load_with_extra(filename, extra_handler=global_extra_handler, *args, *kwargs) File "G:\Stable diffusion\stable-diffusion-webui\modules\safe.py", line 151, in load_with_extra return unsafe_torch_load(filename, args, kwargs) File "G:\Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\serialization.py", line 789, in load return _load(opened_zipfile, map_location, pickle_module, pickle_load_args) File "G:\Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\serialization.py", line 1131, in _load result = unpickler.load() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\pickle.py", line 1213, in load dispatchkey[0] File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\pickle.py", line 1254, in load_binpersid self.append(self.persistent_load(pid)) File "G:\Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\serialization.py", line 1101, in persistent_load load_tensor(dtype, nbytes, key, _maybe_decode_ascii(location)) File "G:\Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\serialization.py", line 1079, in load_tensor storage = zip_file.get_storage_from_record(name, numel, torch.UntypedStorage).storage().untyped() RuntimeError: PytorchStreamReader failed reading file data/1037: invalid header or archive is corrupted Exception occurred: PytorchStreamReader failed reading file data/1037: invalid header or archive is corrupted
I checked and the files were okay and not broken so I really don't know what's going on....
Steps to reproduce the problem
What should have happened?
No response
WebUI and Deforum extension Commit IDs
webui commit id - txt2vid commit id -
What GPU were you using for launching?
RTX 3070 had enough available VRAM
On which platform are you launching the webui backend with the extension?
No response
Settings
--xformers --reinstall-xformers
Console logs
Additional information
No response