While attempting to run deformetrica I have been getting a new error that I could not diagnose. I have pasted the output file from the run that has caused the error. It seems to focus on arg 3 and it having the wrong number of rows.
I was wondering if you had any idea what could have caused this.
Logger has been set to: WARNING
Traceback (most recent call last):
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/bin/deformetrica", line 10, in <module>
sys.exit(main())
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/deformetrica.py", line 117, in main
model_options=get_model_options(xml_parameters))
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/api/deformetrica.py", line 152, in estimate_registration
self.__launch_estimator(estimator, write_output)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/api/deformetrica.py", line 512, in __launch_estimator
estimator.update()
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/estimators/gradient_ascent.py", line 89, in update
with_grad=True)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/estimators/gradient_ascent.py", line 261, in _evaluate_model_fit
with_grad=with_grad)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/models/deterministic_atlas.py", line 336, in compute_log_likelihood
momenta, with_grad, device=device)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/models/deterministic_atlas.py", line 427, in _compute_attachment_and_regularity
device=device)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/models/deterministic_atlas.py", line 353, in _deform_and_compute_attachment_and_regularity
exponential.update()
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/model_tools/deformations/exponential.py", line 175, in update
self.shoot()
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/model_tools/deformations/exponential.py", line 212, in shoot
new_cp, new_mom = self._euler_step(self.shoot_kernel, self.control_points_t[i], self.momenta_t[i], dt)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/core/model_tools/deformations/exponential.py", line 485, in _euler_step
return cp + h * kernel.convolve(cp, cp, mom), \
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/support/kernels/keops_kernel.py", line 81, in convolve
res = self.gaussian_convolve[d - 2](gamma, x.contiguous(), y.contiguous(), p.contiguous(), device_id=device_id)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/pykeops/torch/generic/generic_red.py", line 313, in __call__
out = GenredAutograd.apply(self.formula, self.aliases, backend, self.dtype, device_id, ranges, *args)
File "/ihome/crc/install/python/anaconda3.7-2019.03_deformetrica/lib/python3.7/site-packages/pykeops/torch/generic/generic_red.py", line 41, in forward
result = myconv.genred_pytorch(nx, ny, tagCPUGPU, tag1D2D, tagHostDevice, device_id, ranges, *args)
RuntimeError: [KeOps] Wrong number of rows for arg number 3 : is 343 but should be 648