single image prediction complete