You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input files should contain a list of line-separated SMILES strings. This generates a CSV file that contains the
84
-
one row for each SMILES string and one column for each class.
85
-
The `classes_path` is the path to the dataset's `raw/classes.txt` file that contains the relationship between model output and ChEBI-IDs.
83
+
84
+
***`--checkpoint_path`**: Path to the Lightning checkpoint file (must end with `.ckpt`).
85
+
86
+
***`--smiles_file_path`**: Path to a text file containing one SMILES string per line.
87
+
88
+
***`--save_to`***(optional)*: Predictions will be saved to the path as CSV file. The CSV will contain one row per SMILES string and one column per predicted class. Default path will be the current working directory with file name as `predictions.csv`.
89
+
90
+
***`--classes_path`***(optional)*: Path to the dataset’s `classes.txt` file, which maps model output indices to ChEBI IDs.
91
+
* Checkpoints created after PR #135 will have the classification labels stored in them and hence this parameter is not required.
92
+
* If provided, the CSV columns will be named using the ChEBI IDs.
93
+
* If omitted, then script will located the file automatically. If unable to locate then the columns will be numbered sequentially.
0 commit comments