Open ChouCHou-y opened 3 years ago
Hello. There could name an error in the filename because it contains the symbol "
. Try to replace/delete it.
Hello. There could name an error in the filename because it contains the symbol
"
. Try to replace/delete it.
sorry!it contains the symbol "
like this file,but i don't think the error is here ,it will lead to more errror after delete it . I cant't find the error where from is ,so sad.
Hello. There could name an error in the filename because it contains the symbol
"
. Try to replace/delete it.sorry!it contains the symbol
"
like this file,but i don't think the error is here ,it will lead to more errror after delete it . I cant't find the error where from is ,so sad.
Try renaming those folders and files that starts with -. as it is frequently used as option tags for linux commands (e.g. ls -al). Replacing it with another character should work. Remember to change your annotation file accordingly.
I have the same problem, my filename is '1',may I ask how you resolved it? error: boxes_and_labels[self._video_idx_to_name[i]] KeyError: '1'
@ChouCHou-y
i have the same problem,how to solve it?
Do not use office software to process any CSV format files. Use text editors instead. If you are on a Windows system, open the files with Notepad. If you are on an Ubuntu system, use vim to open the files. Because Excel or the office software that comes with Ubuntu can cause the CSV file to become garbled.
when i train the model,it will pesents this issue. [09/17 06:46:34][INFO] ava_helper.py: 110: Number of unique boxes: 2204 [09/17 06:46:34][INFO] ava_helper.py: 111: Number of annotations: 7089 Traceback (most recent call last): File "tools/run_net.py", line 44, in
main()
File "tools/run_net.py", line 25, in main
launch_job(cfg=cfg, init_method=args.init_method, func=train)
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/utils/misc.py", line 311, in launch_job
func(cfg=cfg)
File "/home/yanzhouquan/code/slowfast/SlowFast/tools/train_net.py", line 429, in train
train_loader = loader.construct_loader(cfg, "train")
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/datasets/loader.py", line 109, in construct_loader
dataset = build_dataset(dataset_name, cfg, split)
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/datasets/build.py", line 31, in build_dataset
return DATASET_REGISTRY.get(name)(cfg, split)
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/datasets/ava_dataset.py", line 47, in init
self._load_data(cfg)
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/datasets/ava_dataset.py", line 69, in _load_data
boxes_and_labels = [
File "/home/yanzhouquan/code/slowfast/SlowFast/slowfast/datasets/ava_dataset.py", line 70, in
boxes_and_labels[self._video_idx_to_name[i]]
KeyError: '"-5KQ66BBWC4'