dxli94 / WLASL

WACV 2020 "Word-level Deep Sign Language Recognition from Video: A New Large-scale Dataset and Methods Comparison"
https://dxli94.github.io/WLASL/
838 stars 111 forks source link

Test model not working due to config file #24

Closed Enigma-I-am closed 3 years ago

Enigma-I-am commented 3 years ago

I tried testing the pre-trained models downloaded from drive after installing all python tools and I keep getting this error


  File "test_tgcn.py", line 101, in <module>
    configs = Config(config_file)
  File "/Users/mac/pythonstuff/WLASL-master/code/TGCN/configs.py", line 10, in __init__
    train_config = config['TRAIN']
  File "/usr/local/anaconda3/lib/python3.8/configparser.py", line 960, in __getitem__
    raise KeyError(key)
KeyError: 'TRAIN'```

I don't think this is a major issue but I am very new to this field and I can't seem to understand what wrong. Please help 
Enigma-I-am commented 3 years ago

I found what the problem was.

dahburj commented 2 years ago

May I ask what it was you did to solve it? Was getting the same error & almost felt like I made some progress until I came across this: FileNotFoundError: [Errno 2] No such file or directory: 'code/Pose-GCN/posegcn/features/69092' & I can't seem to wrap my head around what I'm missing.

dxli94 commented 2 years ago

May I ask what it was you did to solve it? Was getting the same error & almost felt like I made some progress until I came across this: FileNotFoundError: [Errno 2] No such file or directory: 'code/Pose-GCN/posegcn/features/69092' & I can't seem to wrap my head around what I'm missing.

Have you properly downloaded and placed the 2d poses into the specified path?

dahburj commented 2 years ago

Yes, if I understood the instructions correctly; my root folder is SIgnDet and within that folder is the WLASL(git clone master branch as WLASL) and within that folder I have the following directories: data, code, start_kit, & then within the data directory I have the following directories: pose_per_individual_videos, splits, WLASL2000. Within WLASL/code/TGCN(I3D) I also have the archived files the README mentioned to download.

Please forgive the late response & thanks for the help!