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

Cython ValueError: no signature found for builtin <cyfunction.lambda> #2983

Open
zyukyunman opened this issue Jun 4, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@zyukyunman
Copy link

commented Jun 4, 2019

how can i fix this bug?using cython 0.29.10
when i use keras.layers.lambda and calling signature = inspect.signature(fn),core dump

@scoder

This comment has been minimized.

Copy link
Contributor

commented Jun 7, 2019

Could you be more specific about the problem that you see?

@Marshall0304

This comment has been minimized.

Copy link

commented Jun 10, 2019

hello, do u fixed this bug? i have met this bug too when using keras.layers.lambda with cython 0.29, 0.28 and 0.27

@scoder

This comment has been minimized.

Copy link
Contributor

commented Jun 10, 2019

See #2983 (comment) above.

@scoder

This comment has been minimized.

Copy link
Contributor

commented Jun 10, 2019

More specifically, does it work if you rebuild keras with Cython 0.29.10 ?
You can check the Cython version that was used to generate the C/C++ files by looking at their first line.

@scoder

This comment has been minimized.

Copy link
Contributor

commented Jun 10, 2019

Lacking further information, my guess is that this is a duplicate of #1470, but it's unclear since the title suggests a Python exception and not a "core dump". I have no idea what keras does here. Maybe it needs to enable the binding=True directive? I also don't know what the specific use case is for inspecting its signature here.

@scoder scoder added the unclear label Jun 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.