Update README.md
Browse files
README.md
CHANGED
|
@@ -203,17 +203,16 @@ conda activate diffudetr
|
|
| 203 |
# 2. Install PyTorch
|
| 204 |
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
| 205 |
|
| 206 |
-
# 3. Clone and install detrex
|
| 207 |
-
git
|
| 208 |
cd detrex
|
| 209 |
-
git submodule init
|
| 210 |
-
git submodule update
|
| 211 |
|
| 212 |
# 4. Install detectron2
|
| 213 |
python -m pip install -e detectron2 --no-build-isolation
|
| 214 |
|
| 215 |
# 5. Install detrex
|
| 216 |
pip install -e . --no-build-isolation
|
|
|
|
| 217 |
|
| 218 |
# 6. Fix setuptools compatibility
|
| 219 |
pip uninstall setuptools -y
|
|
@@ -227,7 +226,6 @@ export PYTHONPATH="/path/to/DiffuDETR/:$PYTHONPATH"
|
|
| 227 |
|
| 228 |
# 9. Set dataset path
|
| 229 |
export DETECTRON2_DATASETS=/path/to/datasets/
|
| 230 |
-
```
|
| 231 |
|
| 232 |
---
|
| 233 |
|
|
|
|
| 203 |
# 2. Install PyTorch
|
| 204 |
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
| 205 |
|
| 206 |
+
# 3. Clone and install detrex (as a submodule)
|
| 207 |
+
git submodule update --init --recursive
|
| 208 |
cd detrex
|
|
|
|
|
|
|
| 209 |
|
| 210 |
# 4. Install detectron2
|
| 211 |
python -m pip install -e detectron2 --no-build-isolation
|
| 212 |
|
| 213 |
# 5. Install detrex
|
| 214 |
pip install -e . --no-build-isolation
|
| 215 |
+
cd ..
|
| 216 |
|
| 217 |
# 6. Fix setuptools compatibility
|
| 218 |
pip uninstall setuptools -y
|
|
|
|
| 226 |
|
| 227 |
# 9. Set dataset path
|
| 228 |
export DETECTRON2_DATASETS=/path/to/datasets/
|
|
|
|
| 229 |
|
| 230 |
---
|
| 231 |
|