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

Newest version of tensorflow does not work #2

Open
GLueos opened this issue May 1, 2024 · 2 comments
Open

Newest version of tensorflow does not work #2

GLueos opened this issue May 1, 2024 · 2 comments

Comments

@GLueos
Copy link

GLueos commented May 1, 2024

Python 3.11 and tensorflow 2.12 still work though.

@MeqdadDev
Copy link
Owner

Hi @GLueos...
Could you plz provide me with the traceback content?

@GLueos
Copy link
Author

GLueos commented May 2, 2024

importing a keras model and classifying an image returns this error when run in python 3.12 with the latest version of tensorflow

TypeError: Error when deserializing class 'DepthwiseConv2D' using config={'name': 'expanded_conv_depthwise', 'trainable': True, 'dtype': 'float32', 'kernel_size': [3, 3], 'strides': [1, 1], 'padding': 'same', 'data_format': 'channels_last', 'dilation_rate': [1, 1], 'groups': 1, 'activation': 'linear', 'use_bias': False, 'bias_initializer': {'class_name': 'Zeros', 'config': {}}, 'bias_regularizer': None, 'activity_regularizer': None, 'bias_constraint': None, 'depth_multiplier': 1, 'depthwise_initializer': {'class_name': 'VarianceScaling', 'config': {'scale': 1, 'mode': 'fan_avg', 'distribution': 'uniform', 'seed': None}}, 'depthwise_regularizer': None, 'depthwise_constraint': None}.

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