Commit 926455a5 authored by Benoit Martin's avatar Benoit Martin

fix test

parent 1922a045
Pipeline #57433989 failed with stages
in 21 minutes and 41 seconds
1 15 2
0.01256084375269333 0.036088223228829576
-0.051915106144806364 0.08795176803900412
-0.05080476206585205 0.03206758157006804
-0.03616821723128461 -0.11098143914841771
-0.4485238026353507 -0.2775045160537867
-0.3200151671840123 -0.10378759124155666
-0.07439326040024878 -1.026264276263024
-0.5605317975436774 -2.5340846008826032
-0.37354792374420737 -0.9374247361023509
-0.02667785358206046 -0.9807783940589657
-0.17814337924254128 -2.419664849795697
-0.11380011835194834 -0.8959583984727936
-0.0017102698041701388 -0.12722713680250178
-0.01142748772026331 -0.3142363898701941
-0.007346920081551837 -0.11697272825241062
0.0009621447879831019 0.2188030843400874
-0.00017576675231382855 0.5391162355022057
-0.001021197736316427 0.19914469973002907
0.005275880049631594 0.10670579308918146
-0.0010777460890530135 0.26576054407990995
-0.0056597849721893665 0.09745701627946238
0.009365010244897585 -0.6121416521422574
-0.0020871991031141714 -1.5015475356770156
-0.01011222239046673 -0.5556901524876976
0.005256905112444549 -0.598997271343757
-0.0011820353350151477 -1.4733962482123504
-0.005623294348433661 -0.5442224223156462
0.0011317132749699068 -0.0798378787185787
-0.0001862962389159537 -0.19428364694258263
-0.0011522854622324154 -0.07275412754513698
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Logger has been set to: DEBUG
>> No initial CP spacing given: using diffeo kernel width of 20.0
OMP_NUM_THREADS was not found in environment variables. An automatic value will be set.
......@@ -7,20 +6,20 @@ nofile (soft): 1024, nofile (hard): 4096
>> No specified state-file. By default, Deformetrica state will by saved in file: /tmp/pycharm_project_752/tests/functional_tests/data/registration/tetris/output__2/deformetrica-state.p.
>> Using a Sobolev gradient for the template data with the ScipyLBFGS estimator memory length being larger than 1. Beware: that can be tricky.
>> Setting the image grid downsampling factor to: 2.
instantiating kernel keops with kernel_width 20.0 and gpu_mode GpuMode.KERNEL. addr: 0x7fef0c22a4e0
instantiating kernel keops with kernel_width 20.0 and gpu_mode GpuMode.FULL. addr: 0x7f9d15112a90
>> Set of 15 control points defined.
>> Momenta initialized to zero, for 1 subjects.
dtype=float64
Started estimator: ScipyOptimize
>> Started estimator: ScipyOptimize
>> Scipy optimization method: L-BFGS-B
------------------------------------- Iteration: 1 -------------------------------------
>> Log-likelihood = -3.300E+04 [ attachment = -3.300E+04 ; regularity = 0.000E+00 ]
>> Log-likelihood = -2.940E+04 [ attachment = -2.940E+04 ; regularity = -2.113E+00 ]
>> Log-likelihood = -3.010E+04 [ attachment = -3.010E+04 ; regularity = -2.113E+00 ]
------------------------------------- Iteration: 2 -------------------------------------
>> Log-likelihood = -2.490E+04 [ attachment = -2.486E+04 ; regularity = -3.565E+01 ]
>> Log-likelihood = -2.755E+04 [ attachment = -2.754E+04 ; regularity = -1.211E+01 ]
>> STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT
>> Estimation took: 00 seconds
>> Estimation took: 02 seconds
Deformetrica.__del__()
......@@ -17,4 +17,4 @@ class RegistrationTetris(FunctionalTest):
@unittest.skipIf(not torch.cuda.is_available(), 'cuda is not available')
def test_configuration_2(self):
self.run_configuration(os.path.abspath(__file__), 'output__2', 'output_saved__2',
'model__2.xml', 'data_set.xml', 'optimization_parameters__2.xml', precision=1e-6)
'model__2.xml', 'data_set.xml', 'optimization_parameters__2.xml')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment