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

Question about magnitude in FLOWDCN #14

Open
K1NSA opened this issue May 27, 2023 · 5 comments
Open

Question about magnitude in FLOWDCN #14

K1NSA opened this issue May 27, 2023 · 5 comments

Comments

@K1NSA
Copy link

K1NSA commented May 27, 2023

Dear author, I see you set the value of offset in 10*tanh(offset), what the difference between original offset and [-10,10] offset?

It seems that the magnitude is a super parameter, did you try other value? e.g. 15,20

@Algolzw
Copy link
Owner

Algolzw commented May 29, 2023

Hi, the scale is just an empirical value, and you can change it according to your input image sizes.

@K1NSA
Copy link
Author

K1NSA commented May 30, 2023

Thanks a lot, and I train my work with/without pretrained Spynet weight. But weirdly, the un pretrained is better than the pretrained. Does this mean my data is not suitable with pretrained model?

@Algolzw
Copy link
Owner

Algolzw commented May 30, 2023

Yes! It happens in many RAW image datasets because SpyNet is only trained on RGB images.

@K1NSA
Copy link
Author

K1NSA commented Jun 4, 2023

Thanks for your answering, I still wonder, as training size [256,256] and test size[1050,1900]. Does the tanh(offset)*10 works for both of them?

@Algolzw
Copy link
Owner

Algolzw commented Jun 4, 2023

It depends on your frames' shifts (large or small). In my experience, you could fine-tune only the DCN part to fit the real shifts using a large patch size (such as 512 or 768).

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