Open rdrighetto opened 1 year ago
Hi @rdrighetto,
I also tried installing TomoDRGN and running the tests in the repo and I had your same issues.
Regarding the first error, I used your same workaround of setting the conda channel to conda-forge.
For the second error, I got your same error with a conda environment having python v3.11 and pytorch v2.0.0. I managed to install a conda enviornment that runs correctly the test scripts provided in the repo by installing python v3.10.4 and pytorch-gpu v1.11.0.
I think the issue is that these commands for installation:
conda create --name tomodrgn "python>=3.7"
...
conda install "pytorch-gpu>=1.11.0" "cudatoolkit>=11.0" -c pytorch
should be more strict with the required versions. Probably setting python=3.10.4
and pytorch-gpu=1.11.0
should solve the issue. I am attaching here the gist with the conda environment specification, so that you could install the software with the following command:
conda env create --file tomodrgn_environment.yml
conda env activate tomodrgn
git clone https://github.com/bpowell122/tomodrgn.git
cd tomodrgn
python -m pip install .
Hope this fixes the issue also for you.
I did a fresh installation using your gist and the tests worked perfectly, thank you @dacolombo!
Hi,
I followed the repo instructions for installing tomoDRGN and encountered a few errors:
First, I was not able to install
pytorch-gpu
from thepytorch
channel, it gave the following error:However, installing from the
conda-forge
channel succeeded:$ conda install "pytorch-gpu>=1.11.0" "cudatoolkit>=11.0" -c conda-forge
and the rest of the installation commands did succeed as well, so I just leave it here for a possible update of the instructions and future reference.Second, I tried to run the suggested tests, but it failed at the first test:
I paste below the full
commands.error
file. Is it a problem with thequicktest.py
script or am I doing something wrong?Thank you!