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

FeatureExtractor unfound weights #165

Open
DN3-DN3 opened this issue Jul 11, 2024 · 0 comments
Open

FeatureExtractor unfound weights #165

DN3-DN3 opened this issue Jul 11, 2024 · 0 comments

Comments

@DN3-DN3
Copy link

DN3-DN3 commented Jul 11, 2024

Hi,

We have the following error when using the Infer of the FeatureExtractor:

[2024-07-11 09:59:01,794] INFO [deepethogram.projects.get_weightfile_from_cfg:1079] loading specified weights: C:\Users\admindn3\Documents\Test2_deepethogram\models\pretrained_models\200415_125824_hidden_two_stream_kinetics_degf\checkpoint.pt
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\envs\deg\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\anaconda3\envs\deg\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\ProgramData\anaconda3\envs\deg\lib\site-packages\deepethogram\feature_extractor\inference.py", line 586, in
feature_extractor_inference(cfg)
File "C:\ProgramData\anaconda3\envs\deg\lib\site-packages\deepethogram\feature_extractor\inference.py", line 523, in feature_extractor_inference
run_files = utils.get_run_files_from_weights(feature_extractor_weights)
File "C:\ProgramData\anaconda3\envs\deg\lib\site-packages\deepethogram\utils.py", line 846, in get_run_files_from_weights
assert os.path.isfile(loaded_config_file), 'no associated config file for weights! {}'.format(weightfile)
AssertionError: no associated config file for weights! C:\Users\admindn3\Documents\Test2_deepethogram\models\pretrained_models\200415_125824_hidden_two_stream_kinetics_degf\checkpoint.pt

Best,

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