Closed huliyu1203 closed 6 years ago
Yes, you are right in that the custom c++ module for backward warping is currently not used (in favor of the native tensorflow implementation in image_warp.py). It is possible to remove it from compilation in ops.py, but it's not a big deal (as in should not be noticeable) as compilation is done only once upon setup and it should be very fast.
And can you offer me the help ?There is a little problem with me about the complilation of correlation function and i found there is no any python statement to complete the operation of correlation function.Could you give some suggestion?
The correlation function is only possible as a custom op right now (would likely be too slow otherwise). Which error are you getting? Are the other ops compiling?
I have little knowledge about the complilation,so i do not know how to do the complication.But still thank you very much, i have complete the correlation layer with python on the condition that stride_1=1 and stride_2=1.
In your folder,image_warp function has been designed using python and tensorflow . And you still have compiled the c++ files in src/e2eflow/ops.py to compute the gradients of image_warp.I think it is unnecessary because the back propogation will be calculated automatically if you use python statement and the c++ files used in Caffe should not be here anymore. Am i wrong?