Spaces:
Sleeping
Sleeping
| # Step 1: Install Miniconda in your user's home directory | |
| # wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | |
| # bash miniconda.sh -b -p ~/miniconda # Install in your home directory | |
| # # Step 2: Initialize Miniconda | |
| # source ~/miniconda/etc/profile.d/conda.sh | |
| # conda init bash | |
| # Step 3: Change to the desired directory and make install.sh executable, then run it | |
| git clone https://github.com/StanfordMIMI/Comp2Comp.git /home/user/app/C2C | |
| cd /home/user/app/C2C | |
| pip install -e . | |
| pip install https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp310-cp310-win_amd64.whl | |
| # chmod +x bin/install.sh # Make install.sh executable | |
| # ./bin/install.sh # Execute the installation script | |
| # conda activate c2c_env | |