Docs: install from GitHub via conda + editable .[dev], not PyPI
Browse files
README.md
CHANGED
|
@@ -58,10 +58,20 @@ masking:
|
|
| 58 |
center_fractions: [0.04]
|
| 59 |
```
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
## Usage
|
| 62 |
|
| 63 |
```bash
|
| 64 |
-
pip install direct-recon # or: https://github.com/NKI-AI/direct
|
| 65 |
hf download NKI-AI/direct-e2e-ads-recon-reg --local-dir ./e2e_ads_recon_reg
|
| 66 |
|
| 67 |
direct predict ./predictions \
|
|
|
|
| 58 |
center_fractions: [0.04]
|
| 59 |
```
|
| 60 |
|
| 61 |
+
## Install DIRECT
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
git clone https://github.com/NKI-AI/direct.git
|
| 65 |
+
cd direct
|
| 66 |
+
conda create --name direct python=3.12
|
| 67 |
+
conda activate direct
|
| 68 |
+
pip install meson-python meson ninja
|
| 69 |
+
pip install --no-build-isolation -e ".[dev]"
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
## Usage
|
| 73 |
|
| 74 |
```bash
|
|
|
|
| 75 |
hf download NKI-AI/direct-e2e-ads-recon-reg --local-dir ./e2e_ads_recon_reg
|
| 76 |
|
| 77 |
direct predict ./predictions \
|