-
Notifications
You must be signed in to change notification settings - Fork 91
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
Pre-training the flow estimation network #10
Comments
I think there should be no problem with batchsize 16 and learning rate 0.0001 setup. |
@anchen1011 ,thank you for your reply. Images are normalized between 0 and 1 |
Loss drops when training only on one batch but trains losss up and down on the entire data set. |
It seems like you are implementing the pertaining pipeline with TF, which could introduce many issues that are unknown to me. I think in general to figure out the reason why it doesn't converge, you need to:
I would be happy to help if you attach these images so that I can take a look. Also, your preprocessing of images is quiet different from ours. We use |
@anchen1011 ,Hi, sorry for the late reply. I visiualize a few groups of the images in 1.Which way do you choose for training? end2end training or step by step ? |
I think your network is learning something, which means the input/output format are good. However, the network structure seems problematic. Each subnet should output a optical flow, which you need to both resize and double the magnitude. For your 3 questions:
|
Hi,@anchen1011 . Actually, I resize and double each subnet's output flow at the same time : |
Hi, @anchen1011 . I pre-trained the flownet on the Sintel dataset but that does not converge . The batchsize is 16 and learning rate is 0.0001, the loss is defined by calculating the l1 difference between the last sub-net's output and the ground truth. Can you share the details about pre-training the flownet?
The text was updated successfully, but these errors were encountered: