Use a lot of ignores

This commit is contained in:
henryruhs
2025-03-06 19:44:31 +01:00
parent c7d55d0d17
commit 7e938c2ec9
+1 -1
View File
@@ -23,7 +23,7 @@ class DynamicDataset(Dataset[Tensor]):
'batch_ratio': config_parser.getfloat('training.dataset', 'batch_ratio'),
}
self.config_parser = config_parser
self.file_paths = glob.glob(self.config.get('file_pattern'))
self.file_paths = glob.glob(self.config.get('file_pattern')) # type:ignore[type-var]
self.transforms = self.compose_transforms()
def __getitem__(self, index : int) -> Batch: