title: How to use SVM to classify while the features are extracted using CNN?
body: <pre><code>   conv12 = Conv2D(32, (3, 3), activation='relu', padding='same')(up12)
     conv12 = Dropout(0.3)(conv12)
     conv12 = Conv2D(32, (3, 3), activation='relu', padding='same')(conv12)
     
     conv13 = Conv2D(1, (1, 1), activation='sigmoid')(conv12)
  
     model = Model(inputs=[inputs], outputs=[conv13])
  
     model.compile(optimizer=Adam(lr=.00045), loss=dice_coef_loss, metrics=[dice_coef])
  
     return model
  </code></pre>
  <p>After the conv13 layer i want to use SVM, how can i do that? I am new to this and can't figure this out.</p>