コード例 #1
0
 def __init__(self):
     """Initializes exp."""
     super().__init__()
     self.name = "NFE5632"
     self.description = "Normalized face and eyes, two-stream network, fc 5632D"
     self.fc_dimensions = 5632
     self.weights = exp_utils.NFE5632_VGG16
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("two_stream")
     print(self.name)
     print(self.description)
コード例 #2
0
 def __init__(self):
     """
     Initializes exp.
     """
     super().__init__()
     self.name = "NE1536"
     self.description = "Normalized eyes, fc 1536D, fcs trained from scratch"
     self.weights = exp_utils.NE1536_VGG16
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("eyes_fcscratch")
     print(self.name)
     print(self.description)
コード例 #3
0
 def __init__(self):
     """
     Initialize exp.
     """
     super().__init__()
     self.name = "OF4096"
     self.description = "Original face, fc 4096D, finetuned VGGFace except last fc"
     self.weights = exp_utils.OF4096_VGG16
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("face_finetune")
     print(self.name)
     print(self.description)
コード例 #4
0
 def __init__(self):
     """Initializes exp."""
     super().__init__()
     self.name = "NFEL5836"
     self.description = "Normalized face, eyes and landmarks, two-stream + metadata network, fc 5836D"
     self.fc_dimensions = 2918
     self.weights = exp_utils.NFEL5836_VGG16
     self.min_lndmk = exp_utils.NFEL5836_MIN_LNMDK
     self.max_lndmk = exp_utils.NFEL5836_MAX_LNMDK
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("two_stream")
     print(self.name)
     print(self.description)
コード例 #5
0
 def __init__(self):
     """Initializes experiment"""
     super().__init__()
     self.name = "NFL4300"
     self.description = "Normalized face and landmarks, fc 4300D"
     self.fc_dimensions = 4300
     self.weights = exp_utils.NFL4300_VGG16
     self.min_lndmk = exp_utils.NFL4300_MIN_LNMDK
     self.max_lndmk = exp_utils.NFL4300_MAX_LNMDK
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("face_fcscratch")
     print(self.name)
     print(self.description)
コード例 #6
0
 def __init__(self):
     """
     Initializes exp.
     """
     super().__init__()
     self.name = "NF5632"
     self.description = "Normalized face, fc 5632D, fcs trained from scratch"
     self.fc_dimensions = 5632
     self.weights = exp_utils.NF5632_VGG16
     self.base_model = BaseModel.get_base_model("VGGFace")
     self.model = get_model("face_fcscratch")
     print(self.name)
     print(self.description)