You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the way we currently initialize and load models:
# Create Model and Load model if applicablemodel=idist.auto_model(hydra.utils.instantiate(config.model))
log.info(f"Model: {model}")
ifconfig.checkpoint:
model.load_state_dict(torch.load(config.checkpoint), strict=False)
It makes the refactoring of src/train_pipeline.py necessary if users want to use multiple multiple models i.e in the use of GANs.
Ideally this will be changed to support both single + multi model purposes.
Creating this issue as a reminder and to put ideas.
The text was updated successfully, but these errors were encountered:
Due to the way we currently initialize and load models:
It makes the refactoring of
src/train_pipeline.py
necessary if users want to use multiple multiple models i.e in the use of GANs.Ideally this will be changed to support both single + multi model purposes.
Creating this issue as a reminder and to put ideas.
The text was updated successfully, but these errors were encountered: