Following the quickstart notebook, src/preprocessing/mri_preprocess_3d_simple.py fails on line 7:
from HD_BET.hd_bet import hd_bet
ModuleNotFoundError: No module named 'HD_BET.hd_bet'
The available pip versions of HD-BET (1.1 and 2.x) use different import paths:
- v1.1:
from HD_BET.run import run_hd_bet
- v2.x:
from HD_BET.hd_bet_prediction import get_hdbet_predictor, hdbet_predict
Could you clarify which version or install method the preprocessing script expects? Happy to submit a PR once I know the intended target.
Environment:
- Python 3.12
- Installed dependencies via pip per README
Following the quickstart notebook,
src/preprocessing/mri_preprocess_3d_simple.pyfails on line 7:The available pip versions of HD-BET (1.1 and 2.x) use different import paths:
from HD_BET.run import run_hd_betfrom HD_BET.hd_bet_prediction import get_hdbet_predictor, hdbet_predictCould you clarify which version or install method the preprocessing script expects? Happy to submit a PR once I know the intended target.
Environment: