SupContrast icon indicating copy to clipboard operation
SupContrast copied to clipboard

May be a bug?

Open W2Q3Q1 opened this issue 3 years ago • 1 comments

Shell line 292 in main_supcon.py

save_model(model, optimizer, opt, opt.epochs, save_file)

be

save_model(model, optimizer, opt, epoch, save_file)

?

Because there are no need to save both opt and opt.epochs. Maybe epoch (the epoch now) is more important?

W2Q3Q1 avatar Apr 26 '22 01:04 W2Q3Q1

"Shall line...", not "Shell". Sorry.

W2Q3Q1 avatar Apr 26 '22 01:04 W2Q3Q1