Skip to content

Commit

Permalink
add local_rank to train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangerZhang committed Jun 7, 2019
1 parent 68c4667 commit b899d80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
help='configuration of tracking')
parser.add_argument('--seed', type=int, default=123456,
help='random seed')
parser.add_argument('--local_rank', type=int, default=0,
help='compulsory for pytorch launcer')
args = parser.parse_args()


Expand Down

0 comments on commit b899d80

Please sign in to comment.