Closed kaidic closed 6 years ago
Testing of Caffe models should not have a problem in different environments. The error you have seen mostly happens when the input size is not 224x224, for example, where you happened to put in a 200x224 input. So I would suggest you check your entire network construction log and see what is your network's input size.
Thanks a lot for your reply. I found out where the problem is. In function predict_single_flow_stack()
I set over_sample=False
each frame is not cropped and the input_size is 256340 in this case. I thought it was right initially but now I understand that it should be 244244 instead.
However I have another question here, I noticed that for inception_v3 model input size is 299*299, how did you do preprocessing for inception_v3 model. Thanks.
You can specify input size to the predict functions.
Though the bn-inception rgb model works fine, I find the forward path broke when testing bn-inception flow model using the caffe built in docker.
The message goes as follows,
Could you give me any hint on how to fix this broken problem. Thanks.