MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / init_proj

Method init_proj

wan/models/portrait_encoder.py:180–182  ·  view source on GitHub ↗
(self, cross_attention_dim=5120)

Source from the content-addressed store, hash-verified

178 )
179
180 def init_proj(self, cross_attention_dim=5120):
181 proj_model = MultiProjModel(adapter_in_dim=self.adapter_in_dim, cross_attention_dim=cross_attention_dim)
182 return proj_model
183
184 def get_adapter_proj(self, adapter_fea=None):
185 split_sizes = [6, 6, 30, 512]

Callers 1

__init__Method · 0.95

Calls 1

MultiProjModelClass · 0.85

Tested by

no test coverage detected