Coder Social home page Coder Social logo

ml-jku / clamp Goto Github PK

View Code? Open in Web Editor NEW
83.0 83.0 5.0 1.15 MB

Code for the paper Enhancing Activity Prediction Models in Drug Discovery with the Ability to Understand Human Language

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

License: Other

Python 81.89% Jupyter Notebook 18.11%
assay-modeling cheminformatics contrastive-learning drug-discovery machine-learning qsar zero-shot

clamp's People

Contributors

phseidl 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

Watchers

 avatar  avatar  avatar  avatar

clamp's Issues

The checkpoint file seems to be damaged.

I run the repo code in the readme, and the error is as follow:
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
I located the origin code, then found it is about the checkpoint file. I re-downloaded this file, but it still didn't work. How can I solve this problem?
clamp-main/clamp/models/pretrained.py", line 32, in init
cp = torch.load(self.checkpoint, map_location=device)

Enviromental setup with docker

Hi, thank you sharing your great work.
I would like to build the clamp environment using docker.
It would be very helpful if you have Dockerfile for that.

Sincerely.

ModuleNotFoundError: No module named 'clamp.deeptox'

Hi,

When running the code, it seems to fail on the import clamp command:

File ~/DD_tools/clamp/clamp/models/models.py:1
----> 1 from clamp.deeptox.models.perceptron import NetworkLayerNorm, MultilayerPerceptron
      3 from typing import List, Tuple
      5 import torch

ModuleNotFoundError: No module named 'clamp.deeptox'

Is this import correct, this is also the same in the clamp/models/scaled.py and clamp/models/gnn.py scripts.

Thanks

Do you have a PyTorch v2 training script with multi-GPU support?

Hi Phillip,

Do you have a PyTorch v2 training script with multi-GPU support? If so, would you be able to share it with me?

As far as I know, your Arxiv paper states that the total compute runtime was around 170 days and 800 runs (without linear probing). I am wondering why you used only one GPU to train the huge model.

Have a nice weekend.
Linh

Pretraining and computational resource?

Hi, thank you for sharing your great work!
I am interested in the concept of your paper and would like to try pretraining as written in your paper.
How can I pretrain using this repository?
Another question is about the computational resource.
In your paper, it took total 170 days and 800 times. Does the pretraining require the same computational time?
Is it possible to pretrain using a single GPU?

Thank you in advance:)

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.