-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV function remap in Tensorflow #34
Comments
Hi jackieyung, No, but I don't think the remap function would be difficult to implement in TF. Are you by any chance trying to implement techniques from this paper? Cam |
Hi, cysmith, Yes, I want to implement the stable fast style transfer from this paper. But sadly I found it used warp method, it need to backpropagation. Tensorflow doesn't have the warp function. But I have another question. I have reviewed your video processing code.You just used the 'remap' function to warp current frame to last frame. then used it to calculate loss.The loss also need to backpropagation.My question is when the gradient backpropagating,did it really through the OpenCV 'remap' function? @cysmith I am looking forward for your reply. Thanks very much. |
Hi jackieyung, No, 'remap' is used in pre-processing to warp the previous stylized frame to the current frame. 'remap' is not used to calculate the loss. Cam |
OK,Thanks. |
Hi, @cysmith
I found you used the OpenCV function 'remap' to warp the current frame to the last frame. I just want to use the Tensorflow function for backpropagation. Do you know whether it have the similar function in Tensorflow or not?
Thank you very much.
The text was updated successfully, but these errors were encountered: