Skip to content

Commit

Permalink
Merge pull request #8 from CBICA/spiros-dev-2
Browse files Browse the repository at this point in the history
Correct path on __init__ | README addition for in-code usage
  • Loading branch information
spirosmaggioros authored Jan 18, 2025
2 parents e757f41 + c615c17 commit cf983fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DLMUSE/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from dlmuse_pipeline import run_dlmuse_pipeline
from DLMUSE.dlmuse_pipeline import run_dlmuse_pipeline
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ A pre-trained nnUNet model can be found at our [hugging face account](https://hu
```bash
DLMUSE -i "input_folder" -o "output_folder" -device cpu
```
### In-code usage
```python
from DLMUSE import run_dlmuse_pipeline
...
run_dlmuse_pipeline(in_dir, out_dir, device)
```

For more details, please refer to

```bash
Expand Down

0 comments on commit cf983fa

Please sign in to comment.