ANTs: Error: The number of shrink factors does not match the number of levels
Hello, I have used antsRegistrationSyN.sh command. However, there is an error now: The number of shrink factors does not match the number of levels. Shrink Factors: 4 Number Of Levels: 1 I could see that the shrink factor is 8x4x2x1. But how to deal with the level? Could you help me with this? Thanks!
My command is:
antsRegistrationSyN.sh -d 3 -f /data/DWI_original_data/000/T1_brain.nii.gz -m /data/ANTs/Oasis/T_template0_BrainCerebellum.nii.gz -t r -x /data/ANTs/Oasis/T_template0_BrainCerebellumRegistrationMask.nii.gz -o /data/T1_reg.nii.gz
T1_brain is my data, and T_template is the Oasis template.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (5 by maintainers)
When you put things in a square bracket, bash attempts to match characters to files in the current directory. So the behavior depends on the state of the current working directory. For example, starting in an empty directory,
Using spaces around the brackets prevents this