Skip to content

Commit

Permalink
set argument '--gpus' to '0'
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaohaijun committed Jan 4, 2016
1 parent 0b66c47 commit 1e5e8c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/accnn/acc_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ def main():
if __name__ == '__main__':
parser=argparse.ArgumentParser()
parser.add_argument('-m', '--model', help='the model to speed up')
parser.add_argument('-g', '--gpus', default='0,1,2,3', help='the gpus to be used in ctx')
parser.add_argument('-g', '--gpus', default='0', help='the gpus to be used in ctx')
parser.add_argument('--load-epoch',type=int,default=1)
parser.add_argument('--layer')
parser.add_argument('--K', type=int)
parser.add_argument('--save-model')
args = parser.parse_args()
main()


2 changes: 1 addition & 1 deletion tools/accnn/acc_fc.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def main():
if __name__ == '__main__':
parser=argparse.ArgumentParser()
parser.add_argument('-m', '--model', help='the model to speed up')
parser.add_argument('-g', '--gpus', default='0,1,2,3', help='the gpus to be used in ctx')
parser.add_argument('-g', '--gpus', default='0', help='the gpus to be used in ctx')
parser.add_argument('--load-epoch',type=int,default=1)
parser.add_argument('--layer')
parser.add_argument('--K', type=int)
Expand Down

0 comments on commit 1e5e8c0

Please sign in to comment.