Hi, we are having a problem with the code. When we copy python main.py --ni --config imagenet_256.yml --doc imagenet --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05 in the prompt this is the error that occurs:
C:\Users\aless>python main.py --ni --config imagenet_256.yml --doc imagenet --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05
INFO - main.py - 2023-04-21 16:50:48,504 - Using device: cpu
INFO - main.py - 2023-04-21 16:50:48,504 - Writing log file to exp\logs\imagenet
INFO - main.py - 2023-04-21 16:50:48,504 - Exp instance id = 976
INFO - main.py - 2023-04-21 16:50:48,504 - Exp comment =
ERROR - main.py - 2023-04-21 16:51:11,266 - Traceback (most recent call last):
File "C:\Users\aless\main.py", line 164, in main
runner.sample()
File "C:\Users\aless\runners\diffusion.py", line 135, in sample
model.load_state_dict(torch.load(ckpt, map_location=self.device))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\serialization.py", line 797, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\serialization.py", line 283, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Can somebody help us? We are new to coding, so we don't know where to start. Thank you very much
Hi, we are having a problem with the code. When we copy python main.py --ni --config imagenet_256.yml --doc imagenet --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05 in the prompt this is the error that occurs:
C:\Users\aless>python main.py --ni --config imagenet_256.yml --doc imagenet --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05
INFO - main.py - 2023-04-21 16:50:48,504 - Using device: cpu
INFO - main.py - 2023-04-21 16:50:48,504 - Writing log file to exp\logs\imagenet
INFO - main.py - 2023-04-21 16:50:48,504 - Exp instance id = 976
INFO - main.py - 2023-04-21 16:50:48,504 - Exp comment =
ERROR - main.py - 2023-04-21 16:51:11,266 - Traceback (most recent call last):
File "C:\Users\aless\main.py", line 164, in main
runner.sample()
File "C:\Users\aless\runners\diffusion.py", line 135, in sample
model.load_state_dict(torch.load(ckpt, map_location=self.device))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\serialization.py", line 797, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\serialization.py", line 283, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Can somebody help us? We are new to coding, so we don't know where to start. Thank you very much