-
Notifications
You must be signed in to change notification settings - Fork 45.8k
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: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32. #933
Comments
Not that I understand this code all that well, but I can't help but think that someone swapped the order of the parameters for the split method in line 1174 of array_ops.py.
But the actual code indicates:
And when I correct the order of parameters to match the documentation, it seems to work better. |
Apologies for the instability, there is some churn happening in the API in preparation for the 1.0 release keeping with our intention to follow semantic versioning. As a result, there are currently breaking changes between 0.11 and 0.12 (and will be more for the next release). See RELEASE.md for a list of changes being made, for example, the change in argument ordering for You might also find the conversion tool at https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/compatibility useful to help navigate these API changes. Hope that helps! Closing this issue out, let us know if your concerns weren't addressed. |
I am using Tensorflow 1.5.0rc0 and I still have this issue |
I have the same issue. and address the problem by changing the parameter position: |
Hi all.
I'm running a TF model that is not based on Inception and the new r0.12 is breaking it also. I should note that this model worked perfectly with r0.11.
I'm referencing issue #761 which seems to have the same error message.
Using git hash #7c16e2e and built using Bazel this afternoon (
bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
)Here is the error log:
The text was updated successfully, but these errors were encountered: