Git Product home page Git Product logo

benstaf / chemgan-challenge Goto Github PK

View Code? Open in Web Editor NEW
113.0 9.0 54.0 244.51 MB

Code for the paper: ChemGAN challenge for drug discovery: can AI reproduce natural chemical diversity? arXiv preprint arXiv:1708.08227.

Home Page: https://arxiv.org/abs/1708.08227

Python 90.96% Shell 1.08% Jupyter Notebook 7.96%
artificial-intelligence generative-adversarial-network reinforcement-learning drug-discovery recurrent-neural-networks deep-learning machine-learning chemistry

chemgan-challenge's People

Contributors

benstaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chemgan-challenge's Issues

TROUBLE INSTALLING LIBRARIRES WITHT THE ChemGAN PROGRAM....

Hello.

With regards to your "ChemGAN"
for drug discovery, I am having a hard time istalling
the libraries....

import model
import mol_metrics
import music_metrics
gen_dataloader import Gen_Data_loader
dis_dataloader import Dis_dataloader
text_classifier import TextCNN
rollout import ROLLOUT
target_lstm import TARGET_LSTM

trying to install them through pip command windows prompt
and from github doesn't work either.

Any ideas?? I am trying to run the file:
"train_ogan.py"

Is this the right one??
Can you please point me in the right direction??

I am getting a Sanitization Error when running the train_ogan code, any suggestions on getting over with it?

Hi, I am trying to run the train_ogan, but getting the following. Any suggestions on getting over with it? Thanks!

Traceback (most recent call last):

File "", line 1, in
runfile('C:/Users/AAA/Documents/Deep learning/GAN/ChemGAN-challenge-master/model/train_ogan.py', wdir='C:/Users/AAA/Documents/Deep learning/GAN/ChemGAN-challenge-master/model')

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
execfile(filename, namespace)

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/AAA/Documents/Deep learning/GAN/ChemGAN-challenge-master/model/train_ogan.py", line 379, in
return

File "C:/Users/AAA/Documents/Deep learning/GAN/ChemGAN-challenge-master/model/train_ogan.py", line 309, in main
print('\t* LOAD_PRETRAIN was set to false.')

File "C:/Users/AAA/Documents/Deep learning/GAN/ChemGAN-challenge-master/model/train_ogan.py", line 193, in pretrain
mm.compute_results(samples, train_samples, ord_dict, results)

File "C:\Users\AAA\Documents\Deep learning\GAN\ChemGAN-challenge-master\model\mol_metrics.py", line 176, in compute_results
results[objective] = np.mean(func(verified_samples, train_data))

File "C:\Users\AAA\Documents\Deep learning\GAN\ChemGAN-challenge-master\model\mol_metrics.py", line 292, in batch_solubility
vals = [logP(s, train_smiles) if verify_sequence(s) else 0 for s in smiles]

File "C:\Users\AAA\Documents\Deep learning\GAN\ChemGAN-challenge-master\model\mol_metrics.py", line 292, in
vals = [logP(s, train_smiles) if verify_sequence(s) else 0 for s in smiles]

File "C:\Users\AAA\Documents\Deep learning\GAN\ChemGAN-challenge-master\model\mol_metrics.py", line 299, in logP
logp = Crippen.MolLogP(Chem.MolFromSmiles(smile))

File "C:\ProgramData\Anaconda3\lib\site-packages\rdkit\Chem\Crippen.py", line 170, in
MolLogP = lambda *x, **y: rdMolDescriptors.CalcCrippenDescriptors(*x, **y)[0]

ValueError: Sanitization error: Explicit valence for atom # 3 O, 3, is greater than permitted

dataset....

So which dataset did you use to train the GAN and which did you use for the noise for the generator??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.