-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
There are a small bug in train.py. When I apply the proposed model for multi-gpu training, it got unrecognized error: --local-rank. It seems that the linux system defaultly transmit the config "local-rank" instead of "local_rank" (see the different between '-' and '_'). As soon as i add
parser.add_argument("--local_rank", "--local-rank", default=0, type=int) to parser the two arguments into one.
it went well.
Metadata
Metadata
Assignees
Labels
No labels