Line 458 in the file: https://github.com/MrGiovanni/UNetPlusPlus/blob/master/pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py
references self.upsample_mode, but this is not defined. To fix it it was necessary to replace upsample_mode = ... to self.upsample_mode in init.py of class Generic_UNetPlusPlus.