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

SystemError: Exception encountered when calling layer "ctc" (type Lambda). unknown opcode #16

Open
kyle-gonzales opened this issue May 2, 2023 · 1 comment

Comments

@kyle-gonzales
Copy link

kyle-gonzales commented May 2, 2023

Hello,

I am trying to train the model with only 10 epochs. To test, I am using the last checkpoint saved in the weights folder during the training process. When I run test_on_iam(checkpoint="../weights/EASTER2--10--6.52.hdf5"), it says I have a SystemError from an unknown opcode.

Upon investigation, a lot of errors trace back to the python versions used to train and test the model. However, I am sure that I trained the model with same version I am using to test it. I have also read that it could be caused by the use of the lambda layer in the model. However, there aren't any apparent issues with the lambda layer.

Additionally, when I try to use your saved_checkpoint.hdf5, I also get an error when trying to load the model: ValueError: bad marshal data (unknown type code)

have you encountered this?

@Umberto28
Copy link

Hi,

I'm trying now to test this architecture and I'm facing the same issue. Did you find any solution?

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