johnsk95 / PT4AL

Official PyTorch implementation of "PT4AL: Using Self-Supervised Pretext Tasks for Active Learning (ECCV2022)"
54 stars 6 forks source link

Sorting based on strings rather than number #12

Open azibit opened 1 year ago

azibit commented 1 year ago

https://github.com/johnsk95/PT4AL/blob/9a0da4af383fd66be2df0ee8a6feb233009c17d5/make_batches.py#L87

I believe this line would return the loss as a String such that the sorting is now done based on strings rather than as numbers.

It is worth checking out since sorting based on Strings can be different from sorting based on numbers