File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ WORKDIR /opt/monai
3030COPY requirements.txt requirements-min.txt requirements-dev.txt /tmp/
3131RUN cp /tmp/requirements.txt /tmp/req.bak \
3232 && awk '!/torch/' /tmp/requirements.txt > /tmp/tmp && mv /tmp/tmp /tmp/requirements.txt \
33- && python -m pip install --upgrade --no-cache-dir pip \
34- && python -m pip install --no-cache-dir -r /tmp/requirements-dev.txt
33+ && python -m pip install --upgrade --no-cache-dir --no-build-isolation pip wheel wheel-stub \
34+ && python -m pip install --no-cache-dir --no-build-isolation - r /tmp/requirements-dev.txt
3535
3636# compile ext and remove temp files
3737# TODO: remark for issue [revise the dockerfile #1276](https://github.com/Project-MONAI/MONAI/issues/1276)
Original file line number Diff line number Diff line change @@ -72,12 +72,13 @@ class BundleAlgo(Algo):
7272
7373 """
7474
75- def __init__ (self , template_path : PathLike ):
75+ def __init__ (self , template_path : PathLike | None = None ):
7676 """
7777 Create an Algo instance based on the predefined Algo template.
7878
7979 Args:
80- template_path: path to a folder that contains the algorithm templates.
80+ template_path: path to a folder that contains the algorithm templates. If this is not provided, it's value
81+ must be loaded with `load_state_dict`.
8182 Please check https://github.com/Project-MONAI/research-contributions/tree/main/auto3dseg/algorithm_templates
8283
8384 """
You can’t perform that action at this time.
0 commit comments