Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeroDivisionError: float division by zero #6

Open
BestSongEver opened this issue Sep 10, 2018 · 2 comments
Open

ZeroDivisionError: float division by zero #6

BestSongEver opened this issue Sep 10, 2018 · 2 comments

Comments

@BestSongEver
Copy link

BestSongEver commented Sep 10, 2018

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.

@MXLHELLO
Copy link

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

@okluckychen
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants