Skip to content

Commit

Permalink
update dynamic network architecture imports
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Feb 19, 2024
1 parent 9fd926b commit f569e34
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import numpy as np
from batchgenerators.utilities.file_and_folder_operations import load_json, join, save_json, isfile, maybe_mkdir_p
from dynamic_network_architectures.architectures.unet import ResidualEncoderUNet
from dynamic_network_architectures.architectures.residual_unet import ResidualEncoderUNet
from dynamic_network_architectures.architectures.unet import PlainConvUNet
from dynamic_network_architectures.building_blocks.helper import convert_dim_to_conv_op, get_matching_instancenorm

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Union, List, Tuple

from dynamic_network_architectures.architectures.unet import ResidualEncoderUNet
from dynamic_network_architectures.architectures.residual_unet import ResidualEncoderUNet
from torch import nn

from nnunetv2.experiment_planning.experiment_planners.default_experiment_planner import ExperimentPlanner
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from dynamic_network_architectures.architectures.unet import ResidualEncoderUNet
from dynamic_network_architectures.architectures.residual_unet import ResidualEncoderUNet
from dynamic_network_architectures.architectures.unet import PlainConvUNet
from dynamic_network_architectures.building_blocks.helper import convert_dim_to_conv_op, get_matching_batchnorm
from dynamic_network_architectures.initialization.weight_init import init_last_bn_before_add_to_0, InitWeights_He
Expand Down
3 changes: 2 additions & 1 deletion nnunetv2/utilities/get_network_from_plans.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from dynamic_network_architectures.architectures.unet import PlainConvUNet, ResidualEncoderUNet
from dynamic_network_architectures.architectures.unet import PlainConvUNet
from dynamic_network_architectures.architectures.residual_unet import ResidualEncoderUNet
from dynamic_network_architectures.building_blocks.helper import get_matching_instancenorm, convert_dim_to_conv_op
from dynamic_network_architectures.initialization.weight_init import init_last_bn_before_add_to_0
from nnunetv2.utilities.network_initialization import InitWeights_He
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nnunetv2"
version = "2.3"
version = "2.3.1"
requires-python = ">=3.9"
description = "nnU-Net is a framework for out-of-the box image segmentation."
readme = "readme.md"
Expand Down Expand Up @@ -32,7 +32,7 @@ keywords = [
dependencies = [
"torch>=2.0.0",
"acvl-utils>=0.2",
"dynamic-network-architectures<=0.3",
"dynamic-network-architectures>=0.4",
"tqdm",
"dicom2nifti",
"scipy",
Expand Down

0 comments on commit f569e34

Please sign in to comment.