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

TypeError: __init__() got an unexpected keyword argument 'bone' #37

Open
muskanasmath opened this issue Sep 28, 2023 · 0 comments
Open

Comments

@muskanasmath
Copy link

muskanasmath commented Sep 28, 2023

Hi, I'm a university Student. This repo has really helped me understand how to implement GCN for skeleton based action recognition using smaller dataset for my limited resources. After training for UCLA dataset using below command and adding "bone motion in data path in config:

   python main.py --config config/ucla/default.yaml --work-dir work_dir/ucla/ctrgcn_xxx --device 0

I used the below command for testing but got error that I'm unable to debug:

    python main.py --config work_dir/ucla/ctrgcn_xxx/config.yaml --work-dir work_dir/ucla/ctrgcn_xxx --phase test --save-score True --weights work_dir/ucla/ctrgcn_xxx/runs-54-17172.pt  --device 0

Kindly please help me understand and resolve the issue. Below is the complete error:

[ ] Load weights from work_dir/ucla/ctrgcn_xxx/runs-54-17172.pt.
[ ] using warm up, epoch: 5
Traceback (most recent call last):
File "main.py", line 576, in
processor = Processor(arg)
File "main.py", line 237, in init
self.load_data()
File "main.py", line 263, in load_data
dataset=Feeder(**self.arg.test_feeder_args),
TypeError: init() got an unexpected keyword argument 'bone'

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