Sadjad Alikhani
commited on
Commit
•
be49f23
1
Parent(s):
c90e132
Update README.md
Browse files
README.md
CHANGED
@@ -25,24 +25,20 @@ If you prefer to use **Conda**, you can download and install **Anaconda** or **M
|
|
25 |
|
26 |
- **Miniforge** is a smaller, community-based installer for Conda that includes **Mamba**. Download it [here](https://github.com/conda-forge/miniforge/releases/latest).
|
27 |
|
28 |
-
After installation, you can use
|
29 |
|
30 |
---
|
31 |
|
32 |
### 2. **Create a New Environment**
|
33 |
|
34 |
-
Once you have Conda
|
35 |
|
36 |
#### **Step 1: Create a new environment**
|
37 |
|
38 |
-
You can create a new environment called `lwm_env
|
39 |
|
40 |
```bash
|
41 |
-
|
42 |
-
conda create -n lwm_env python=3.12
|
43 |
-
|
44 |
-
# If you're using Mamba:
|
45 |
-
mamba create -n lwm_env python=3.12
|
46 |
```
|
47 |
|
48 |
#### **Step 2: Activate the environment**
|
@@ -50,7 +46,6 @@ mamba create -n lwm_env python=3.12
|
|
50 |
Activate the environment you just created:
|
51 |
|
52 |
```bash
|
53 |
-
# For both Conda and Mamba:
|
54 |
conda activate lwm_env
|
55 |
```
|
56 |
|
@@ -62,7 +57,7 @@ Install the necessary packages inside your new environment.
|
|
62 |
|
63 |
# Install CUDA-enabled Pytorch
|
64 |
```bash
|
65 |
-
|
66 |
```
|
67 |
# Install other required packages from conda-forge
|
68 |
```bash
|
|
|
25 |
|
26 |
- **Miniforge** is a smaller, community-based installer for Conda that includes **Mamba**. Download it [here](https://github.com/conda-forge/miniforge/releases/latest).
|
27 |
|
28 |
+
After installation, you can use conda for environment management.
|
29 |
|
30 |
---
|
31 |
|
32 |
### 2. **Create a New Environment**
|
33 |
|
34 |
+
Once you have Conda (https://conda.io/projects/conda/en/latest/user-guide/install/index.html), follow these steps to create a new environment and install the necessary packages.
|
35 |
|
36 |
#### **Step 1: Create a new environment**
|
37 |
|
38 |
+
You can create a new environment called `lwm_env`:
|
39 |
|
40 |
```bash
|
41 |
+
conda create -n lwm_env
|
|
|
|
|
|
|
|
|
42 |
```
|
43 |
|
44 |
#### **Step 2: Activate the environment**
|
|
|
46 |
Activate the environment you just created:
|
47 |
|
48 |
```bash
|
|
|
49 |
conda activate lwm_env
|
50 |
```
|
51 |
|
|
|
57 |
|
58 |
# Install CUDA-enabled Pytorch
|
59 |
```bash
|
60 |
+
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
61 |
```
|
62 |
# Install other required packages from conda-forge
|
63 |
```bash
|