Keras creating three classes instead of two
问题 I am trying to train a model to identify images containing fire VS images that contain forests. I am training the model on a remote server using Linode. I am using Python 2.7 and Ubuntu 16.04.5. When i run the following code locally or in Jupyter notebooks it will create 2 classes, but when i want to run it on the server it creates 3 classes. The code that classifies the model: def onehot(x): return np.array(OneHotEncoder().fit_transform(x.reshape(-1,1)).todense()) model = keras.applications