39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
|
|
[workspace]
|
|||
|
|
authors = ["Xiao Furen <xfr@dr.com>"]
|
|||
|
|
channels = ["conda-forge"]
|
|||
|
|
name = "CBT_project"
|
|||
|
|
platforms = ["linux-64"]
|
|||
|
|
version = "0.1.0"
|
|||
|
|
|
|||
|
|
# 管線入口腳本(從 repo 根目錄執行;追加參數用 `pixi run <task> -- <args>`)
|
|||
|
|
[tasks]
|
|||
|
|
preprocess = "python xfr_preprocess.py"
|
|||
|
|
pso = "python xfr_pso.py"
|
|||
|
|
de = "python xfr_de.py"
|
|||
|
|
check-spinous = "python xfr_check_spinous.py"
|
|||
|
|
rerender-spinous = "python xfr_rerender_spinous.py"
|
|||
|
|
cbt-native = "python xfr_cbt_native.py"
|
|||
|
|
record-planes = "python xfr_record_planes.py"
|
|||
|
|
plot-level = "python xfr_plot_level.py"
|
|||
|
|
|
|||
|
|
# conda 端只裝 python(與原 conda env cbt 的 3.14.3 同代),
|
|||
|
|
# 其餘全部走 pypi,版本對齊原 env。
|
|||
|
|
[dependencies]
|
|||
|
|
python = "3.14.*"
|
|||
|
|
|
|||
|
|
# torch 從 pytorch cu126 index 取(2.11.0+cu126);其餘走 PyPI。
|
|||
|
|
# 專案未使用 torchvision / torchaudio,原 env 有裝但管線未 import;
|
|||
|
|
# 需要時在此加回並沿用同一 index 即可。
|
|||
|
|
[pypi-dependencies]
|
|||
|
|
numpy = "==2.4.4"
|
|||
|
|
scipy = "==1.17.1"
|
|||
|
|
scikit-learn = "==1.8.0"
|
|||
|
|
matplotlib = "==3.10.8"
|
|||
|
|
nibabel = "==5.4.2"
|
|||
|
|
simpleitk = "==2.5.3"
|
|||
|
|
tinydb = "==4.9.0"
|
|||
|
|
pyswarm = "==0.6"
|
|||
|
|
torch = "==2.11.0"
|
|||
|
|
|
|||
|
|
[pypi-options]
|
|||
|
|
extra-index-urls = ["https://download.pytorch.org/whl/cu126"]
|