Skip to content

Commit

Permalink
Added README info on how to run in-code | Minor bug fix with local path
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Jan 18, 2025
1 parent 413b2fa commit 5b68174
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DLWMLS/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from dlwmls_pipeline import run_dlwmls_pipeline
from DLWMLS.dlwmls_pipeline import run_dlwmls_pipeline
Binary file modified DLWMLS/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file modified DLWMLS/__pycache__/dlwmls_pipeline.cpython-312.pyc
Binary file not shown.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ A pre-trained nnUNet model can be found at our [HuggingFace account](https://hug
```bash
DLWMLS -i "input_folder" -o "output_folder" -device cuda
```

### In-code usage
```python
from DLWMLS import run_dlwmls_pipeline
...
run_dlwmls_pipeline(in_dir, out_dir, device)
```
For more details, please refer to

```bash
Expand Down

0 comments on commit 5b68174

Please sign in to comment.