Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
615f8144
Unverified
Commit
615f8144
authored
Sep 11, 2018
by
Gao, Xiang
Committed by
GitHub
Sep 11, 2018
Browse files
Allow aev cache in command line (#94)
parent
7c597a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
torchani/neurochem/trainer.py
torchani/neurochem/trainer.py
+4
-1
No files found.
torchani/neurochem/trainer.py
View file @
615f8144
...
...
@@ -26,9 +26,12 @@ if __name__ == '__main__':
parser
.
add_argument
(
'--tensorboard'
,
help
=
'Directory to store tensorboard log files'
,
default
=
None
)
parser
.
add_argument
(
'--cache-aev'
,
dest
=
'cache_aev'
,
action
=
'store_true'
,
help
=
'Whether to cache AEV'
,
default
=
None
)
parser
=
parser
.
parse_args
()
d
=
torch
.
device
(
parser
.
device
)
trainer
=
Trainer
(
parser
.
config_path
,
d
,
parser
.
tqdm
,
parser
.
tensorboard
)
trainer
=
Trainer
(
parser
.
config_path
,
d
,
parser
.
tqdm
,
parser
.
tensorboard
,
parser
.
cache_aev
)
trainer
.
load_data
(
parser
.
training_path
,
parser
.
validation_path
)
trainer
.
run
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment