Please see the following post regarding a required workaround. Note this may change as the various dependencies of the TotalSegmentator
python package change.
Aha! So, it is not a too old package, but a too recent package.
Unfortunately, developer of dynamic_network_architectures broke backward compatibility with a recent update. ResidualEncoderUNet package must be imported as from dynamic_network_architectures.architectures.residual_unet import ResidualEncoderUNet now, but since this change was snuck into a minor version update (0.2 to 0.4) developer of TotalSegmentator did not suspect anything bad would happen.
As a workaround, you can downgrade d…