driver_attention_prediction icon indicating copy to clipboard operation
driver_attention_prediction copied to clipboard

UnboundLocalError: local variable 'ckpt_path' referenced before assignment

Open vinaybmore opened this issue 5 years ago • 1 comments

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

vinaybmore avatar Nov 06 '20 04:11 vinaybmore

Have you solved this problem?

YCBjust avatar Sep 27 '22 11:09 YCBjust