torchbase 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: torchbase
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A minimalist base for ML projects in PyTorch
5
5
  License: Apache-2.0
6
6
  Author: Sohrab Ferdowsi
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "torchbase"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "A minimalist base for ML projects in PyTorch"
5
5
  authors = ["Sohrab Ferdowsi <sohrab.ferdowsi@gmail.com>"]
6
6
  license = "Apache-2.0"
@@ -228,10 +228,6 @@ class TrainingBaseSession(ABC):
228
228
  if not datasets_valid_dict.is_valid():
229
229
  raise ValueError("Failed to create a valid `datasets_valid_dict`, an instance of `ValidationDatasetsDict`.")
230
230
 
231
- dataset_train.set_format("torch")
232
- for dataset in datasets_valid_dict.datasets:
233
- dataset.set_format("torch")
234
-
235
231
  return dataset_train, datasets_valid_dict
236
232
 
237
233
  def init_dataloaders(self) -> Tuple[DataLoader, Dict[str, DataLoader]]:
File without changes
File without changes