ml-jku / clamp

Code for the paper Enhancing Activity Prediction Models in Drug Discovery with the Ability to Understand Human Language
https://arxiv.org/abs/2303.03363
Other
86 stars 6 forks source link

ModuleNotFoundError: No module named 'clamp.deeptox' #1

Closed MKCarter closed 1 year ago

MKCarter commented 1 year ago

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

MKCarter commented 1 year ago

Modifying the import to: from clamp.models.perceptron import NetworkLayerNorm, MultilayerPerceptron Resolved this :)

phseidl commented 1 year ago

Hi, the code is still under development, particularly the model-training part. I will update the import. Once updated I will remove the disclaimer from the Readme. Thanks for your interest in our paper.