unet icon indicating copy to clipboard operation
unet copied to clipboard

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

Open 0x5c4r3 opened this issue 2 years ago • 2 comments

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

0x5c4r3 avatar Jul 20 '22 15:07 0x5c4r3

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.

jakeret avatar Aug 03 '22 08:08 jakeret