yolo-tf icon indicating copy to clipboard operation
yolo-tf copied to clipboard

how to run train.py using GPU not CPU

Open wuxifang1994 opened this issue 6 years ago • 2 comments

Hi,everyone! When I run train.py, it always using the CPU to speed up ,but the training speed is so slow that I have to spend several days to train the model and then check the result . I also use "CUDA_VISIBLE_DEVICES="0" python3 train.py" to run the train.py,but it do not work. So is the code support GPU? And how to using it to train the model? Thank you so much!

W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations

wuxifang1994 avatar Sep 26 '17 02:09 wuxifang1994

Hi! Have you solved this issue?

pabloelizalde avatar Dec 08 '17 17:12 pabloelizalde

Has this been solved?

cmbowyer13 avatar Jul 10 '18 21:07 cmbowyer13