Forráskód Böngészése

raise in an unused class

Dimitri Korsch 3 éve
szülő
commit
8ffe02093d
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      cvfinetune/dataset.py

+ 1 - 0
cvfinetune/dataset.py

@@ -11,6 +11,7 @@ class BaseDataset(TransformMixin, UniformPartMixin, AnnotationsReadMixin):
 
 	def __init__(self, *args, prepare, center_crop_on_val: bool = True, **kwargs):
 		super().__init__(*args, **kwargs)
+		raise NotImplementedError("YOU SHOULD NOT USE ME!")
 		self.prepare = prepare
 
 	def augment(self, im):