Traceback (most recent call last):


 "train.py", line 184, in <module>

tf.app.run()


 "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run

_sys.exit(main(argv))


 "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 136, in new_func

return func(*args, **kwargs)


 "train.py", line 180, in main

graph_hook_fn=graph_rewriter_fn)


 "C:\TensorFlow\models\research\object_detection\legacy\trainer.py", line 248, in train

detection_model = create_model_fn()


 "C:\TensorFlow\models\research\object_detection\builders\model_builder.py", line 113, in build

raise ValueError('model_config not of type model_pb2.DetectionModel.')
ValueError: model_config not of type model_pb2.DetectionModel.
Traceback (most recent call last):


 "object_detection_demo_yolov3_async.py", line 490, in <module>

sys.exit(main() or 0)


 "object_detection_demo_yolov3_async.py", line 380, in main

args.keep_aspect_ratio)


 "object_detection_demo_yolov3_async.py", line 231, in get_objects

prob_threshold, is_proportional)


 "object_detection_demo_yolov3_async.py", line 143, in parse_yolo_region

_, _, out_blob_h, out_blob_w = predictions.shape
ValueError: too many values to unpack (expected 4)
