Skip to content

FeatureExtractor unfound weights #165

@DN3-DN3

Description

@DN3-DN3

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions