Encoder-Decoder model for chemical structures.
- Shumpei Nemoto
- main contributor
- Tadahaya Mizuno
- correspondence
This repository is under construction and will be officially released by Mizuno group.
git clone https://github.com/Nemoto-S/EDmodel.git
Please clone this repository locally and use it.
- descriptor generation
import sys
sys.path.append("EDmodel")
from src.trainer import Generator
from src.model import Config
gen = Generator()
gen.load(Config(),"models/model_94.pth")
gen.get_descriptor(input_SMILES) # input_SMILES: List of your smiles
- structure generation
gen.generate(descriptor) # descriptor: np.array or torch.tensor
If you have any questions or comments, please feel free to create an issue on github here, or email us: