浏览代码

raise in an unused class

Dimitri Korsch 3 年之前
父节点
当前提交
8ffe02093d
共有 1 个文件被更改,包括 1 次插入0 次删除
  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):