mobilenetv3-yolov3 icon indicating copy to clipboard operation
mobilenetv3-yolov3 copied to clipboard

test

Open MichaelCong opened this issue 5 years ago • 9 comments

Hello, thank you very much for your work. After training according to your method, the result of detection is very poor, the speed is only 10 fps. Yolov3 is much better than that. What's the reason?

MichaelCong avatar Aug 18 '19 06:08 MichaelCong

Hi ,which device did you test on ? the speed varies in different device. But it's at least 3x faster than darknet according to my test.

tanluren avatar Aug 18 '19 14:08 tanluren

My computer is configured as follows: I think it is because the GPU is not used up and it runs very slowly (CPU processing time). Cpu: intel® CoreTM i7-6950X CPU @ 3.00GHz × 20 GPU: GeForce GTX 1080 Ti/PCIe/SSE2 x4

MichaelCong avatar Aug 18 '19 14:08 MichaelCong

Did you install tensorflow-gpu?

tanluren avatar Aug 18 '19 14:08 tanluren

I installed‘’pip install tensorflow-gpu‘’,But, I don't know why I can't use the GPU for training and testing. Thank you very much, can you help me?

MichaelCong avatar Aug 18 '19 14:08 MichaelCong

Could you train tensorflow model with GPU?

tanluren avatar Aug 18 '19 15:08 tanluren

NO, I don't know why I can't use the GPU for training and testing. Thank you very much。Is the problem of training code or the problem of my software installation?

MichaelCong avatar Aug 18 '19 15:08 MichaelCong

did you install cuda and cudnn correctly? did you install both tensorflow and tensorflow-gpu which lead to wrong default backend? could you run any other GPU code? keras will run on single gpu automatically if your installation is right ,if you want to use multi gpu you need to call multi_gpu_model api explicitly .In addition ,the model cant reach 10 fps on cpu. this model is very slow on first time inference due to session initializing, but it will be then fast if you keep the session live.

tanluren avatar Aug 18 '19 15:08 tanluren

Hello, I installed CUDA and cudnn correctly, and I can use pytorch framework to train correctly with multiple GPUs. When I first used TensorFlow, I couldn't use GPU. Maybe I installed TensorFlow and TensorFlow-GPU, which caused conflicts. I'm trying to adjust it. Thank you very much.

MichaelCong avatar Aug 18 '19 15:08 MichaelCong

Input_size=416 . So the mobilenet model may be larger than in the paper.

Hello, thank you very much for your work. After training according to your method, the result of detection is very poor, the speed is only 10 fps. Yolov3 is much better than that. What's the reason?

zihaozhang9 avatar Nov 18 '19 05:11 zihaozhang9