Open wl4135 opened 5 years ago
运行时没设参数
按照书上的方法加参数运行还是报错
ERROR:tensorflow:==================================
Object was never used (type <class 'tensorflow.python.framework.ops.Tensor'>):
<tf.Tensor 'init_ops/report_uninitialized_variables/boolean_mask/GatherV2:0' shape=(?,) dtype=string>
If you want to mark it as used call its "mark_used()" method.
It was originally created here:
File "train_image_classifier.py", line 573, in
运行时没设参数
请问书上给的命令应该在哪里运行呢?
If you depend on functionality not listed there, please file an issue.
Traceback (most recent call last): File "E:/TensorFlowfightGoogle/21project/chapter_3/slim/train_image_classifier.py", line 574, in
tf.app.run()
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "E:/TensorFlowfightGoogle/21project/chapter_3/slim/train_image_classifier.py", line 382, in main
raise ValueError('You must supply the dataset directory with --dataset_dir')
ValueError: You must supply the dataset directory with --dataset_dir
Process finished with exit code 1