Skip to content

Commit

Permalink
[refine] update train.py (#2262)
Browse files Browse the repository at this point in the history
remove unnecessary variable names
  • Loading branch information
Mddct authored Dec 26, 2023
1 parent 5fed2c4 commit d427928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/bin/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def main():
tokenizer = init_tokenizer(configs)

# Init env for ddp OR deepspeed
world_size, local_rank, rank = init_distributed(args)
_, _, rank = init_distributed(args)

# Get dataset & dataloader
train_dataset, cv_dataset, train_data_loader, cv_data_loader = \
Expand Down

0 comments on commit d427928

Please sign in to comment.