Open FUZIRONG opened 4 years ago
@FUZIRONG what is your keras version? mine is 2.2.4 and it works fine
@FUZIRONG what is your keras version? mine is 2.2.4 and it works fine
Thanks for the reply, it is caused by the problem of keras version
@FUZIRONG can you tell me which version of keras and which version of tensorflow do you use ?
@FUZIRONG can you tell me which version of keras and which version of tensorflow do you use ?
keras ==2.2.4 tensorflow-gpu==1.14.0
it works for me
@FUZIRONG can you tell me which version of keras and which version of tensorflow do you use ?
keras ==2.2.4 tensorflow-gpu==1.14.0
it works for me
Can you give me a list of environment packages (including package name and version) for running this program?
2022-10-03 22:00:26.553326: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2022-10-03 22:00:33.309597: I tensorflow_io/core/kernels/cpu_check.cc:128] Your CPU supports instructions that this TensorFlow IO binary was not compiled to use: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
Using TensorFlow backend.
D:\ANPR\anprsys\lib\site-packages\tensorflow_addons\utils\ensure_tf_install.py:67: UserWarning: Tensorflow Addons supports using Python ops for all Tensorflow versions above or equal to 2.8.0 and strictly below 2.11.0 (nightly versions are not supported).
The versions of TensorFlow you are currently using is 2.3.0 and is not supported.
Some things might work, some things might not.
If you were to encounter a bug, do not file an issue.
If you want to make sure you're using a tested and supported configuration, either change the TensorFlow version or the TensorFlow Addons's version.
You can find the compatibility matrix in TensorFlow Addon's readme:
https://github.com/tensorflow/addons
UserWarning,
Traceback (most recent call last):
File "D:\ANPR\anprsys\lib\site-packages\object_detection-0.1-py3.7.egg\object_detection\models\ssd_efficientnet_bifpn_feature_extractor.py", line 35, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Tensorflow\models\research\object_detection\builders\model_builder_tf2_test.py", line 24, in
I was able to resolve the error above by installing tensorflow addons with the tensorflow addons extension:
pip install tensorflow==2.12 tensorflow-addons[tensorflow]
Note the tensorflow version I am using is version 2.12.0
run main.py,an error has occurred Using TensorFlow backend. Traceback (most recent call last): File "F:/action recognition demo/OPEN-POSE/Online-Realtime-Action-Recognition-based-on-OpenPose/main.py", line 8, in
from Action.recognizer import load_action_premodel, framewise_recognize
File "F:\action recognition demo\OPEN-POSE\Online-Realtime-Action-Recognition-based-on-OpenPose\Action\recognizer.py", line 10, in
from keras.models import load_model
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras__init.py", line 3, in
from . import utils
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras\utils\ init.py", line 6, in
from . import conv_utils
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras\backend\ init__.py", line 1, in
from .load_backend import epsilon
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Users\Administrator\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 13, in
from tensorflow.python.keras.utils import tf_utils
ImportError: cannot import name 'tf_utils'