-
Notifications
You must be signed in to change notification settings - Fork 89
Description
GaNDLF Version
Version information of the GaNDLF package in the virtual environment.
0.0.13-dev
Desktop (please complete the following information):
- macOS
- Version 12.1
How did you install GaNDLF
I followed the steps on the documentation website, ie the following commands:
git clone https://github.com/CBICA/GaNDLF.git
cd GaNDLF
conda create -n venv_gandlf python=3.7 -y
conda activate venv_gandlf
conda install -c conda-forge mamba -y
mamba install -c pytorch pytorch torchvision -y
mamba install -c sdvillal openslide
pip install -e .
Dataset description
The dataset is titled RSNA_ASNR_MICCAI_BraTS2021_TrainingData_16July2021, referring to the 2021 BraTS training data.
Description from website:
Routine clinically-acquired multi-parametric MRI (mpMRI) scans of glioma, with pathologically confirmed diagnosis and available MGMT promoter methylation status (for the glioblastoma cases with such associated data). All BraTS mpMRI scans are available as NIfTI files (.nii.gz) for Segmentation, which is the use in this issue. These mpMRI scans describe a) native (T1) and b) post-contrast T1-weighted (T1Gd), c) T2-weighted (T2), and d) T2 Fluid Attenuated Inversion Recovery (T2-FLAIR) volumes.
Describe your question/problem
A clear and concise description of what issue you are facing.
I first edited the sample configuration file available in the gandlf repository titled ['config_segmentation_brats.yaml']:
patch size:
[128,128,128] to [64,64,64]
loss_function:
dcce to dc
optimizer
adam to sgd
I then executed:
python gandlf_run \
-c pathToConfigFile \
-I pathToDataCSV \
-m pathToEmptyModelDirectory \
-t True \
-d cuda
When run, it gave me the following error:
ValueError: The parameters are not the same as the ones stored in the previous run, please re-check.
I am not sure what this means and how to fix it. What should I do?
Error with surrounding context:
Traceback (most recent call last):
File "gandlf_run", line 87, in <module>
args.inputdata, args.config, args.modeldir, args.train, args.device, args.resetprev
File "/gpfs/fs001/cbica/comp_space/shrirama/project/meningioma/GaNDLF/GANDLF/cli/main_run.py", line 38, in main_run
"The parameters are not the same as the ones stored in the previous run, please re-check."
ValueError: The parameters are not the same as the ones stored in the previous run, please re-check.