Commit ·
e2c268e
1
Parent(s): 58b72ee
Lesser print statements
Browse files- model/patch_embed.py +1 -3
model/patch_embed.py
CHANGED
|
@@ -82,9 +82,7 @@ class PatchEmbedding(nn.Module):
|
|
| 82 |
grid_size_h = actual_h // self.patch_height
|
| 83 |
grid_size_w = actual_w // self.patch_width
|
| 84 |
|
| 85 |
-
|
| 86 |
-
print(f"Expected patches: {out.shape[1]}")
|
| 87 |
-
|
| 88 |
out = self.patch_embed(out)
|
| 89 |
pos_emb = get_patch_positional_embedding(
|
| 90 |
self.hidden_dim, grid_size=(grid_size_h, grid_size_w), device=x.device
|
|
|
|
| 82 |
grid_size_h = actual_h // self.patch_height
|
| 83 |
grid_size_w = actual_w // self.patch_width
|
| 84 |
|
| 85 |
+
|
|
|
|
|
|
|
| 86 |
out = self.patch_embed(out)
|
| 87 |
pos_emb = get_patch_positional_embedding(
|
| 88 |
self.hidden_dim, grid_size=(grid_size_h, grid_size_w), device=x.device
|