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

ValueError: invalid literal for int() with base 10: 'spaghetti,--3ouPhoy2A,20,30,train' #750

Open
pepper725 opened this issue Jan 13, 2025 · 1 comment

Comments

@pepper725
Copy link

how to solve this problem?
File "/mnt/data1/SlowFast/slowfast/datasets/kinetics.py", line 143, in _construct_loader
self._labels.append(int(label))
ValueError: invalid literal for int() with base 10: 'spaghetti,--3ouPhoy2A,20,30,train'

@pepper725
Copy link
Author

how to solve this problem? File "/mnt/data1/SlowFast/slowfast/datasets/kinetics.py", line 143, in _construct_loader self._labels.append(int(label)) ValueError: invalid literal for int() with base 10: 'spaghetti,--3ouPhoy2A,20,30,train'

Traceback (most recent call last):
File "/mnt/data1/hja/SlowFast/tools/run_net.py", line 51, in
main()
File "/mnt/data1/hja/SlowFast/tools/run_net.py", line 27, in main
launch_job(cfg=cfg, init_method=args.init_method, func=train)
File "/mnt/data1/hja/SlowFast/slowfast/utils/misc.py", line 420, in launch_job
func(cfg=cfg)
File "/mnt/data1/hja/SlowFast/tools/train_net.py", line 590, in train
train_loader = loader.construct_loader(cfg, "train")
File "/mnt/data1/hja/SlowFast/slowfast/datasets/loader.py", line 115, in construct_loader
dataset = build_dataset(dataset_name, cfg, split)
File "/mnt/data1/hja/SlowFast/slowfast/datasets/build.py", line 31, in build_dataset
return DATASET_REGISTRY.get(name)(cfg, split)
File "/mnt/data1/hja/SlowFast/slowfast/datasets/ava_dataset.py", line 50, in init
self._load_data(cfg)
File "/mnt/data1/hja/SlowFast/slowfast/datasets/ava_dataset.py", line 66, in _load_data
boxes_and_labels = ava_helper.load_boxes_and_labels(cfg, mode=self._split)
File "/mnt/data1/hja/SlowFast/slowfast/datasets/ava_helper.py", line 93, in load_boxes_and_labels
all_boxes, count, unique_box_count = parse_bboxes_file(
File "/mnt/data1/hja/SlowFast/slowfast/datasets/ava_helper.py", line 194, in parse_bboxes_file
video_name, frame_sec = row[0], int(row[1])
ValueError: invalid literal for int() with base 10: '-5KQ66BBWC4'

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