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

FlowNet2C training and validation #46

Closed
Queenyy opened this issue Aug 19, 2020 · 2 comments
Closed

FlowNet2C training and validation #46

Queenyy opened this issue Aug 19, 2020 · 2 comments

Comments

@Queenyy
Copy link

Queenyy commented Aug 19, 2020

@ClementPinard Hi, thanks for your great work, I used it when training FlowNet2C. Install is well-done. I use SpatialCorrelationSampler(kernel_size=1, patch_size=21, stride=1, padding=0, dilation=1, dilation_patch=2) to replace the correlation function in the code. But the training loss didn't decrease and the validation EPE is very big. I don't know why, could you please give me some suggestions? Thanks very much.
image

@ClementPinard
Copy link
Owner

Hi, thanks for your interest in this repo.
Can you add some details ? What code do you use exactly ? Do you have a repo name ? I used this repo for FlowNetC in my own FlowNetPytorch repo without problem.

@Queenyy
Copy link
Author

Queenyy commented Aug 20, 2020

@ClementPinard Thanks for your quick reply. I use the NVIDIA/flownet2-pytorchhttps://github.com/NVIDIA/flownet2-pytorch repo. When i use its own correlation function to train FlowNet2C, the loss is bumping, but train FlowNet2S can get a right result. So I guess the bad result on FlowNet2C is because of correlation layer, thus i used your work to replace the original function. It seems that the loss is still bumping.
I use cuda 10.0, pytorch 1.2, gcc 4.4.7. is there some problems here?
Do you have other trick to train FlowNet2C?
Extremely Grateful.

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