Git Product home page Git Product logo

Comments (7)

Oxer11 avatar Oxer11 commented on June 19, 2024 1

Yes, I use a 3-layer MLP for prediction as defined here. You can find the implementation in torchdrug.tasks.PropertyPrediction.

from gearnet.

Oxer11 avatar Oxer11 commented on June 19, 2024

Hi, you're right. This is the config for running GearNet on Fold3D. In this config, we turn off the use_ieconv option to use a vanilla GearNet.

from gearnet.

YanjingLiLi avatar YanjingLiLi commented on June 19, 2024

Thanks! Did you finally use an additional linear layer to convert the graph representation as the output of the model into 1195 (num_classes) classes?

from gearnet.

YanjingLiLi avatar YanjingLiLi commented on June 19, 2024

I want to reproduce your work using python script/downstream.py -c config/downstream/Fold3D/gearnet.yaml --gpus [0], but it returns an error:

  File "script/downstream.py", line 17, in <module>
    from gearnet import dataset, model
  File "/lustre07/scratch/liusheng/GearNet/GearNet_test/GearNet/gearnet/dataset.py", line 17, in <module>
    class Fold3D(data.ProteinDataset):
AttributeError: module 'torchdrug.data' has no attribute 'ProteinDataset'

I believe I have torchdrug installed.

from gearnet.

Oxer11 avatar Oxer11 commented on June 19, 2024

Hi, could you provide the version of your torchdrug? For Fold3D, you need to install torchdrug from source.

from gearnet.

YanjingLiLi avatar YanjingLiLi commented on June 19, 2024

Get it. I used git clone to clone the torchdrug repo.

By the way, how did you train your GearNet_IEConv with hidden size [512, 512, 512, 512, 512, 512] as described in your config? I always encountered the "cuda out of memory error".

from gearnet.

Oxer11 avatar Oxer11 commented on June 19, 2024

I use 40GB A100 for training. If you don't have large enough gpu memory, maybe consider a smaller batch size or smaller mdoel.

from gearnet.

Related Issues (20)

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.