Skip to content

Commit

Permalink
Merge pull request #2053 from NirajanBekoju/nirajan
Browse files Browse the repository at this point in the history
fix: argument value in automatic selection of model
  • Loading branch information
zhengbw0324 authored Aug 28, 2024
2 parents 14430b3 + e6ab5c3 commit 29bbe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/user_guide/usage/use_modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ trainer class through the model name.
...
# model loading and initialization
model = get_model(config['model'])(config, train_data).to(config['device'])
model = get_model(config['model'])(config, train_data.dataset).to(config['device'])
# trainer loading and initialization
trainer = get_trainer(config['MODEL_TYPE'], config['model'])(config, model)
Expand Down

0 comments on commit 29bbe4c

Please sign in to comment.