deeppose icon indicating copy to clipboard operation
deeppose copied to clipboard

Unresolved references in evaluate_flic.py

Open uzpei opened this issue 9 years ago • 1 comments

I successfully managed to train the FLIC dataset over a few epocs but I was not able to evaluate the results due to unresolved references in evaluate_flic.py. Here are the problematic lines:

L73: img, joints = resize(img, joints, size) NameError: name 'size' is not defined

L270: log_fn = grep.grep('{}/log.txt'.format(result_dir))[0] NameError: name 'grep' is not defined

L167: input_data, labels = load_data(trans, args, lines) NameError: global name 'trans' is not defined

uzpei avatar Aug 03 '16 15:08 uzpei

@uzpei
Hi. Did you solve your problems. ? I also get the problems about L167: input_data, labels = load_data(trans, args, lines),NameError: global name 'trans' is not defined. If you solve this problem, I really want your help!

tip: L270 problems, I use my own path like " log_fn = "/home/shaolizhi/deeppose-master/results/AlexNetdeeppose1/log.txt" " It can work.

StandWisdom avatar Mar 24 '17 07:03 StandWisdom