Skip to content

Commit

Permalink
fix: change argument value to train_data.dataset for automatic select…
Browse files Browse the repository at this point in the history
…ion of model
  • Loading branch information
NirajanBekoju committed May 30, 2024
1 parent 2b6e209 commit e6ab5c3
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 e6ab5c3

Please sign in to comment.