Skip to content

Commit c2a784f

Browse files
author
Löffler, Hannes
committed
added link to preprint
1 parent 2c99c43 commit c2a784f

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ REINVENT is a molecular design tool for de novo design, scaffold hopping,
99
R-group replacement, linker design, molecule optimization, and other small
1010
molecule design tasks. At its heart, REINVENT uses a Reinforcement Learning
1111
(RL) algorithm to generate optimized molecules compliant with a user defined
12-
property profile defined as a multi-component score. See AUTHORS.md for
13-
paper references.
12+
property profile defined as a multi-component score.
13+
14+
A preprint is available on ChemRxiv: [REINVENT4: Modern AI-Driven Generative Molecule Design](https://chemrxiv.org/engage/chemrxiv/article-details/65463cafc573f893f1cae33a). See AUTHORS.md for references to previous papers.
1415

1516

1617
Requirements

reinvent/runmodes/TL/learning.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ def __init__(
105105
s = DataStructs.BulkTanimotoSimilarity(fps[n], fps[n + 1 :])
106106
sim.extend(s)
107107

108-
self.tb_reporter.add_histogram(
109-
"Tanimoto input SMILES", np.array(sim), 0
110-
)
108+
# FIXME: TB broken
109+
#self.tb_reporter.add_histogram(
110+
# "Tanimoto input SMILES", np.array(sim), 0
111+
#)
111112

112113
# FIXME: this is only available for Mol2mol
113114
if self._config.max_sequence_length:

reinvent/runmodes/TL/reports/tensorboard.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def write_report(reporter, data, model: ModelAdapter, is_reinvent: bool, dataloa
5959

6060
reporter.add_scalar("KL divergence", kl_div, data.epoch)
6161

62-
reporter.add_histogram("Tanimoto similarity on RDKitFingerprint", similarities, data.epoch)
62+
# FIXME: TB broken
63+
#reporter.add_histogram("Tanimoto similarity on RDKitFingerprint", similarities, data.epoch)
6364

6465
# FIXME: rows and cols depend on sample_batch_size
6566
image_tensor = make_grid_image(smilies, sample_nlls, "NLL", ROWS * COLS, ROWS)

0 commit comments

Comments
 (0)