From 5b681743808a1407ad33e588cc6bad1645f2b2aa Mon Sep 17 00:00:00 2001 From: spirosmaggioros Date: Sat, 18 Jan 2025 03:36:52 +0000 Subject: [PATCH] Added README info on how to run in-code | Minor bug fix with local path --- DLWMLS/__init__.py | 2 +- DLWMLS/__pycache__/__init__.cpython-312.pyc | Bin 135 -> 204 bytes .../dlwmls_pipeline.cpython-312.pyc | Bin 7239 -> 7227 bytes README.md | 7 +++++++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/DLWMLS/__init__.py b/DLWMLS/__init__.py index 0408b81..a1f32b0 100644 --- a/DLWMLS/__init__.py +++ b/DLWMLS/__init__.py @@ -1 +1 @@ -from dlwmls_pipeline import run_dlwmls_pipeline +from DLWMLS.dlwmls_pipeline import run_dlwmls_pipeline diff --git a/DLWMLS/__pycache__/__init__.cpython-312.pyc b/DLWMLS/__pycache__/__init__.cpython-312.pyc index 14103589a6720544ce18ee7717f0f12cbf22fc37..6cfa5b0500be755f632a9c44563a6dc422eedbe0 100644 GIT binary patch literal 204 zcmX@j%ge<81nU*M)6IeOV-N=hn4pZ$0zk%eh7^Vr#vF!R#wbQchDs()=9eI8O~zZo zMWuQ1DLLi2ImPh>nFXminR%&xnoPIETztZPeS-DSq>7k<+Ey}r2I>B#rk|0Yo2p-$ zRGL>(st?fsqvGQ;^D;}~@)kAO?GRt$;PC$c^Ml$C}Jx90fP9#w(1lLg^jhasU^*&Ad29@ zW5eRXn}323(1QoP_29wO2S}GdPJ*{Nc=8~f{SC}~Kl5W=%whLqmwutt1kow7$-ClJ1eCOy6JznnWfuMNNsUzRm1DWt4yf zJ#}=@B4Y4IUoQ|c`hR!X=(#0veOT+|!@B5=kUZ*y&6g@G?2~ruPx`i7ZE~#K*&IF= znYq0?+n@SUN8U`*Jh5u8G5(O(C4Xjl2M@nl)rqn;Sy=lnMyoor-0{@E zM6&O$eRd}+_b1B5AIbx+#kJC>+PVx*_lREkw`YrE4y|A{kbeg1YF%&pgB4L4+=yw= zbY#I}ZMeU?y|Xn?;^p9VF##(9Cjlb?nt+)=b_&HQl;hvQ5^-X$eD(Q;L^{9hESFQv zXpXBXxCVkcG6Rms4WtRB3b&9p1XWIv4wUD47MTODz+I%5at?V4G8WGx3n_hM5e%C@ zEun+7Tt=RTjLj>^D&+Ef9=QM}S2Y7SJv;R_ zNM>%XjJuyQQUhb-9H_yhJ@pD-TiY7MJ16}5p95DNdF=RGzIN&xTh&<8Td>jL{_ft+ zP*YRG&FSw#o#_$pPS^eS`7z(cS@NSr}Fg!pvfw}?As#hb66QqrEg38_U` z@}x8(sAnn0kS4^_(n8u$C`kwDf?t*#8HZv;CXh);=VS_*j+jBNfa%CAG8fT9=D~91 z%L3YuhKtAxV7jt|EJHFYE69srb9o858gUI-jaWn0p;Y_$_`^Nf!16LAGqQ=i0`Zh= QA=|+0^Yw_sSL!eQ1F{UB&Hw-a diff --git a/README.md b/README.md index 2585fa0..df74bcc 100644 --- a/README.md +++ b/README.md @@ -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