Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kennymckormick
Copy link
Collaborator

No description provided.

@makecent
Copy link
Contributor

makecent commented Mar 23, 2023

@hukkai @kennymckormick According to a recent update in pytorch (10 Feb 2023). Now it prefers dash over underscore ( - rather than _).

usage: train.py [-h] [--work-dir WORK_DIR] [--resume [RESUME]] [--amp] [--no-validate] [--auto-scale-lr] [--seed SEED] [--diff-rank-seed] [--deterministic] [--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]]
                [--launcher {none,pytorch,slurm,mpi}] [--local_rank LOCAL_RANK]
                config                                                                                                                                                                                     
train.py: error: unrecognized arguments: --local-rank=0

Maybe we should change back the argument local_rank to local-rank?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants