runtime error

Exit code: 1. Reason: eights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. model.load_state_dict(torch.load(model_path, map_location=CFG.device)) 0%| | 0/405 [00:00<?, ?it/s][ WARN:[email protected]] global loadsave.cpp:241 findDecoder imread_('/1000268201_693b08cb0e.jpg'): can't open/read file: check file path/integrity 0%| | 0/405 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 32, in <module> model, image_embeddings = get_image_embeddings(valid_df, "best.pt") File "/home/user/app/app.py", line 25, in get_image_embeddings for batch in tqdm(valid_loader): File "/usr/local/lib/python3.10/site-packages/tqdm/std.py", line 1181, in __iter__ for obj in iterable: File "/usr/local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 630, in __next__ data = self._next_data() File "/usr/local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 673, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/usr/local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 52, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/usr/local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 52, in <listcomp> data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/user/app/dataset.py", line 31, in __getitem__ image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.10.0) /io/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

Container logs:

Fetching error logs...