Categories
Misc

Tensorflow Error: ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 225, 225, 1), found shape=(None, 255, 255, 1)

im stupid ignore me

Didn’t see that the imgDimentions on the trainer was set to 225,225,1 but the detector was trying to find 255,255,1 images

its been a long day!

Hi all, me again haha

Ive run into an error that has stumped me for about an hour;

Im trying to train a TensorFlow modal to detect a British one pence coin and a British 2 pence coin, while the model trained, when it detects the objects it crashes and gives me this error:

ValueError: Input 0 of layer “sequential” is incompatible with the layer: expected shape=(None, 225, 225, 1), found shape=(None, 255, 255, 1)

its finding the shape its supposed to find, but it says its not? Any advice would be greatly appreciated!

Thanks all!

submitted by /u/Adhesive_Hooks
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *