MIC-DKFZ / HD-BET

MRI brain extraction tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'HD-bet' is not an internal or external command, nor a runnable program or batch file.

ljljlj02 opened this issue · comments

commented

Hello, I want to know if HD-BET supports Win10 system,,I have run the following command
cd HD-BET pip install -e . ,However, there is a problem in executing the following code hd-bet --help
HD-bet' is not an internal or external command, nor a runnable program or batch file.

I don't know what went wrong,
Any help would be greatly appreciated。

unfortunately Windows is not supported. You need a Linux-based operating system

unfortunately Windows is not supported. You need a Linux-based operating system

Any plan to port it to Windows?

I am willing to accept PR's ;-)

We were able to run the HDBrainExtraction 3D Slicer extension (that is packaging an HD-BET model) successfully in Windows 11 on a GTX 1060 laptop.

commented

We were able to run the HDBrainExtraction 3D Slicer extension (that is packaging an HD-BET model) successfully in Windows 11 on a GTX 1060 laptop.

Nice.

Hello, I want to know if HD-BET supports Win10 system,,I have run the following command cd HD-BET pip install -e . ,However, there is a problem in executing the following code hd-bet --help, HD-bet' is not an internal or external command, nor a runnable program or batch file.

I don't know what went wrong, Any help would be greatly appreciated。

I solved this in a hacky way. you may rename the hd-bet file in main repo HD-BET directory to hd-bet.py, cd to that directory, and call it with python3 hd-bet.py -i <input> ...
You may also need to get cuda enabled torch as it may not get automatically installed: pip3 install -U torch --extra-index-url https://download.pytorch.org/whl/cu117

good solution, thanks for that!