SupCon-Framework icon indicating copy to clipboard operation
SupCon-Framework copied to clipboard

Output dimensions of model(data) in utils.py

Open karantai opened this issue 1 year ago • 0 comments

Dear Ivan, than you very much for your work!

The output of the model in utils.py in line 250:

            output = model(data) is a tensor of [20,2] (the batch size = 20).

My question is: why does the second column mean? It would make more sense if it was [20,1] resembling the predictions of the 20 images. Thank you very much in advance !

John

karantai avatar Mar 22 '23 16:03 karantai