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

Keras from Tensorflow Version #78

Open
mavaylon1 opened this issue Jan 8, 2021 · 1 comment
Open

Keras from Tensorflow Version #78

mavaylon1 opened this issue Jan 8, 2021 · 1 comment

Comments

@mavaylon1
Copy link

Will there be an update where it uses keras from tensorflow and not keras the api?

@YeonghyeonKim
Copy link

YeonghyeonKim commented Dec 7, 2021

In src/crfrnn_layer.py,

from keras.engine.topology import Layer

=>

from tensorflow.keras.layers import Layer

In src/crfrnn_model.py,

from keras.models import Model
from keras.layers import Conv2D, MaxPooling2D, Input, ZeroPadding2D, \

=>

from tensorflow.keras.models import Model
from tensorflow.keras.layers import Conv2D, MaxPooling2D, Input, ZeroPadding2D, \

Worked on me.

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

2 participants