Skip to content

Commit

Permalink
Update all M3Gnet model versino numbers to 2 due to recent change of
Browse files Browse the repository at this point in the history
set2set in init. No effect on PES models, just EForm models.
  • Loading branch information
Shyue Ping Ong committed Jul 28, 2023
1 parent 0bab0b1 commit d78c37d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion matgl/models/_m3gnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
class M3GNet(nn.Module, IOMixIn):
"""The main M3GNet model."""

__version__ = 1
__version__ = 2

def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion pretrained_models/M3GNet-MP-2018.6.1-Eform/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"model": {
"@class": "M3GNet",
"@module": "matgl.models._m3gnet",
"@model_version": 1,
"@model_version": 2,
"init_args": {
"element_types": [
"H",
Expand Down
Binary file modified pretrained_models/M3GNet-MP-2018.6.1-Eform/model.pt
Binary file not shown.
2 changes: 1 addition & 1 deletion pretrained_models/M3GNet-MP-2021.2.8-DIRECT-PES/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"model": {
"@class": "M3GNet",
"@module": "matgl.models._m3gnet",
"@model_version": 1,
"@model_version": 2,
"init_args": {
"element_types": [
"H",
Expand Down
Binary file modified pretrained_models/M3GNet-MP-2021.2.8-DIRECT-PES/model.pt
Binary file not shown.
2 changes: 1 addition & 1 deletion pretrained_models/M3GNet-MP-2021.2.8-PES/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"model": {
"@class": "M3GNet",
"@module": "matgl.models._m3gnet",
"@model_version": 1,
"@model_version": 2,
"init_args": {
"element_types": [
"H",
Expand Down
Binary file modified pretrained_models/M3GNet-MP-2021.2.8-PES/model.pt
Binary file not shown.

0 comments on commit d78c37d

Please sign in to comment.