-
Notifications
You must be signed in to change notification settings - Fork 316
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
problem about training #74
Comments
Hi, Nikolaus |
OK,I mean that I want to train this using my dataset,and i found that yours training data has flow files and there are .pfm files in flow files. I want to know which method you use or if i can use any flow method to create this files. |
.pfm is a standard format, although hardly any applications seems to support it (http://netpbm.sourceforge.net/doc/pfm.html). You can use any method you want to create these files. I recommend the CImg library (http://cimg.eu/) which has native .pfm support. Our flow files are three-layer .pfm files. The first layer contains x flow, the second layer contains y flow. The third layer is ignored (we fill it with zeroes). |
so can we use .flo files to train models ,or must .pfm files? |
If you use our conversion script to create the training databases, it does not matter. The script will handle both .pfm and .flo files. |
OK, I use a method create these files.But a new issue produced. I could not use make-lmdbs.sh. |
Did you run |
yes, I run make -j 5 all tools pycaffe , and I run again ,now show that nothing to do |
Hm, at least the executable exists then. Perhaps the permissions are wrong? If you |
output is -rw------- 1 |
ok,I can use it. |
Ok, |
OK,thanks. I make lmdb successfullly. |
ok,I found that the net_train.prototxt.template of FlowNet2 and FlowNet2-c are different.In the FlowNet2-c, the net_train.prototxt.template do not have crop_params layer and bottom named img0_a_org.When I train my data using FlowNet2-c,the error like this : Check failed: mdb_cursor_get(mdb_cursor_, &mdb_key_, &mdb_value_, MDB_FIRST) == 0 (-30798 vs. 0) mdb_cursor_get failed |
I saw the #12 . He said he used train.prototxt.template to run FlowNet2 , and it is false. But I used used train.prototxt.template to train FlowNet2 . |
Is the About #12: Yes, but it's the same issue. We used a dataset mix in the final stages of FlowNet2 training, but the release code does not include this functionality. |
OK,i had solve the problem .but when I try training net then ,error like this : Check failed: top_shape[j] == bottom[i]->shape(j) (20 vs. 40) All inputs must have the same shape, except at concat_axis. |
OK i can training it |
hello, when I use runflownet.py , i can get a .flo file but there are some error : IOError: [Errno 2] No such file or directory: 'predict_flow_final'.is this file missing? I can not find it, |
Can you post the command that produces this error? |
commod:python run-flownet.py /opt/flownet2/models/FlowNet2-c/flow_iter_500000.caffemodel |
Your |
I download my flownet from github,you can see https://github.com/lmb-freiburg/flownet2/blob/master/scripts/run-flownet.py ,line 100 |
Yes, |
thanks, I update my code ,and succeed |
@wangzhenglai How did you solve |
i am having the same issue ... how to fix? |
Hi,if I want to train flownet2 using my data sets, which should I prepare for? I do not know how to create .pfm files。
The text was updated successfully, but these errors were encountered: