The algorithm failed on one or more cases.

The algorithm failed on one or more cases.  

  By: iamyangshu on Sept. 2, 2024, 1:01 p.m.

Dear organizers, My submission failed with the error message "The algorithm failed on one or more cases." Could you please provide me with the specific details or error logs that appeared during my submission? Thanks in advance.

Re: The algorithm failed on one or more cases.  

  By: iamyangshu on Sept. 2, 2024, 1:29 p.m.

I can process the vid_1_short.mp4 by using the process.py. However, when I try to use test.sh, I can't process the video data, and I got the error: [ERROR:0@7.785] global cap_ffmpeg_impl.hpp:1309 open Could not open codec h264, error: -11 [ERROR:0@7.785] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture

Re: The algorithm failed on one or more cases.  

  By: aneeqzia_isi on Sept. 2, 2024, 1:52 p.m.

Following is the error for your submission:

evalutils.exceptions.FileLoaderError: Could not load any files in test with <main.VideoLoader object at 0x7f335d1b86d0>.

Below are the detailed error log:

2024-09-02T12:58:15.383000+00:00 /opt/algorithm/model.py:562: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_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. 2024-09-02T12:58:15.383000+00:00 checkpoint = torch.load(pretrain_path, map_location="cpu") 2024-09-02T12:58:17.384000+00:00 Traceback (most recent call last): 2024-09-02T12:58:17.384000+00:00 File "", line 198, in _run_module_as_main 2024-09-02T12:58:17.384000+00:00 File "", line 88, in _run_code 2024-09-02T12:58:17.384000+00:00 File "/opt/algorithm/process.py", line 194, in 2024-09-02T12:58:17.384000+00:00 SurgVU_classify().process() 2024-09-02T12:58:17.384000+00:00 File "/home/algorithm/.local/lib/python3.11/site-packages/evalutils/evalutils.py", line 181, in process 2024-09-02T12:58:17.384000+00:00 self.load() 2024-09-02T12:58:17.384000+00:00 File "/home/algorithm/.local/lib/python3.11/site-packages/evalutils/evalutils.py", line 123, in load 2024-09-02T12:58:17.384000+00:00 self._cases[key] = self._load_cases( 2024-09-02T12:58:17.384000+00:00 ^^^^^^^^^^^^^^^^^ 2024-09-02T12:58:17.384000+00:00 File "/home/algorithm/.local/lib/python3.11/site-packages/evalutils/evalutils.py", line 157, in _load_cases 2024-09-02T12:58:17.384000+00:00 raise FileLoaderError( 2024-09-02T12:58:17.384000+00:00 evalutils.exceptions.FileLoaderError: Could not load any files in test with <main.VideoLoader object at 0x7f335d1b86d0>.