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

Issue with reproducing the repo #2

Open
terry07 opened this issue Oct 5, 2020 · 3 comments
Open

Issue with reproducing the repo #2

terry07 opened this issue Oct 5, 2020 · 3 comments

Comments

@terry07
Copy link

terry07 commented Oct 5, 2020

Thanks for sharing your code.

I get the next error trying to run the train.py file:

TypeError: custom_kernel_init() got an unexpected keyword argument 'dtype'

Any hint?

Kind regards,

@kunalchamoli
Copy link

hey @terry07 in the custom_kernel_init function just add a parameter dtype = np.float. It worked for me.

@subrata-mettle
Copy link

Still it's giving TypeError: custom_kernel_init() got an unexpected keyword argument 'dtype' after using dtype = np.float.

image

currently using tensorflow - 2.3.1, it's giving above dtype error.

@terry07
Copy link
Author

terry07 commented Jan 19, 2021

@subrata-mettle my version of TensorFlow is 2.0.0 and replace the line of the corresponding def with the next:

def custom_kernel_init(shape,dtype):

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

3 participants