neuroailab / tfutils

Utilities for working with tensorflow
MIT License
25 stars 8 forks source link

Integrate check = tf.add_check_numerics_ops() which automatically checks for nan values #116

Closed damro closed 5 years ago

yamins81 commented 5 years ago

@damro where do you want to see this integrated?

yamins81 commented 5 years ago

Make sure this doesn't lead to slowdowns

damro commented 5 years ago

Can't implement this because of the presence of control dependencies in tfutils:

ValueError: tf.add_check_numerics_ops() is not compatible with TensorFlow control flow operations such astf.cond()ortf.while_loop()`.