282857341 / nnFormer

MIT License
789 stars 83 forks source link

network_trainer was found but is not derived from nnFormerTrainer. #66

Open yushz opened 2 years ago

yushz commented 2 years ago

Hi, excuse me.A problem occurred using the hippocampus dataset, which did not report an error before using the LITS dataset.Hope to get your answer.

yushz commented 2 years ago

4~$O$OGJBQQ{BY_DN0A(HZL

282857341 commented 2 years ago

The problem occurs when the prefix of the trainer file is not started with the nnFormerTrainer. Please check the class name inside the trainer file.

yushz commented 2 years ago

The problem occurs when the prefix of the trainer file is not started with the nnFormerTrainer. Please check the class name inside the trainer file.

I am honored to get your reply, I double checked the trainer file as well as the class immediately after I received your reply, I found that what I wrote might be correct, please come back to me if there might be any other reason? P550XZHUE6{~NDIXD9RJ0LV

282857341 commented 2 years ago

Let nnFormerTrainerV2_nnformer_Hippocampus.py inherits the nnFormerTrainer.py. And network_triainer_Hippocampus.py, network_triainer_LITS.py, nnFormerTrainer_Hippocampus.py and nnFormerTrainer_LITS.py are not used, unless you want to modify the code for different datasets.