Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -237,7 +237,12 @@ Difference is statistically significant (p < 0.05)
|
|
| 237 |
cd <repository-name>
|
| 238 |
```
|
| 239 |
|
| 240 |
-
2. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
The `setup_bioenv.sh` script creates a virtual environment named `bioenv` in your home directory (`~/bioenv`), installs PyTorch with CUDA 12.6 support, and then installs all other dependencies from `requirements.txt`.
|
| 242 |
|
| 243 |
Make the script executable:
|
|
@@ -249,13 +254,18 @@ Difference is statistically significant (p < 0.05)
|
|
| 249 |
./setup_bioenv.sh
|
| 250 |
```
|
| 251 |
|
| 252 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
Each time you want to work on this project, activate the virtual environment:
|
| 254 |
```bash
|
| 255 |
source ~/bioenv/bin/activate
|
| 256 |
```
|
| 257 |
|
| 258 |
-
|
| 259 |
```bash
|
| 260 |
deactivate
|
| 261 |
```
|
|
|
|
| 237 |
cd <repository-name>
|
| 238 |
```
|
| 239 |
|
| 240 |
+
2. **Initialize the submodules:**
|
| 241 |
+
```bash
|
| 242 |
+
git submodule update --init --remote --recursive
|
| 243 |
+
```
|
| 244 |
+
|
| 245 |
+
3. **Set up the Python virtual environment:**
|
| 246 |
The `setup_bioenv.sh` script creates a virtual environment named `bioenv` in your home directory (`~/bioenv`), installs PyTorch with CUDA 12.6 support, and then installs all other dependencies from `requirements.txt`.
|
| 247 |
|
| 248 |
Make the script executable:
|
|
|
|
| 254 |
./setup_bioenv.sh
|
| 255 |
```
|
| 256 |
|
| 257 |
+
If you are not on a linux machine, you can install the requirements directly
|
| 258 |
+
```console
|
| 259 |
+
python -m pip install -r requirements.txt
|
| 260 |
+
```
|
| 261 |
+
|
| 262 |
+
4. **Activate the environment:**
|
| 263 |
Each time you want to work on this project, activate the virtual environment:
|
| 264 |
```bash
|
| 265 |
source ~/bioenv/bin/activate
|
| 266 |
```
|
| 267 |
|
| 268 |
+
5. **To deactivate the environment:**
|
| 269 |
```bash
|
| 270 |
deactivate
|
| 271 |
```
|