We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4b12d commit bc6eadfCopy full SHA for bc6eadf
workspace/inference.py
@@ -1,10 +1,9 @@
1
from torch import load
2
3
from Datasets.test_dataset import ProblemDataset
4
-from Datasets.load import load_data
5
from Models.model import BERTModule
6
7
-model_path = 'model_ep2_lr1e-05.pth'
+model_path = 'model_ep5_lr1e-05.pth'
8
9
model = BERTModule(n_classes = 3)
10
model.load_state_dict(load(model_path))
0 commit comments