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
Fixed NotImplementedError: Cannot convert a symbolic Tensor to a numpy array #47957
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
@petronny Can you please check build failures. Thanks! |
I think the main error is:
I guess it shoule be 1 with type 'int' instead of 1.0 with type 'float'. Is there a way to easily run the testImplementsAttributeAssertsOnSideInput test on my local machine? |
|
@petronny Can you please check @mihaimaruseac's comments and keep us posted ? Thanks! |
I will take a look after 2 weeks. |
CI looks better now, I think, can someone take a look? |
Is this likely to get a stable backport? |
… numpy 1.20 see upstream pr tensorflow/tensorflow#47957
… numpy 1.20 see upstream pr tensorflow/tensorflow#47957 (cherry picked from commit 42bfc11)
Fixed #9706
Implemented as mentioned in tensorflow/models#9706 (comment) and tensorflow/models#9706 (comment) .
This problem happens with tensorflow 2.4.1 and numpy 1.20.1 .
Minimal code to reproduce the problem: