小编Tra*_*ccc的帖子

Tensorflow错误:TypeError:__ init __()得到一个意外的关键字参数'dct_method'

当使用当前版本的Tensorflow-Gpu(1.5)运行Tensorflow Object Detection API时,在尝试训练自定义图像集时会引发以下错误.

INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\trainer.py:228: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
Traceback (most recent call last):
  File "train.py", line 167, in <module>
    tf.app.run()
  File "C:\Users\Vic-10-3\AppData\Local\Continuum\anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run
    _sys.exit(main(argv))
  File "train.py", line 163, in main
    worker_job_name, is_chief, FLAGS.train_dir)
  File "C:\tensorflow1\models\research\object_detection\trainer.py", line 235, in train
    train_config.prefetch_queue_capacity, data_augmentation_options)
  File "C:\tensorflow1\models\research\object_detection\trainer.py", line 59, in create_input_queue …
Run Code Online (Sandbox Code Playgroud)

python machine-learning object-detection neural-network tensorflow

9
推荐指数
1
解决办法
3037
查看次数