TypeError: Input 'y' of 'Sub' Op has type int64 #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I use the tensorflow2.3 version, and it has an error in this train.py file
TypeError: Input 'y' of 'Sub' Op has type int64 that does not match type float32 of argument 'x'.
normalized_error = (y_pred - y_true) / avg_winners
This code reports an error
TypeError: Input 'y' of 'Sub' Op has type int64 that does not match type float32 of argument 'x'.
I'm very interested in this research, but train.py doesn't work.
Same issue with Tensorflow 2.3
I am unable to install tensorflow version 2.0
@cctv888 it's work for me now with python3.6 and tensorflow 2.0.0a0
Hi @cctv888 ,
I'm using miniconda (https://docs.conda.io/en/latest/miniconda.html) and you should be able to install all the dependencies in the exact same version I've used for this project with:
@xseth you can see in the environment.yaml file that I've used Python 3.7.3 and Tensorflow 2.0.0a0. Other versions may happen to work, but we never know ;)
Happy hacking!