Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guydav committed Nov 28, 2022
1 parent 2e28982 commit 6f7d5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_relational_reasoning/embeddings/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def build_model(model_name: str, device: str, pretrained: bool = True, saycam: t
model.embedding_dim = MODEL_EMBEDDING_DIMENSIONS[(model_name, unpooled_output)] # type: ignore
model.fc = nn.Identity() # type: ignore
if unpooled_output:
mode.avgpool = nn.Identity() # type: ignore
model.avgpool = nn.Identity() # type: ignore
model = model.to(device)

if model is None:
Expand Down

0 comments on commit 6f7d5ab

Please sign in to comment.