Skip to content

Instantly share code, notes, and snippets.

@ashmibanerjee
Created June 7, 2022 21:52
Show Gist options
  • Save ashmibanerjee/2ef9d0b02373e22a94dbda93420c4165 to your computer and use it in GitHub Desktop.
Save ashmibanerjee/2ef9d0b02373e22a94dbda93420c4165 to your computer and use it in GitHub Desktop.
from src.pred.models.tf_pred import *
from typing import Any
def tf_run_classifier(image: str) -> Any:
img = load_image(image)
if img is None:
return None
pred_results = tf_predict(img)
return pred_results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment