Open 406baoqichao406 opened 7 years ago
Install caffe, and the command should be in py file should be "./build/tools/caffe train ...” in the caffe's root dir.
You meant to put the deep landmark folder in "./build/tools/caffe train ..." and enter this command in the "./build/tools/caffe train" folder, right?
I have compiled caffe, caffe environment variables have been on the computer, py file path has been changed over. Do py files have caffe related to the path?
Have you solved this problem? Please tell me the solution.Thanks!
I know how to solve it! Just change some codes in train/level.py. Replace "cmd = 'caffe train --solver prototxt/{0}_{1}solver.prototxt'.format(level, t)" with "cmd = '~/caffe/build/tools/caffe train --solver prototxt/{0}{1}solver.prototxt'.format(level, t)". And do the similar change to code "cmds.append('caffe train --solver prototxt/{0}{1}_solver.prototxt'.format(level, t))"
When I train the model, which is entered. / Bootstrap.sh always show sh: 1: caffe not found, what is the problem? How to deal with it?