runtime error
Exit code: 1. Reason: archive: failed finding central directory: Traceback (most recent call last): File "predict.py", line 56, in main model = load_checkpoint(train_config, checkpoint_path, strict=False, map_location='cpu') File "/home/user/app/saicinpainting/training/trainers/__init__.py", line 27, in load_checkpoint state = torch.load(path, map_location=map_location) File "/usr/local/lib/python3.8/site-packages/torch/serialization.py", line 1072, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "/usr/local/lib/python3.8/site-packages/torch/serialization.py", line 480, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory Traceback (most recent call last): File "app.py", line 114, in <module> gr.Interface(infer, inputs, outputs, title=title, File "/usr/local/lib/python3.8/site-packages/gradio/interface.py", line 426, in __init__ cache_interface_examples(self) File "/usr/local/lib/python3.8/site-packages/gradio/process_examples.py", line 51, in cache_interface_examples raise e File "/usr/local/lib/python3.8/site-packages/gradio/process_examples.py", line 47, in cache_interface_examples prediction = process_example(interface, example_id) File "/usr/local/lib/python3.8/site-packages/gradio/process_examples.py", line 29, in process_example prediction = interface.process(raw_input) File "/usr/local/lib/python3.8/site-packages/gradio/interface.py", line 754, in process predictions = self.run_prediction(processed_input) File "/usr/local/lib/python3.8/site-packages/gradio/interface.py", line 718, in run_prediction prediction = predict_fn(*processed_input) File "app.py", line 96, in infer lama_frame = Image.open(lama_frame) File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 3431, in open fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/dataout/data_mask.png'
Container logs:
Fetching error logs...