You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my own dataset which I want to retrain using the provided pretrianed model. I set the path of pretrained model downloaded from the Reame.md but I am getitng this error -
[LINE:118] INFO [2023-09-26 11:31:35,803] Database for no_gesture not found [LINE:118] INFO [2023-09-26 11:31:35,958] Database for no_gesture not found [LINE:83] INFO [2023-09-26 11:31:35,966] Current device: cpu Traceback (most recent call last): File "/home/hitech/anaconda3/envs/gestures/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/hitech/anaconda3/envs/gestures/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/hitech/Programming/hagrid/detector/run.py", line 104, in <module> _run_train(args.path_to_config) File "/home/hitech/Programming/hagrid/detector/run.py", line 84, in _run_train TrainDetector.train(model, conf, train_dataset, test_dataset) File "/home/hitech/Programming/hagrid/detector/train.py", line 125, in train params = [p for p in model.parameters() if p.requires_grad] AttributeError: 'NoneType' object has no attribute 'parameters'
The text was updated successfully, but these errors were encountered:
Are you sure that you downloaded the annotation file for "no_gesture" class?
It seems that either you forgot it, or there is something wrong with the data paths in your configs
I have my own dataset which I want to retrain using the provided pretrianed model. I set the path of pretrained model downloaded from the Reame.md but I am getitng this error -
[LINE:118] INFO [2023-09-26 11:31:35,803] Database for no_gesture not found [LINE:118] INFO [2023-09-26 11:31:35,958] Database for no_gesture not found [LINE:83] INFO [2023-09-26 11:31:35,966] Current device: cpu Traceback (most recent call last): File "/home/hitech/anaconda3/envs/gestures/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/hitech/anaconda3/envs/gestures/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/hitech/Programming/hagrid/detector/run.py", line 104, in <module> _run_train(args.path_to_config) File "/home/hitech/Programming/hagrid/detector/run.py", line 84, in _run_train TrainDetector.train(model, conf, train_dataset, test_dataset) File "/home/hitech/Programming/hagrid/detector/train.py", line 125, in train params = [p for p in model.parameters() if p.requires_grad] AttributeError: 'NoneType' object has no attribute 'parameters'
The text was updated successfully, but these errors were encountered: