"Dimension=-1 must be >= 0"
WARNING:tensorflow:From ./yolo/net/yolo_tiny_net.py:219: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
2019-04-10 13:18:41.623793: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-04-10 13:18:41.764669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce GTX 1080 major: 6 minor: 1 memoryClockRate(GHz): 1.86
pciBusID: 0000:05:00.0
totalMemory: 7.93GiB freeMemory: 7.65GiB
2019-04-10 13:18:41.879773: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 1 with properties:
name: GeForce GTX 1080 major: 6 minor: 1 memoryClockRate(GHz): 1.86
pciBusID: 0000:09:00.0
totalMemory: 7.93GiB freeMemory: 7.65GiB
2019-04-10 13:18:41.879940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0, 1
2019-04-10 13:18:42.309734: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-10 13:18:42.309770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 1
2019-04-10 13:18:42.309779: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N Y
2019-04-10 13:18:42.309793: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 1: Y N
2019-04-10 13:18:42.310141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7377 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080, pci bus id: 0000:05:00.0, compute capability: 6.1)
2019-04-10 13:18:42.310442: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 7379 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1080, pci bus id: 0000:09:00.0, compute capability: 6.1)
2019-04-10 13:19:10.197653: step 0, loss = 6.87 (1.2 examples/sec; 20.876 sec/batch)
WARNING:tensorflow:*******************************************************
WARNING:tensorflow:TensorFlow's V1 checkpoint format has been deprecated.
WARNING:tensorflow:Consider switching to the more efficient V2 format:
WARNING:tensorflow: tf.train.Saver(write_version=tf.train.SaverDef.V2)
WARNING:tensorflow:now on by default.
WARNING:tensorflow:*******************************************************
2019-04-10 13:19:17.826279: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at constant_op.cc:167 : Invalid argument: Dimension -1 must be >= 0
Traceback (most recent call last):
File "tools/train.py", line 23, in
Caused by op u'while_1/ones', defined at:
File "tools/train.py", line 22, in
InvalidArgumentError (see above for traceback): Dimension -1 must be >= 0 [[node while_1/ones (defined at ./yolo/net/yolo_tiny_net.py:169) = Fill[T=DT_FLOAT, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](while_1/Cast/_105, while_1/ones/Const)]] [[{{node gradients/AddN_144/_227}} = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_25564_gradients/AddN_144", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]