title: AlexNet implementation with different number of classes
body: <p>I'm trying to test a dataset with AlexNet. I'm using <a href="https://engmrk.com/alexnet-implementation-using-keras/" rel="nofollow noreferrer">this</a> implementation.
  The problem is that my dataset has 11 classes, but the code on that site uses as output layer 1000 classes. Do I just need to change the last part:</p>
  <pre><code># 3rd Fully Connected Layer
  model.add(Dense(1000))
  model.add(Activation(‘relu’))
  # Add Dropout
  model.add(Dropout(0.4))
  
  # Output Layer
  model.add(Dense(17))
  model.add(Activation(‘softmax’))
  </code></pre>
  <p>To:</p>
  <pre><code># 3rd Fully Connected Layer
  model.add(Dense(11))
  model.add(Activation(‘relu’))
  # Add Dropout
  model.add(Dropout(0.4))
  
  # Output Layer
  model.add(Dense(17))
  model.add(Activation(‘softmax’))
  </code></pre>
  <p>So that I can test my dataset?</p>
  <p>PS I'm new to machine learning in general, sorry if this is a stupid question</p>