File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies:
2929- tqdm
3030- python-lmdb
3131- scipy
32- - pytorch-lightning=1.3.8
32+ - pytorch-lightning=1.6.1
3333- pip :
3434 - aiohttp==3.9.2
3535 - hydra-core
@@ -38,4 +38,4 @@ dependencies:
3838 - wandb
3939 - mendeleev
4040 - mofchecker
41- name : mofdiff
41+ name : mofdiff_new
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ def __init__(
8888 self .get_scaler (scaler_path )
8989 self .type_mapper = None
9090
91+ self .prepare_data_per_node = True
92+
9193 def get_type_mapper (self , type_mapper_path = None ):
9294 if type_mapper_path is None :
9395 unique_atom_types = torch .unique (
@@ -112,7 +114,7 @@ def get_scaler(self, scaler_path):
112114 self .datasets .train , bb_encoder = self .bb_encoder
113115 )
114116
115- if "scaled_lattice" in self .train_dataset .cached_data [0 ].keys :
117+ if "scaled_lattice" in self .train_dataset .cached_data [0 ].keys () :
116118 self .lattice_scaler = get_scaler_from_data_list (
117119 self .train_dataset .cached_data , key = "scaled_lattice"
118120 )
@@ -188,4 +190,4 @@ def __repr__(self) -> str:
188190 f"{ self .datasets = } , "
189191 f"{ self .num_workers = } , "
190192 f"{ self .batch_size = } )"
191- )
193+ )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def build_callbacks(cfg: DictConfig) -> List[Callback]:
5454 save_top_k = cfg .train .model_checkpoints .save_top_k ,
5555 save_last = cfg .train .model_checkpoints .save_last ,
5656 verbose = cfg .train .model_checkpoints .verbose ,
57- every_n_val_epochs = cfg .train .model_checkpoints .every_n_val_epochs ,
57+ every_n_epochs = cfg .train .model_checkpoints .every_n_epochs ,
5858 filename = "{epoch}-{val_loss:.2f}" ,
5959 )
6060 )
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ MarkupSafe==2.1.4
5454matplotlib == 3.8.2
5555mendeleev == 0.15.0
5656mofchecker == 0.9.6
57+ mofdiff == 1.0.0
5758monty == 2024.1.26
5859mpmath == 1.3.0
5960multidict == 6.0.4
@@ -85,7 +86,7 @@ pyasn1-modules==0.3.0
8586pybind11 == 2.11.1
8687pybtex == 0.24.0
8788pycparser == 2.21
88- pyDeprecate == 0.3.0
89+ pyDeprecate == 0.3.2
8990pyeqeq == 0.0.10
9091pyfiglet == 0.8.post1
9192Pygments == 2.17.2
@@ -98,10 +99,10 @@ PyQt5-sip==12.12.2
9899PySocks == 1.7.1
99100python-dateutil == 2.8.2
100101python-dotenv == 1.0.1
101- pytorch-lightning == 1.3.8
102+ pytorch-lightning == 1.6.1
102103pytz == 2023.4
103104pyu2f == 0.1.5
104- PyYAML == 5.4 .1
105+ PyYAML == 6.0 .1
105106quippy-ase == 0.9+gitnone
106107requests == 2.31.0
107108requests-oauthlib == 1.3.1
@@ -112,7 +113,7 @@ scikit-learn==1.4.0
112113scipy == 1.12.0
113114sentry-sdk == 1.40.0
114115setproctitle == 1.3.3
115- setuptools == 69.0.3
116+ setuptools == 59.5.0
116117sip == 6.7.12
117118six == 1.16.0
118119smmap == 5.0.1
You can’t perform that action at this time.
0 commit comments