Closed theRain0450 closed 2 months ago
@hzxie
I don't think I included the code and pretrained model for FlowNet2 in this repository. You should submit an issue in the FlowNet2 repository.
I don't think I included the code and pretrained model for FlowNet2 in this repository. You should submit an issue in the FlowNet2 repository.
No, I think you may have misunderstood me. I mean, I have tried to download the pre-training weights you provided, but this weight doesn't work on the Flownet2CSS mod, he can only run it on Flownet2, and I tried to run
python main.py --inference --model FlowNet2 \
--resume /home/dyq/PythonProject/flownet2-pytorch-master/saves/FlowNet2_checkpoint.pth.tar \
That's correct, but this --model FlowNet2
doesn't look like it uses Flownet2CSS
, and when I switch to the --model FlowNet2CSS
program it reports an error that the weights don't match. I think maybe the weights you provided are for the FlowNet2
model and not the FlowNet2CSS
model?
There is no script named main.py
. The pretrained weights is not provided by me but NVIDIA.
In this script. There is no script named
main.py
. The pretrained weights is not provided by me but NVIDIA.
Thank you very much for your answer!
This main.py
script comes with Flownet2
and I want to run this script to generate flo optical flow files.
Now my aim is to generate DAVIS
photostream files to be stored in the OpticalFlows
folder.
If the weights are not provided by you, can I do it this way: use the Flownet2CSS
weights provided by the Flownet
code to generate DAVIS
optical flow files?
But I'm still confused, it's only logical that the weights file you provided should be correct
You can do that.
- At the released time, I confirmed that the given link in the README is correct. Maybe the authors of FlowNet2 changed the code.
Thank you very much for replying to my query in your busy schedule, now I completely understand!
Hello, first of all, thank you very much for your excellent work content. However, I am having some weight mismatch issues when trying to generate optical flow files using the Flownet2CSS pre-trained weights you provided, the error is reported as follows:
Personally, I think this is because the weights are not the model weights of Flownet2CSS, because after I changed the model to Flownet2, the program ran smoothly to generate the optical flow file. Also in the weights you provided, the name of the weight is written as FlowNet2 instead of FlowNet2CSS I am confused about this, are you providing the wrong weights? Or I didn't find the right way to use it?
Lastly, I wish you the best of luck with your work and look forward to hearing from you!