Skip to content

Commit 16f21e4

Browse files
committed
dafault 1 gpu
1 parent 199c282 commit 16f21e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def main(args):
328328
default='./data/ADEChallengeData2016/annotations')
329329

330330
# optimization related arguments
331-
parser.add_argument('--num_gpus', default=2, type=int,
331+
parser.add_argument('--num_gpus', default=1, type=int,
332332
help='number of gpus to use')
333333
parser.add_argument('--batch_size_per_gpu', default=16, type=int,
334334
help='input batch size')

0 commit comments

Comments
 (0)