Skip to content

Commit 848658c

Browse files
committed
Disable hard-coded CUDA options
1 parent 40e272a commit 848658c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multic/segmentationschool/Codes/IterativeTraining_1X.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def IterateTraining(args):
6666

6767
#os.environ["CUDA_VISIBLE_DEVICES"]=gpu
6868
#os.system('export CUDA_VISIBLE_DEVICES=$(nvidia-smi --query-gpu=memory.free,index --format=csv,nounits,noheader | sort -nr | head -1 | awk "{ print $NF }")')
69-
os.environ["CUDA_VISIBLE_DEVICES"] ='2,3'
70-
os.environ["CUDA_LAUNCH_BLOCKING"] ='1'
69+
# os.environ["CUDA_VISIBLE_DEVICES"] ='2,3'
70+
# os.environ["CUDA_LAUNCH_BLOCKING"] ='1'
7171

7272

7373
organType='kidney'

0 commit comments

Comments
 (0)