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
I really liked the paper and I'm glad the code is published, but I have one minor problem.
When evaluating the model on a text classification task, I wanted to print not only validation accuracy but also training acc. To do that I added a line "corr_train, nbex_train = net.TestCorpus(train_loader, 'Train')" before line 247 in sent_classif.py. Surprisingly enough, after adding that line the results (on the test set) has changed. I am new to Pytorch, so I'm probably overlooking something, but I can't understand why adding this line has such impact. Would be great to hear if you have any idea @hoschwenk
The text was updated successfully, but these errors were encountered:
I really liked the paper and I'm glad the code is published, but I have one minor problem.
When evaluating the model on a text classification task, I wanted to print not only validation accuracy but also training acc. To do that I added a line "corr_train, nbex_train = net.TestCorpus(train_loader, 'Train')" before line 247 in sent_classif.py. Surprisingly enough, after adding that line the results (on the test set) has changed. I am new to Pytorch, so I'm probably overlooking something, but I can't understand why adding this line has such impact. Would be great to hear if you have any idea @hoschwenk
The text was updated successfully, but these errors were encountered: