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 292910b commit b2c8c2aCopy full SHA for b2c8c2a
art/estimators/classification/pytorch.py
@@ -322,7 +322,7 @@ def predict( # pylint: disable=W0221
322
dataloader = DataLoader(dataset=dataset, batch_size=batch_size, shuffle=False)
323
324
results_list = []
325
- for x_batch in dataloader:
+ for (x_batch,) in dataloader:
326
# Move inputs to device
327
x_batch = x_batch.to(self._device)
328
art/estimators/regression/pytorch.py
@@ -260,7 +260,7 @@ def predict( # pylint: disable=W0221
260
261
262
263
264
265
266
0 commit comments