Skip to content

Commit

Permalink
Add some changes and result
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeMarcelino committed Aug 31, 2019
1 parent 3cb2b4f commit 43c6432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def parser_process(value, state):
" Code copied from: https://stackoverflow.com/questions/48391777/nargs-equivalent-for-options-in-click"

device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
device = torch.device('cuda:0')

pd.options.mode.chained_assignment = None # default='warn'

Expand Down

0 comments on commit 43c6432

Please sign in to comment.