Learning on Entropy Coded Images with CNN