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

`AttributeError: module 'clamp' has no attribute 'CLAMP'` #2

Closed SimLif closed 1 year ago

SimLif commented 1 year ago

model = clamp.CLAMP(device='cpu') causes error:
AttributeError: module 'clamp' has no attribute 'CLAMP'

phseidl commented 1 year ago

Hi SimLif, could you be more specific about the environment? Was the package installed properly? e.g. run pip install git+https://github.com/ml-jku/clamp An issue could be that the init.py is not called. You can load CLAMP also via

from clamp.models.pretrained import PretrainedCLAMP as CLAMP