mhamilton723 / STEGO

Unsupervised Semantic Segmentation by Distilling Feature Correspondences
MIT License
711 stars 142 forks source link

Solving environment gets killed on Ubuntu 22.04 #83

Closed atharvadeore999 closed 1 year ago

atharvadeore999 commented 1 year ago

Please suggest a solution to create environment using yaml file, as it doesn't get created after installing mamba too

colt18 commented 1 year ago

mamba env create -f environment.yml did it for me under ubuntu 22.04. However, I made some modifications for python 3.7. Use it with precaution but for me it works smoothly. environment.zip

atharvadeore999 commented 1 year ago

mamba env create -f environment.yml did it for me under ubuntu 22.04. However, I made some modifications for python 3.7. Use it with precaution but for me it works smoothly. environment.zip

Can you please tell me what changes you made in python

colt18 commented 1 year ago

I mean env file was meant for python 3.6.9. I changed it to 3.7 and changed versions of other packages for compatilibity. You just need to create env with the file I attached.

atharvadeore999 commented 1 year ago

OK, Thank you

nono-zz commented 7 months ago

@colt18 Thanks, your 3.7 environment file works smoothly for me. Just mamba install the cpu version pytorch for me in default. I had to use

mamba install "pytorch=*=*cuda*" pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge

in the command line again to force the cuda version installation