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

AttributeError: 'Config' object has no attribute 'output_eval_dir' #5

Open
innopeak-zhangsihao-yang opened this issue Jun 13, 2023 · 0 comments

Comments

@innopeak-zhangsihao-yang
Copy link

innopeak-zhangsihao-yang commented Jun 13, 2023

After training the model, I want to evaluate the model with command python eval.py. I receive the error above.
The full output is:

>>> Using GPU: 0
========== Loading data... ========== 
Reading images and annotations...
Collecting input batch...
========== Preparing LASSIE model... ========== 
Using cache found in /home/sxxxxxx/.cache/torch/hub/facebookresearch_dino_main
========== Keypoint transfer evaluation... ========== 
PCK=0.8331
Traceback (most recent call last):
  File "/workspace_projects/projects/articulated_shapes/lassie/main/eval.py", line 90, in <module>
    eval_model()
  File "/workspace_projects/projects/articulated_shapes/lassie/main/eval.py", line 72, in eval_model
    with open(osp.join(cfg.output_eval_dir, '%s.txt'%cfg.animal_class) ,'w') as f:
AttributeError: 'Config' object has no attribute 'output_eval_dir'
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