OpenBioML / protein-lm-scaling

Other
54 stars 15 forks source link

Training APT with toy example #51

Closed Muedi closed 9 months ago

Muedi commented 9 months ago

Hi people,

I just tried to run the toy training, to see if a trained model version as is would work with the Automodel Stuff from HF.

However, I did not arrive at this point as the training script does not run. the folder structure is not recognized as a module:

Traceback (most recent call last):
  File "C:\Users\maxsp\Work\protein-lm-scaling\protein_lm\modeling\scripts\train.py", line 7, in <module>
    from protein_lm.modeling.getters.data_collator import get_data_collator
ModuleNotFoundError: No module named 'protein_lm'

Do we need to change the init file? or is the problem on my side? I think @talkhanz implemented the training, whats your take? :)

Best, Max

Muedi commented 9 months ago

I had to set up the environment variable and add another init.py in the getters folder :)

Can we circumvent the issue with setting up the environment variable somehow?

Muedi commented 9 months ago

The issues do not persist if just installing a new conda as a new user would anyways :) closed