Commit eaf3af64 by Andrea Mancini

bug fix predict.py

parent 581b1a55
...@@ -92,7 +92,7 @@ class InferencePipeline: ...@@ -92,7 +92,7 @@ class InferencePipeline:
dataset = EsmSpanDataset(dataframe) dataset = EsmSpanDataset(dataframe)
loader = dataset.get_data_loaders( loader = dataset.get_data_loaders(
model_version=getattr(self.model.config, 'version', None), batch_size=batch_size, shuffle=False model_version=getattr(self.model.config, 'version', None), size=batch_size, shuffle=False
)['train_loader'] )['train_loader']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment