-
-
Notifications
You must be signed in to change notification settings - Fork 390
Description
Describe the problem
I'm using the ANTs antsRegistration
CMD-line executable, with SyN as transform and CC as metric. I'm using the --random-seed
option to set the value, but no matter what I set it (0, which should use system time, or any positive non-0 value, which should set that as seed), the output and metric/convergence values over time are always exactly the same. I've also tried the ANTS_RANDOM_SEED
environment variable, but no success with this, either.
Following the wiki, I've also tried to specify a sampling strategy for CC (random
with percentage [0-1]
), but this does not change the result. I've used --verbose
to verify that this sampling strategy is indeed set.
To Reproduce
Use the antsRegistration
script with two images, using the SyN transform with CC, and try to set the random seed with --random-seed [int]
.
System information (please complete the following information)
- OS: Linux CentOS
- OS version: Stream release 8
- Type of system: HPC cluster
ANTs version information
- ANTs code version: v2.4.2.post39-gbaa2bd1
- ANTs installation type: Compiled from source
Additional information