-
Notifications
You must be signed in to change notification settings - Fork 66
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
TypeError: Error when deserializing class 'Embedding' using config #93
Comments
No change to source code. I am assuming it is some versioning issue at your
end. Try giving me a reproducible example so that we can test at our end
…On Mon, Mar 11, 2024, 1:54 PM Jatin Malhotra ***@***.***> wrote:
All of sudden today, I started getting following error while using
ethnicolr.pred_fl_reg_ln (version 0.9.6)
Error Category: UNCLASSIFIED_ERROR; TypeError: Error when deserializing
class 'Embedding' using config={'name': 'embedding', 'trainable': True,
'dtype': 'float32', 'input_dim': 1152, 'output_dim': 32,
'embeddings_initializer': {'class_name': 'RandomUniform', 'config':
{'minval': -0.05, 'maxval': 0.05, 'seed': None}}, 'embeddings_regularizer':
None, 'activity_regularizer': None, 'embeddings_constraint': None,
'mask_zero': False, 'input_length': 20, 'input_shape': [None, 20]}.
I was able to work with no issues last week. Has anything changed in the
source code recently ?
—
Reply to this email directly, view it on GitHub
<#93>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFQEOUBU5IVYHSCK2MPQZ3YXYRYRAVCNFSM6AAAAABERA7YTKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DAMRRGE2DQOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks for your quick response. Following are the steps to reproduce the issue:- ##Create a new python vitual env ##Activate virtual envrionment ##Install ethnicolr ##Run the python script
##Following is the error returned
|
Issue is Fixed: Please update the documentation |
All of sudden today, I started getting following error while using ethnicolr.pred_fl_reg_ln (version 0.9.6)
Error Category: UNCLASSIFIED_ERROR; TypeError: Error when deserializing class 'Embedding' using config={'name': 'embedding', 'trainable': True, 'dtype': 'float32', 'input_dim': 1152, 'output_dim': 32, 'embeddings_initializer': {'class_name': 'RandomUniform', 'config': {'minval': -0.05, 'maxval': 0.05, 'seed': None}}, 'embeddings_regularizer': None, 'activity_regularizer': None, 'embeddings_constraint': None, 'mask_zero': False, 'input_length': 20, 'input_shape': [None, 20]}.
I was able to work with no issues last week. Has anything changed in the source code recently ?
The text was updated successfully, but these errors were encountered: