Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 5, 2023
1 parent 3c7b7aa commit 5ab3acd
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 5ab3acd

Please sign in to comment.