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

Can I delete line 91 "self.check_op = tf.add_check_numerics_ops()" ?? #11

Open
seongkyun opened this issue Apr 19, 2018 · 6 comments
Open

Comments

@seongkyun
Copy link

No description provided.

@seongkyun
Copy link
Author

Because that line occurs an error

Building the model...
Traceback (most recent call last):
File "main.py", line 69, in
main()
File "main.py", line 35, in main
model = ShuffleNet(config_args)
File "/home/han/ShuffleNet/model.py", line 29, in init
self.__build()
File "/home/han/ShuffleNet/model.py", line 134, in __build
self.__init_output()
File "/home/han/ShuffleNet/model.py", line 91, in __init_output
self.check_op = tf.add_check_numerics_ops()
File "/home/han/anaconda2/envs/py36/lib/python3.6/site-packages/tensorflow/python/ops/numerics.py", line 75, in add_check_numerics_ops
raise ValueError("tf.add_check_numerics_ops() is not compatible " ValueError: tf.add_check_numerics_ops() is not compatible with TensorFlow control flow operations such as tf.cond() or tf.while_loop()

Can I delete that line? I think that line is for debugging.

And is there any example for input data parsing?

@farzanehsalimian
Copy link

I have same problem. Did you find a solution for it?

@dereklll
Copy link

any solution?

@dianqiliuze
Copy link

Hi,i have met the same problem, can you tell me how to solve the problem?

@lyll616
Copy link

lyll616 commented Dec 19, 2019

I have met the same problem

@Ijustakid
Copy link

How to solve this problem?

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

6 participants