We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Traceback (most recent call last):
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec exec(code, globals, locals)
File d:\codes\tmp\drrtest.py:33 img = drr(rotations, translations, parameterization="euler_angles", convention="ZXY")
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\torch\nn\modules\module.py:1194 in _call_impl return forward_call(*input, **kwargs)
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\drr.py:166 in forward img = self.render(self.density, source, target, mask_to_channels, **kwargs)
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\drr.py:189 in render img = self.renderer(
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:44 in forward alphas = _get_alphas(
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:111 in _get_alphas alphas = _filter_intersections_outside_volume(alphas, source, target, dims, eps)File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:119 in _filter_intersections_outside_volume alphas = alphas[..., good_idxs.any(dim=[0, 1])]
_**TypeError: any() received an invalid combination of arguments - got (dim=list, ), but expected one of:
When I run the sample program, the error occurred. Look the message, how to resolve it? Python 3.9
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last):
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File d:\codes\tmp\drrtest.py:33
img = drr(rotations, translations, parameterization="euler_angles", convention="ZXY")
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\torch\nn\modules\module.py:1194 in _call_impl
return forward_call(*input, **kwargs)
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\drr.py:166 in forward
img = self.render(self.density, source, target, mask_to_channels, **kwargs)
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\drr.py:189 in render
img = self.renderer(
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\torch\nn\modules\module.py:1194 in _call_impl
return forward_call(*input, **kwargs)
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:44 in forward
alphas = _get_alphas(
File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:111 in _get_alphas
alphas = _filter_intersections_outside_volume(alphas, source, target, dims, eps)File D:\ProgramData\anaconda3\envs\torch\lib\site-packages\diffdrr\renderers.py:119 in _filter_intersections_outside_volume
alphas = alphas[..., good_idxs.any(dim=[0, 1])]
_**TypeError: any() received an invalid combination of arguments - got (dim=list, ), but expected one of:
didn't match because some of the keywords were incorrect: dim
When I run the sample program, the error occurred. Look the message, how to resolve it?
Python 3.9
The text was updated successfully, but these errors were encountered: