Error during Training Models process #783
-
Dear AxonDeepSeg developers, I'm trying the IVADOMED method of Training Models procedure you provided. I have downloaded the dataset and tried to train the model. Do you have any suggestions for this situation? All the best, -- 2024-01-26 16:42:12.634 | INFO | ivadomed.utils:get_command:387 - No CLI argument given for command: ( --train | --test | --segment ). Will check config file for command... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 19 replies
-
Hi @Benson-Hsueh - just from a quick look, it appears you're in the AxonDeepSeg virtual environment - was IVADOMED installed in this same env? If you want to train data, it may be best to download IVADOMED directly (not through AxonDeepSeg) via their instructions, because the installation done through ADS may not have all of the acoompanying files / they may not get downloaded where it can "see" them. Alternatively, you could try to find the full path of the config file, which appears to be |
Beta Was this translation helpful? Give feedback.
-
@Benson-Hsueh I understand you are trying to train a model on your own data and ground truth masks. I remember you opened a discussion a few months ago with your BF images. How did that work out?
So if I understand correctly you have manually corrected segmentation masks for both TEM and BF images, and would like to train your own model for a better performance on your data, is that correct? If this is the case, Would you mind sharing some more information on your project? (e.g. how many segmentation masks you have, why you decided to train a model, etc). If you have a lot of images, we could even assist you with training (e.g. using our computer infrastructures). |
Beta Was this translation helpful? Give feedback.
Hi @Benson-Hsueh !
Though their instructions recommend using
python -m venv
to make the virtual environment, in my own experience using IVADOMED I've had an easier time using it with aconda
env, and actually made one today and installed it from scratch for another user issue. Since you already were using AxonDeepSeg and followed those installation instructions, I'm going to assume you already have miniconda or anaconda installed.Here are the steps I would recommend:
And follow the prompts (eg type
yes
ory
) when asked.These are the ste…