-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Thank you for your excellent work.
I want to test the performance of the model on K400 using SlowFast, and I have set up the environment and dataset according to the requirements of install.md and dataset.md. The generated test.csv file is as shown below.

I used this command, but got this error. I can't understand, maybe someone has encountered the same error?
(slowfast) pana-tat@panatat-4CXE:~/work/video_classification/SlowFast$ python tools/run_net.py --cfg /home/pana-tat/work/video_classification/SlowFast/configs/Kinetics/SLOWFAST_8x8_R50.yaml DATA.PATH_TO_DATA_DIR '/home/pana-tat/work/video_classification/SlowFast/test.csv' TEST.CHECKPOINT_FILE_PATH '/home/pana-tat/work/video_classification/PySlowFast_Model_Zoo/SLOWFAST_8x8_R50.pkl'
...
[05/09 00:35:49][INFO] checkpoint.py: 701: Unknown way of loading checkpoint. Using with random initialization, only for debugging.
[05/09 00:35:49][INFO] kinetics.py: 93: Constructing Kinetics test...
Traceback (most recent call last):
File "/home/pana-tat/work/video_classification/SlowFast/tools/run_net.py", line 52, in <module>
main()
File "/home/pana-tat/work/video_classification/SlowFast/tools/run_net.py", line 37, in main
launch_job(cfg=cfg, init_method=args.init_method, func=test)
File "/home/pana-tat/work/video_classification/SlowFast/slowfast/utils/misc.py", line 430, in launch_job
func(cfg=cfg)
File "/home/pana-tat/work/video_classification/SlowFast/tools/test_net.py", line 218, in test
test_loader = loader.construct_loader(cfg, "test")
File "/home/pana-tat/work/video_classification/SlowFast/slowfast/datasets/loader.py", line 114, in construct_loader
dataset = build_dataset(dataset_name, cfg, split)
File "/home/pana-tat/work/video_classification/SlowFast/slowfast/datasets/build.py", line 31, in build_dataset
return DATASET_REGISTRY.get(name)(cfg, split)
File "/home/pana-tat/work/video_classification/SlowFast/slowfast/datasets/kinetics.py", line 94, in __init__
self._construct_loader()
File "/home/pana-tat/work/video_classification/SlowFast/slowfast/datasets/kinetics.py", line 150, in _construct_loader
self._labels.append(int(label))
ValueError: invalid literal for int() with base 10: 'drumming'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels