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
a86ea658
"doc/git@developer.sourcefind.cn:OpenDAS/ktransformers.git" did not exist on "0e4b7a3929e12d1645e3e177148d15cd4cdec793"
Unverified
Commit
a86ea658
authored
May 22, 2019
by
Gao, Xiang
Committed by
GitHub
May 22, 2019
Browse files
Delete duplicate line in cache_aev example (#229)
parent
e88f6266
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/cache_aev.py
examples/cache_aev.py
+0
-1
No files found.
examples/cache_aev.py
View file @
a86ea658
...
@@ -108,7 +108,6 @@ validation = torchani.data.AEVCacheLoader(validation_cache)
...
@@ -108,7 +108,6 @@ validation = torchani.data.AEVCacheLoader(validation_cache)
###############################################################################
###############################################################################
# The rest of the code are again the same
# The rest of the code are again the same
training
=
torchani
.
data
.
AEVCacheLoader
(
training_cache
)
container
=
torchani
.
ignite
.
Container
({
'energies'
:
model
})
container
=
torchani
.
ignite
.
Container
({
'energies'
:
model
})
optimizer
=
torch
.
optim
.
Adam
(
model
.
parameters
())
optimizer
=
torch
.
optim
.
Adam
(
model
.
parameters
())
trainer
=
ignite
.
engine
.
create_supervised_trainer
(
trainer
=
ignite
.
engine
.
create_supervised_trainer
(
...
...
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