DnCNN icon indicating copy to clipboard operation
DnCNN copied to clipboard

Version of DnCNN that is compatible with tensorflow 2.0

Open tamireiny opened this issue 4 years ago • 0 comments

I have run the code TrainingCodes\dncnn\main_train.py as is, and got the error: AttributeError: module 'tensorflow' has no attribute 'placeholder' I tried to place at main_train.py: import tensorflow.compat.v1 as tf tf.disable_v2_behavior()

Alternatively, I run the tf_upgrade_v2 that suppose to make tensor flow version 1.0, compatible with tensor flow version 2.0, But the output code was exactly the same as the input.

Any suggestions to make the keras training supports tensor flow v2.0?

Thanks

tamireiny avatar Dec 17 '20 08:12 tamireiny