Different issues with Auto3DSeg and its notebook tutorial #975
-
Hello everyone! I'm opening this discussion to talk about the different issues I've encountered using the auto3dseg_autorunner_ref_api.ipynb notebook tutorial.
import os
# Rename problematic files on the computer containing \n or \t
# Add any prefix that doesn't start with a, b, f, n, r, t, v, ', ", ?, \
prefix = "m_"
for path, subdirs, files in os.walk(work_dir):
for name in files:
old = os.path.join(path, name)
if os.path.basename(old).startswith(("network", "transform")):
os.rename(old, old.replace(os.path.basename(old), prefix + os.path.basename(old)))
# Change history containing mention of files changed above
for task in history:
for _, algo in task.items():
algo.fill_records = dict((prefix + key, value) if key.startswith(("network", "transform")) \
else (key, value) for (key, value) in algo.fill_records.items())
Thanks a lot in advance for any help you can provide! Best |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 10 replies
-
Hi @mingxin-zheng , Could you please help take a look at this question? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi @Maxime-Perret , Thank you for the fix and bringing it up to the discussions!
|
Beta Was this translation helpful? Give feedback.
-
Hello @mingxin-zheng and thanks for your reply!
|
Beta Was this translation helpful? Give feedback.
-
Thanks @Maxime-Perret !
|
Beta Was this translation helpful? Give feedback.
-
Interested in any update on the multi-moddal images as input for the auto3dseg? |
Beta Was this translation helpful? Give feedback.
-
A really nice work @Maxime-Perret just faced the problem a day ago. However, your solution gave me an error that : algo is a string object with no fill_records function. for your kind advice if anybody facing the same problem |
Beta Was this translation helpful? Give feedback.
-
Dear all, Is there any example of using auto3dseg for multimodal data? The tutorial provided in https://github.com/Project-MONAI/tutorials/tree/main/auto3dseg only uses 1 modality as input. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this is the best place to make a suggestion, but it would be interesting to think about a change to the training process, namely the way each epoch is counted. I think that in the current implementation each epoch corresponds to one iteration of all training data, which is the right definition for an epoch. However, for datasets with thousands of volumetric images, each epoch takes a very long time to train and store a checkpoint. I believe this was the reason that nnUNet defined each epoch as 200 iterations. Would it therefore be better to define each epoch as a predefined number of iterations, or do you think the current implementation is better/more efficient (due to the way MONAI data loading works)? |
Beta Was this translation helpful? Give feedback.
Thanks @Maxime-Perret !