Giter Site home page Giter Site logo

john-bradshaw / synthesis-dags Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 7.0 100.68 MB

Code for our paper "Barking up the right tree: an approach to search over molecule synthesis DAGs"

License: GNU General Public License v3.0

Python 74.04% CSS 0.46% JavaScript 25.18% Shell 0.32%

synthesis-dags's Introduction

Hi I'm John! ๐Ÿ‘‹

Most recently I was a postdoc in the Coley Research Group at MIT. Before that, I was a PhD student in Machine Learning at the University of Cambridge/Max Planck Institute for Intelligent Systems. On my GitHub you can find the code for my papers as well as my implementations for some general ML algorithms. Some highlights include:

๐Ÿ“„ Code for Papers

Synthesis DAGs is code for our paper "Barking up the right tree: an approach to search over molecule synthesis DAGs".
Molecule Chef is code for our paper "A Model to Search for Synthesizable Molecules".
Electro is code for our paper "A Generative Model For Electron Paths".
GPDNN (and here) is a gist demonstrating some of the key concepts of our paper "Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networks".

๐Ÿงบ Misc

ML for Molecules is a notebook I wrote for a tutorial about ML for molecules.
GNN is a library for graph neural networks in PyTorch.
kriggie is a playground for exploring Gaussian processes.

(Note some of this work has been done in collaboration or been heavily inspired by work elsewhere, which I have tried to highlight on the repos' READMEs).

synthesis-dags's People

Contributors

john-bradshaw 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

Watchers

 avatar

synthesis-dags's Issues

Molecular Transformer failed to run

Hi John, thanks for updating the Readme. I really appreciate it!

I have encountered a new issue and I'm wondering whether you could help me with it. When I'm running the functional_tests/reaction_predictor_server_checker.py, there is an error occurred. The return value of the request is: {'error': 'Runtime Error: cublas runtime error : the GPU program failed to execute at /opt/conda/conda-bld/pytorch_1533672544752/work/aten/src/THC/THCBlas.cu:249', 'status': 'error'}
The error is: Traceback (most recent call last):
File "functional_tests/reaction_predictor_server_checker.py", line 48, in
main()
File "functional_tests/reaction_predictor_server_checker.py", line 42, in main
print(rp(reactants))
File "/rds/user/yo279/hpc-work/project/synthesis-dags/syn_dags/model/reaction_predictors.py", line 55, in call
self._run_list_of_reactant_sets(reactant_sets_new_needed)))
File "/rds/user/yo279/hpc-work/project/synthesis-dags/syn_dags/model/reaction_predictors.py", line 134, in _run_list_of_reactant_sets
raise ex
File "/rds/user/yo279/hpc-work/project/synthesis-dags/syn_dags/model/reaction_predictors.py", line 131, in _run_list_of_reactant_sets
op_back = return_list[0]
KeyError: 0
Besides, the training code for synthesis-dags can run successfully, while the sampling code also has the error above.
Thanks for your assistance!

Breaking changes to protobuf

Hi, I just installed this on a new machine and found one issue regarding the conda_dogae_gpu.yml environment setup. Namely, it seems like Google recently introduced backwards-incompatible changes to protobuf:

https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

I'm not exactly clear on what changed, but the suggested option of downgrading to protobuf==3.20 (via pip) worked for me. There may be a better option (โ€ฆ regenerating some _pb2 files?), but otherwise would suggest updating the environment to pin version on protobuf.

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.