neuroailab / tfutils

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

Initialize local variables in validation #140

Open anayebi opened 5 years ago

anayebi commented 5 years ago

Tensorflow metrics defined in the validation params (e.g. tf.metrics.mean_iou) can have local variables, and these variables should be initialized properly in the target function.