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
self.class_to_idx is used to save the index corresponding class name. I did not find where this info was saved when training is done. When inferencing, how do we know which class the index corresponds to? Are there any common ways to do this or just save this relation in a separate file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/rwightman/pytorch-image-models/blob/e7da205345dcf770ee4bedd62d06fad7a1458904/timm/data/readers/reader_image_folder.py#L71
self.class_to_idx is used to save the index corresponding class name. I did not find where this info was saved when training is done. When inferencing, how do we know which class the index corresponds to? Are there any common ways to do this or just save this relation in a separate file?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions