MCPcopy
hub / github.com/FACEGOOD/FACEGOOD-Audio2Face / __init__

Method __init__

code/train/model_paper.py:124–130  ·  view source on GitHub ↗
(self, output_size, keep_pro)

Source from the content-addressed store, hash-verified

122 keep_pro: float, the keep probability of the dropout layer
123 """
124 def __init__(self, output_size, keep_pro):
125 super(Audio2Face, self).__init__()
126 self.output_size = output_size
127 self.keep_pro = keep_pro
128 self.FormantLayer = FormantLayer()
129 self.ArticulationLayer = ArticulationLayer()
130 self.OutputLayer = OutputLayer(self.output_size, self.keep_pro)
131
132 def call(self, x):
133 x = self.FormantLayer(x)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

FormantLayerClass · 0.85
ArticulationLayerClass · 0.85
OutputLayerClass · 0.85

Tested by

no test coverage detected