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

Version of DnCNN that is compatible with tensorflow 2.0 #83

Open
tamireiny opened this issue Dec 17, 2020 · 0 comments
Open

Version of DnCNN that is compatible with tensorflow 2.0 #83

tamireiny opened this issue Dec 17, 2020 · 0 comments

Comments

@tamireiny
Copy link

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

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

1 participant