Quantcast
Channel: First CNN and shapes error - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Oxbowerce for First CNN and shapes error

You are passing in the X_train variable twice, once as the x argument and once as the y argument. Instead of passing in X_train as the y argument in .fit() you should pass in an array of values you are...

View Article



First CNN and shapes error

I just started to build my first CNN. I'm practicing with the MNIST dataset, this is the code I just wrote:from tensorflow.keras.datasets import mnistfrom tensorflow.keras.models import Sequentialfrom...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>