Explorar o código

storing only_head flag

Dimitri Korsch %!s(int64=4) %!d(string=hai) anos
pai
achega
298bf4a6bc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cvmodelz/classifiers/base.py

+ 1 - 0
cvmodelz/classifiers/base.py

@@ -17,6 +17,7 @@ class Classifier(chainer.Chain):
 		only_head: bool = False,
 		):
 		super().__init__()
+		self._only_head = only_head
 		self.layer_name = layer_name or model.clf_layer_name
 		self.loss_func = loss_func