File /home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages/keras/backend_config.py:33
28 # Default image data format, one of "channels_last", "channels_first".
29 _IMAGE_DATA_FORMAT = "channels_last"
32 @keras_export("keras.backend.epsilon")
---> 33 @tf.__internal__.dispatch.add_dispatch_support
34 def epsilon():
tensorflow和keras版本不对应问题
先卸载tensorflow和keras
安装指定版本tensorflow和keras
Installing collected packages: tensorflow
Successfully installed tensorflow-2.2.0
Successfully installed keras-2.2.0 keras-applications-1.0.2 keras-preprocessing-1.0.1 pyyaml-6.0
ImportError: cannot import name 'Input' from 'keras.engine' (/home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages/keras/engine/__init__.py)
- 39 AttributeError tensorflow attribute internal39 attributeerror tensorflow attribute 39 quot attributeerror attribute 39 attributeerror attribute nonetype 39 attributeerror antialias attribute 39 attributeerror attribute copy_src 39 attributeerror attribute深度 v_flag_cb_issuer_check 39 attributeerror attribute 39 attributeerror attribute模型 39 attributeerror attribute数据 39 attributeerror attribute模块