[python] modify apps/ImageNet_1.py to be compatible with new interface