Created
June 7, 2022 21:52
-
-
Save ashmibanerjee/2ef9d0b02373e22a94dbda93420c4165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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