added imagenet prediction on numpy arrays