You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the function our_image_classifier to img_class_tf in the image_classifier.py file
Write another function img_class_torch and define to load an image, convert it to the necessary numpy array (or any form you deem necessary, load a gluon model ( giving the PR, test it with any custom trained model and attach the video clip of the working demo), run inference and return the result.
Note how the labels are defined.
Feel free to add try-except statements for better debugging
The text was updated successfully, but these errors were encountered:
our_image_classifier
toimg_class_tf
in theimage_classifier.py
fileimg_class_torch
and define to load an image, convert it to the necessary numpy array (or any form you deem necessary, load a gluon model ( giving the PR, test it with any custom trained model and attach the video clip of the working demo), run inference and return the result.The text was updated successfully, but these errors were encountered: