Adding in the conditioned transformer 3d model

This commit is contained in:
CrossProduct
2025-01-18 06:47:39 +00:00
parent fa422c4ca5
commit 3c605a124e
@@ -82,7 +82,8 @@ def forward(
batch_size = hidden_states.size(0) batch_size = hidden_states.size(0)
# inject the condition and the residual then project it into the pretrained proj_in # inject the condition and the residual then project it into the pretrained proj_in
hidden_states = self.adapter(residual_x=residual_x,conditioned_x=hidden_states) hidden_states = self.adapter(residual_x=residual_x,
conditioned_x=hidden_states)
hidden_states = self.proj_in(hidden_states) hidden_states = self.proj_in(hidden_states)