0

我正在使用 YOLO-darkflow 训练一个用于对象检测的模型,但我得到了这个错误。我该如何解决。

2020-01-24 11:37:37.478285: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found
2020-01-24 11:37:37.486159: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:15: The name tf.train.RMSPropOptimizer is deprecated. Please use tf.compat.v1.train.RMSPropOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:16: The name tf.train.AdadeltaOptimizer is deprecated. Please use tf.compat.v1.train.AdadeltaOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:17: The name tf.train.AdagradOptimizer is deprecated. Please use tf.compat.v1.train.AdagradOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:18: The name tf.train.AdagradDAOptimizer is deprecated. Please use tf.compat.v1.train.AdagradDAOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:19: The name tf.train.MomentumOptimizer is deprecated. Please use tf.compat.v1.train.MomentumOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:20: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:21: The name tf.train.FtrlOptimizer is deprecated. Please use tf.compat.v1.train.FtrlOptimizer instead.

WARNING:tensorflow:From D:\TensorFlow\darkflow-master\darkflow\net\build.py:22: The name tf.train.GradientDescentOptimizer is deprecated. Please use tf.compat.v1.train.GradientDescentOptimizer instead.


ERROR - Expected boolean value (or no value) following argument: --train

我用来训练的命令是:python flow --model cfg/tiny-yolo-voc-1c.cfg --load bin/yolov2-tiny.weights --train train/Annotations --dataset train/Images --epoch 1000. 我错过了什么或做错了什么。我使用张量流==1.15

4

1 回答 1

0

您不应该将注释传递到训练参数中,请尝试重新格式化命令以使其看起来更像这样:

python flow --model Training\yolo_StopSignTest.cfg --labels Training\Labels.txt --train --trainer adam --dataset "Training\Images\\" --annotation "Training\Annotations\\"
于 2020-01-30T10:11:39.920 回答