Skip to content

Commit

Permalink
Fix: the new decod
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedmokeddem committed Feb 5, 2025
1 parent d81f4cc commit b0b3ebe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instageo/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,10 @@ def upscaling_block(in_channels: int, out_channels: int) -> nn.Module:
)

embed_dims = [
(model_args["embed_dim"] * model_args["num_frames"]) // (2**i)
(model_args["embed_dim"]) // (2**i) # Remove num_frames multiplication
for i in range(5)
]

self.segmentation_head = nn.Sequential(
*[upscaling_block(embed_dims[i], embed_dims[i + 1]) for i in range(4)],
nn.Conv2d(
Expand Down

0 comments on commit b0b3ebe

Please sign in to comment.