You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/venv/lib/python3.11/site-packages/torch/multiprocessing/spawn.py", line 75, in _wrap
fn(i, *args)
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/utils/multiprocessing.py", line 60, in run
ret = func(cfg)
^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/tools/test_net.py", line 207, in test
test_loader = loader.construct_loader(cfg, "test")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/loader.py", line 115, in construct_loader
dataset = build_dataset(dataset_name, cfg, split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/build.py", line 31, in build_dataset
return DATASET_REGISTRY.get(name)(cfg, split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_dataset.py", line 50, in init
self._load_data(cfg)
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_dataset.py", line 66, in _load_data
boxes_and_labels = ava_helper.load_boxes_and_labels(cfg, mode=self._split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_helper.py", line 94, in load_boxes_and_labels
all_boxes, count, unique_box_count = parse_bboxes_file(
^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_helper.py", line 209, in parse_bboxes_file
if box_key not in all_boxes[video_name][frame_sec]:
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 8
The text was updated successfully, but these errors were encountered:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/venv/lib/python3.11/site-packages/torch/multiprocessing/spawn.py", line 75, in _wrap
fn(i, *args)
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/utils/multiprocessing.py", line 60, in run
ret = func(cfg)
^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/tools/test_net.py", line 207, in test
test_loader = loader.construct_loader(cfg, "test")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/loader.py", line 115, in construct_loader
dataset = build_dataset(dataset_name, cfg, split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/build.py", line 31, in build_dataset
return DATASET_REGISTRY.get(name)(cfg, split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_dataset.py", line 50, in init
self._load_data(cfg)
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_dataset.py", line 66, in _load_data
boxes_and_labels = ava_helper.load_boxes_and_labels(cfg, mode=self._split)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_helper.py", line 94, in load_boxes_and_labels
all_boxes, count, unique_box_count = parse_bboxes_file(
^^^^^^^^^^^^^^^^^^
File "/2008116098/MaoRui/pig_behavior_recognition/GuoYuSen/pyslowfast/slowfast/datasets/ava_helper.py", line 209, in parse_bboxes_file
if box_key not in all_boxes[video_name][frame_sec]:
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 8
The text was updated successfully, but these errors were encountered: