qiexing / face-landmark-localization

cnn network predict face landmarks (68 points) and head pose (3d pose, yaw,roll,pitch).
410 stars 184 forks source link

直接运行.py报了这个错 #28

Open yewang0320 opened 7 years ago

yewang0320 commented 7 years ago

Traceback (most recent call last): File "landmarkPredict.py", line 239, in func(*sys.argv[2:]) File "landmarkPredict.py", line 218, in predictImage vgg_point_net.set_input_arrays(faces.astype(np.float32),data4DL.astype(np.float32)) TypeError: _Net_set_input_arrays() takes exactly 4 arguments (3 given)

qiexing commented 7 years ago

@yewang0320 Hi, It's ok on my computer, do you modify the deploy.prototxt ?

yewang0320 commented 7 years ago

It's my caffe version, it has a different set_input_arrays function defined in pycaffe.py