Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 5, 2023
1 parent ec12ee5 commit 3c7b7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/models/multimodal/site_encoders/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def _encode_query(self, x):
# Select the first one
gsp_ids = x[BatchKey.sensor_id][:,0,:].squeeze().int()
print(f"{gsp_ids.shape=}")
query = self.sensor_id_embedding(gsp_ids) # .unsqueeze(1)
query = self.sensor_id_embedding(gsp_ids).unsqueeze(1)
print(f"{query.shape=}")
return query

Expand Down

0 comments on commit 3c7b7aa

Please sign in to comment.