LBM-EPFL / PeSTo

Geometric deep learning method to predict protein binding interfaces from a protein structure.
https://pesto.epfl.ch
Other
97 stars 14 forks source link

.yml file #2

Open Ravy-LFL opened 1 year ago

Ravy-LFL commented 1 year ago

Hi,

I am trying to install the environment with your .yml file it do not seems to work. Do you have an idea why ?

lfkrapp commented 1 year ago

Hi!

Sorry, I just noticed now that you submitted an issue.

I also noticed a few other people having similar problems with the .yml install.

There are not many dependencies and it shouldn't be too sensitive to the exact version.

The main packages are:

The optional packages are:

The most complicated to install is pytorch. If you want to install it with GPU support, follow the instructions there: https://pytorch.org/

I will push now a new environment file that should be working.

rubenalv commented 1 year ago

The current .yml file contains a hard-coded path at the end: prefix: /home/khaos/miniconda3/envs/pesto Harmless though, see https://stackoverflow.com/questions/41274007/anaconda-export-environment-file.

The current .yml file does not solve the environment for me either, when running conda env create -f pesto.yml python=3.9

I could create a working conda environment that meets dependencies and runs model.py with: conda create -n pestocus python=3.9 # python 3.9 to be supported by gemmi conda activate pestocus conda install pytorch=2.0.1 pytorch-cuda=11.8 -c pytorch -c nvidia # pytorch with CUDA support conda install conda-forge::gemmi conda install conda-forge::tensorboard conda install numpy scipy pandas matplotlib scikit-learn conda-forge::tqdm conda install anaconda::h5py

lfkrapp commented 11 months ago

Thanks @rubenalv for the help. I included your instructions in the install instructions of the main README file (commit ba651aa29aaa839d0ee2c458dee90ca1f934d90a).

I will look into creating a docker image as well.