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

which version of keras do you got for this prj? #6

Open
SeekPoint opened this issue Oct 28, 2019 · 2 comments
Open

which version of keras do you got for this prj? #6

SeekPoint opened this issue Oct 28, 2019 · 2 comments

Comments

@SeekPoint
Copy link

No description provided.

@howl-anderson
Copy link
Owner

Hi @lovejasmine, It use tf.keras >=1.14 < 2.0.0

@SeekPoint
Copy link
Author

tf1.15

ub16c9@ub16c9-gpu:/media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/seq2annotation$ python3.6 main.py
Traceback (most recent call last):
File "main.py", line 1, in
import tensorflow as tf
File "/usr/local/lib/python3.6/dist-packages/tensorflow/init.py", line 99, in
from tensorflow_core import *
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/init.py", line 28, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/local/lib/python3.6/dist-packages/tensorflow/init.py", line 50, in getattr
module = self._load()
File "/usr/local/lib/python3.6/dist-packages/tensorflow/init.py", line 44, in _load
module = _importlib.import_module(self.name)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/init.py", line 83, in
from tensorflow.python import keras
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/init.py", line 26, in
from tensorflow.python.keras import activations
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/init.py", line 27, in
from tensorflow.python.keras import applications
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/applications/init.py", line 64, in
from tensorflow.python.keras.applications.resnet import ResNet50
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/applications/resnet.py", line 22, in
from keras_applications import resnet
ImportError: cannot import name 'resnet'

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