Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I #713

Open
gysennn opened this issue Jul 10, 2024 · 0 comments
Open

I #713

gysennn opened this issue Jul 10, 2024 · 0 comments

Comments

@gysennn
Copy link

gysennn commented Jul 10, 2024

-- 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant