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

UnboundLocalError: local variable 'ckpt_path' referenced before assignment #11

Open
vinaybmore opened this issue Nov 6, 2020 · 1 comment

Comments

@vinaybmore
Copy link

I am facing this issue while generating Alexnet features .

to reproduce

python make_feature_maps.py \ --data_dir=data/training \ --model_dir=pretrained_models/model_for_inference
The traceback is here
Traceback (most recent call last): File "make_feature_maps.py", line 186, in <module> main(argv=sys.argv) File "make_feature_maps.py", line 163, in main checkpoint_path=ckpt_path) UnboundLocalError: local variable 'ckpt_path' referenced before assignment

@YCBjust
Copy link

YCBjust commented Sep 27, 2022

Have you solved this problem?

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

2 participants