Convnet and autoencoder