fixed bug in imagenet encoder
fixed bug in imagenet encoder

ufal/neuralmonkey,ufal/neuralmonkey,juliakreutzer/bandit-neuralmonkey,ufal/neuralmonkey,juliakreutzer/bandit-neuralmonkey,juliakreutzer/bandit-neuralmonkey,juliakreutzer/bandit-neuralmonkey,ufal/neuralmonkey,juliakreutzer/bandit-neuralmonkey,ufal/neuralmonkey