Working imagenet trainer.