Skip to content

Commit

Permalink
update medical
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbliiiing committed Apr 17, 2022
1 parent 216fa5b commit 016eaee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train_medical.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
# Windows系统下默认使用DP模式调用所有显卡,不支持DDP。
# DP模式:
# 设置 distributed = False
# 在终端中输入 CUDA_VISIBLE_DEVICES=0,1 python train.py
# 在终端中输入 CUDA_VISIBLE_DEVICES=0,1 python train_medical.py
# DDP模式:
# 设置 distributed = True
# 在终端中输入 CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train.py
# 在终端中输入 CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train_medical.py
#---------------------------------------------------------------------#
distributed = False
#---------------------------------------------------------------------#
Expand Down

0 comments on commit 016eaee

Please sign in to comment.