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

Take() got an unexpected keyword argument 'count'. #34

Open
0x5c4r3 opened this issue Jul 20, 2022 · 2 comments
Open

Take() got an unexpected keyword argument 'count'. #34

0x5c4r3 opened this issue Jul 20, 2022 · 2 comments

Comments

@0x5c4r3
Copy link

0x5c4r3 commented Jul 20, 2022

Heya,
I'm trying to use the model to perform some image separation using the mnist database.
I literally copy your code and modify some parameters to match with the mnist database, but I get this weird mesage:

image

If you're wondering, here's how I create the train and test dataset:

(mnist_x_train, mnist_y_train), (mnist_x_test, mnist_y_test) = mnist.load_data()

Not sure what this is related to, any ideas?

Thanks,
Mat

@jakeret
Copy link
Owner

jakeret commented Aug 3, 2022

Hi Mat, sorry for the very late reply.
Could it be, that you are trying to run unet with an older version of Tensorflow? The stable tf.data.Dataset implementation has the keyword count.

@AnshuGusain1
Copy link

Hi, I am having the same issue on the latest version of Tensorflow
image

I create my dataset in the program and then split it into testing and training sets.
image

They are numpy arrays

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