Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Oct 4, 2024
1 parent b3e474f commit d174507
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 356 deletions.
2 changes: 1 addition & 1 deletion notebooks/models/autoencoder_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def forward(self, x):
latent = attn_encoded.squeeze(1)

decoded = self.fc_decoder(latent)
decoded = decoded.view(decoded.size(0), 128, self.encoded_length)
decoded = decoded.view(decoded.size(0), 128, int(decoded.size(1) // 128))
decoded = self.decoder(decoded)
decoded = decoded.permute(0, 2, 1)

Expand Down
Loading

0 comments on commit d174507

Please sign in to comment.