"doc/git@developer.sourcefind.cn:OpenDAS/ktransformers.git" did not exist on "0e4b7a3929e12d1645e3e177148d15cd4cdec793"
Unverified Commit a86ea658 authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Delete duplicate line in cache_aev example (#229)

parent e88f6266
...@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment