Skip to content

Commit

Permalink
Update train_GFN_4x.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelinelala authored Mar 12, 2019
1 parent 8c0655e commit 3a8c7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_GFN_4x.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
parser.add_argument("--gated", type=bool, default=False, help="Activated gate module")
parser.add_argument("--isTest", type=bool, default=False, help="Test or not")
parser.add_argument('--dataset', required=True, help='Path of the training dataset(.h5)')
os.environ['CUDA_VISIBLE_DEVICES'] = '1'
os.environ['CUDA_VISIBLE_DEVICES'] = '0'
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

training_settings=[
Expand Down

0 comments on commit 3a8c7b1

Please sign in to comment.