Selaa lähdekoodia

storing only_head flag

Dimitri Korsch 4 vuotta sitten
vanhempi
commit
298bf4a6bc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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