test script for imagenet classification.