-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Discrepancy in the Order of Returned Variables from baseline_test Function
Firstly, I apologize if my explanation is unclear as I'm not very experienced with using GitHub.
I noticed a small discrepancy in the return order of the variables from a function.
The function returns the values in the following order:
else:
return total_loss/num_itr, total_f1/num_itr, total_pr/num_itr, total_rec/num_itrHowever, when receiving the output of the function, it's assumed to be in this order:
val_loss, pr, rec, f1 = baseline_test(model, device, val_loader)Proposed Change
I suggest adjusting the return order in the baseline_test function to match the order when receiving the output. The correct order should be:
return total_loss/num_itr, total_pr/num_itr, total_rec/num_itr, total_f1/num_itrMetadata
Metadata
Assignees
Labels
No labels