Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stuck on Error
#1
After running the below code

# Fitting the model and running the model for 10 epochs history4 = model4.fit( train_images, train_labels, epochs = 10, callbacks = callbacks, batch_size = 32, validation_split = 0.2, verbose = 1 )

I am getting this error

"ValueError: Arguments target and output must have the same shape. Received: target.shape=(None, 2), output.shape=(None, 256)"

can someone help?
Reply
#2
Please show your code. Use bbcode tags.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020