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
1c378970
Commit
1c378970
authored
Jun 10, 2019
by
Gao, Xiang
Committed by
Farhad Ramezanghorbani
Jun 10, 2019
Browse files
Force coefficient is better to be 0.1 (#249)
Being 1 does not work well
parent
e1c78efe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/nnp_training_force.py
examples/nnp_training_force.py
+1
-1
No files found.
examples/nnp_training_force.py
View file @
1c378970
...
@@ -201,7 +201,7 @@ if 'scheduler' in checkpoint:
...
@@ -201,7 +201,7 @@ if 'scheduler' in checkpoint:
print
(
"training starting from epoch"
,
scheduler
.
last_epoch
+
1
)
print
(
"training starting from epoch"
,
scheduler
.
last_epoch
+
1
)
max_epochs
=
20
max_epochs
=
20
early_stopping_learning_rate
=
1.0E-5
early_stopping_learning_rate
=
1.0E-5
force_coefficient
=
1
# controls the importance of energy loss vs force loss
force_coefficient
=
0.
1
# controls the importance of energy loss vs force loss
best_model_checkpoint
=
'force-training-best.pt'
best_model_checkpoint
=
'force-training-best.pt'
for
_
in
range
(
scheduler
.
last_epoch
+
1
,
max_epochs
):
for
_
in
range
(
scheduler
.
last_epoch
+
1
,
max_epochs
):
...
...
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