I replaced a new test_image but the result is still 8? Does it really work?
BenjaminLiCN opened this issue · comments
Benjamin Jingyi Li commented
Benjamin Jingyi Li commented
Think I'll reclone this again and test if this is because I modified one of those files.
--update
It didn't work. I modified tools/prototxt2bin.py, could it be the problem?
#line 8
sys.path.append(path.abspath("../build_iPhoneOS/include/caffe/proto/"))
#line 27
with open(basename + '.protobin', 'wb+') as f:
Wenbo Yang commented
@BenjaminLiCN In ViewController.mm , you will find 2 lines of :
NSString *test_file_path = FilePathForResourceName(@"test_image", @"jpg");
One for view, one for predict.