Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jacob/windnet' into jacob/windnet
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 5, 2023
2 parents a06af19 + bf9aa12 commit 2400800
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 @@ -327,7 +327,7 @@ def __init__(

def _encode_query(self, x):
# Select the first one
gsp_ids = x[BatchKey.sensor_id][:,0].squeeze().int()
gsp_ids = x[BatchKey.sensor_id][:, 0].squeeze().int()
print(f"{gsp_ids.shape=}")
query = self.sensor_id_embedding(gsp_ids).unsqueeze(1)
print(f"{query.shape=}")
Expand Down

0 comments on commit 2400800

Please sign in to comment.