-
-
Save arunm8489/99636e586f582f65dbf5e86eed5a6369 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
try: | |
#Get the various classes detected in the image | |
img_classes = torch.unique(image_pred_[:,-1]) # -1 index holds the class index | |
except: | |
continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment