Closed WANGYuSCU closed 6 years ago
Hi, the FlowNet2 does not work with CPU_ONLY. You have to enable GPU support to compile and use our codebase. This is because we do not have CPU code for some of our custom layers.
Thanks a lot. By the way, Is GTX-980 enough then? If it is not enought, I will give up. Or I will run them in my desktop. Thank again.
Yes, a GTX 980 can run all our networks. If compilation causes more problems, you can also check out our FlowNet2 Docker image: https://github.com/lmb-freiburg/flownet2-docker It's the same code, but you only have to install docker and nvidia-docker manually.
The proposed change should be in the deploy.prototxt
file of the network you are running. Look for "engine: cudnn" lines.
I've never seen that error myself. Maybe it's caused by another Cuda or CuDNN installation?
Thanks I find it in the last. Still new problem comes, I am a beginner of Ubuntu. I really brought you so much trouble.
So what is your cuda and cudnn version. I am using cuda8.0 and cudnn5.1. Enen I changed the engine to caffe. Problem "Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file" shows. TAT
Hm.. are you perhaps in a wrong directory? Or do you have multiple version of Protobuf installed which might interfere which each other?
Thank you. I have succeed in running your code. I didn't check the result yet. But indeed there is a .flo file generated. I found many of the problem is because of makefile.config, cuda and cudnn installation. It is really painful to know which one to set. I have referenced many documents and found it out finally.
I have one more question. After the generation of the .flo file. I find with readflow function provided in your code is not working in windows. But on my macbook, I can read the optical flow data successfully. I wonder is that the .flo file better been processed in ubuntu?
Yes, I know... the system setup is a pain.
The .flo problem might be something about the line endings in the file; they are by convention different in windows and linux. I don't use macOS but I would guess it follows the linux format.
Really thanks a lot for your help.
Inside the directory, under ubuntu I have done these steps.
This compiling process will aways fail. I am the first time to use ubuntu and make. Could some one give me advice on how to run it on my computer? Thanks.