Skip to content

Commit 1fc58e2

Browse files
authored
Merge pull request #40 from ChEB-AI/fix-package-versions
Fix python and dependency versions
2 parents e367a7c + 56832cb commit 1fc58e2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

configs/training/early_stop_callbacks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
mode: 'max'
55
filename: 'best_{epoch:02d}_{val_loss:.4f}_{val_macro-f1:.4f}_{val_micro-f1:.4f}'
66
every_n_epochs: 1
7-
save_top_k: 5
7+
save_top_k: 3
88
- class_path: chebai.callbacks.model_checkpoint.CustomModelCheckpoint
99
init_args:
1010
filename: 'per_{epoch:02d}_{val_loss:.4f}_{val_macro-f1:.4f}_{val_micro-f1:.4f}'
11-
every_n_epochs: 5
11+
every_n_epochs: 25
1212
save_top_k: -1
1313
- class_path: lightning.pytorch.callbacks.early_stopping.EarlyStopping
1414
init_args:

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
author_email="[email protected]",
1515
description="",
1616
zip_safe=False,
17-
python_requires="<=3.11.8",
17+
python_requires=">=3.9, <3.12",
1818
install_requires=[
1919
"certifi",
2020
"idna",
2121
"joblib",
2222
"networkx",
23-
"numpy",
23+
"numpy<2",
2424
"pandas",
2525
"python-dateutil",
2626
"pytz",
@@ -40,8 +40,8 @@
4040
"matplotlib",
4141
"rdkit",
4242
"selfies",
43-
"lightning",
44-
"jsonargparse[signatures]>=4.17.0",
43+
"lightning<=2.1",
44+
"jsonargparse[signatures]>=4.17",
4545
"omegaconf",
4646
"seaborn",
4747
"deepsmiles",

0 commit comments

Comments
 (0)