Skip to content
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

v4_18_0703 loss #92

Open
yeluohuazhifou opened this issue Aug 27, 2024 · 3 comments
Open

v4_18_0703 loss #92

yeluohuazhifou opened this issue Aug 27, 2024 · 3 comments

Comments

@yeluohuazhifou
Copy link

你好,v4_18_0703里面有一个loss_smooth = self.sobel(flow[3], flow[3]*0).mean(),为什么是这样写呢,这样flow的真值是设为0?

@hzwer
Copy link
Owner

hzwer commented Aug 27, 2024

因为我偷懒
就是计算了一下图像梯度,和 0 算差值 loss

@yeluohuazhifou
Copy link
Author

因为我偷懒 就是计算了一下图像梯度,和 0 算差值 loss

噢噢,去掉了感觉对效果影响不大

@hzwer
Copy link
Owner

hzwer commented Aug 27, 2024

主要为了修以前一些栅栏类重复 pattern 光流乱掉的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants