mitmul / deeppose

DeepPose implementation in Chainer
http://static.googleusercontent.com/media/research.google.com/ja//pubs/archive/42237.pdf
GNU General Public License v2.0
408 stars 129 forks source link

Unresolved references in evaluate_flic.py #28

Open uzpei opened 8 years ago

uzpei commented 8 years ago

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

StandWisdom commented 7 years ago

@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.