Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian Jamasb committed Feb 9, 2024
1 parent 86aba6f commit c7f8aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proteinworkshop/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def embed(cfg: omegaconf.DictConfig):
# https://pytorch.org/docs/stable/generated/torch.nn.modules.lazy.LazyModuleMixin.html#torch.nn.modules.lazy.LazyModuleMixin
log.info("Initializing lazy layers...")
with torch.no_grad():
datamodule.setup(stage="lazy_inti") # type: ignore
datamodule.setup(stage="lazy_init") # type: ignore
batch = next(iter(datamodule.val_dataloader()))
log.info(f"Unfeaturized batch: {batch}")
batch = model.featurise(batch)
Expand Down

0 comments on commit c7f8aa4

Please sign in to comment.