choasup/SIN

ZeroDivisionError: float division by zero

Opened this issue · 2 comments

Hi, thanx for ur excellent work.
I am trying to train a dataset similar to pascal VOC. Unfortunately, i got a problem: ZeroDivisionError: float division by zero .
I tried a couple of times, training progress stop at the same place.
Could u give me some advises? Is that caused by my data ? or the code? @choasup

File "/home/z/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gen_script_ops.py", line 36, in _py_func
name=name)
File "/home/z/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/home/z/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2630, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/z/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1204, in init
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access

UnknownError (see above for traceback): exceptions.ZeroDivisionError: float division by zero
[[Node: edges/PyFunc = PyFunc[Tin=[DT_FLOAT, DT_FLOAT], Tout=[DT_FLOAT], token="pyfunc_4", _device="/job:localhost/replica:0/task:0/cpu:0"](roi-data/rois/_141, _arg_Placeholder_1_0_1)]]
[[Node: edges/PyFunc/_143 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_1461_edges/PyFunc", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]]

Thanx again.

the same error. Could you tell me how to slove it?

the same error. Could you tell me how to slove it?

请问这个问题您解决了吗,谢谢!