Hello, I know there are a lot of closed issues regarding the number of epochs. However, I do not find anywhere which is the command that needs to be used on the Command Prompt after you have created the new class for 100 epochs or what are the steps that need to be followed. Could you help me, please?
I used this:
import torch
from nnunetv2.training.nnUNetTrainer.nnUNetTrainer import nnUNetTrainer
Hello, I know there are a lot of closed issues regarding the number of epochs. However, I do not find anywhere which is the command that needs to be used on the Command Prompt after you have created the new class for 100 epochs or what are the steps that need to be followed. Could you help me, please?
I used this:
import torch from nnunetv2.training.nnUNetTrainer.nnUNetTrainer import nnUNetTrainer
class nnUNetTrainer_100epochs(nnUNetTrainer): def init(self, plans: dict, configuration: str, fold: int, dataset_json: dict, unpack_dataset: bool = True, device: torch.device = torch.device('cuda')): """used for debugging plans etc""" super().init(plans, configuration, fold, dataset_json, unpack_dataset, device) self.num_epochs = 100
From: https://github.com/MIC-DKFZ/nnUNet/blob/master/nnunetv2/training/nnUNetTrainer/variants/training_length/nnUNetTrainer_Xepochs.py