File size: 768 Bytes
4ae0554
 
2308ea9
39f539c
 
4ae0554
39f539c
 
 
4ae0554
c9e7c12
ccef849
bde6e5b
39f539c
61db30c
 
39f539c
 
04670aa
39f539c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# 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