Open huangkun101230 opened 2 years ago
I get the same error. I am unsure if the saved model leads to this problem, but is it possible to provide a new pkl file?
I'm confronted with the same problem. Have you found a way to solve it?
Same here! Did you find a workaround?
Hi,
I tried to run your code on my machine, but I got these:
Traceback (most recent call last): File "main.py", line 111, in main() File "main.py", line 107, in main saver.LoadLatestModel(model, None) File "C:\Users\GGPC\Desktop\segfuse\Utils\ModelSaver.py", line 36, in LoadLatestModel params = torch.load(name) File "C:\Users\GGPC\miniconda3\envs\segfuse\lib\site-packages\torch\serialization.py", line 600, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "C:\Users\GGPC\miniconda3\envs\segfuse\lib\site-packages\torch\serialization.py", line 242, in init super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Could you please help me with this problem?
Did you put the pretrained model in the save folder?In this way, I ran it successfully and got depth data.
hi, same problem. Has this been solved yet?
Hi,
I tried to run your code on my machine, but I got these:
Traceback (most recent call last): File "main.py", line 111, in
main()
File "main.py", line 107, in main
saver.LoadLatestModel(model, None)
File "C:\Users\GGPC\Desktop\segfuse\Utils\ModelSaver.py", line 36, in LoadLatestModel
params = torch.load(name)
File "C:\Users\GGPC\miniconda3\envs\segfuse\lib\site-packages\torch\serialization.py", line 600, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "C:\Users\GGPC\miniconda3\envs\segfuse\lib\site-packages\torch\serialization.py", line 242, in init
super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Could you please help me with this problem?