Last active
September 21, 2021 19:36
-
-
Save tanmayymishra/54707aea535aa9c95a1ec48c602a6659 to your computer and use it in GitHub Desktop.
tyre
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model= Sequential([ | |
layers.Conv2D(32, (3,3), activation= 'relu', input_shape= (100,100,1)), | |
layers.MaxPooling2D(pool_size= (2,2), padding= 'same'), | |
layers.Dropout(0.3), | |
layers.Conv2D(16, (3,3), activation= 'relu'), | |
layers.MaxPooling2D(pool_size= (2,2), padding= 'same'), | |
layers.Flatten(), | |
layers.Dropout(0.3), | |
layers.Dense(25, activation= 'relu'), | |
# layers.Dense(64, activation= 'relu'), | |
layers.Dense(3, activation= 'softmax') | |
]) | |
model.compile(optimizer= 'adam', loss= 'categorical_crossentropy', metrics= ['accuracy']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment