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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature today only tuple are acceptable t = torchio.Resample((1,2,3)) but t = torchio.Resample([1,2,3]) raise an error Motivation
I use a json file to configure my torchio transform, and the tuple does not exist, so I can only specify list
Pitch
the change is very easy to do I just change
torchio/torchio/transforms/preprocessing/spatial/resample.py
Line 101 in 1384bd3
if ( isinstance(spacing, tuple) or isinstance(spacing, list) ) and len(spacing) == 3:
Alternatives
after my json parsing, I could transform list to tuple, but ... I do not see the point to restrict to tuple here ... ?
Additional context
The text was updated successfully, but these errors were encountered:
bbe157f
Thanks, @romainVala. Fixed in v0.18.44.
v0.18.44
Sorry, something went wrong.
No branches or pull requests
馃殌 Feature
today only tuple are acceptable
t = torchio.Resample((1,2,3))
but
t = torchio.Resample([1,2,3])
raise an error
Motivation
I use a json file to configure my torchio transform, and the tuple does not exist, so I can only specify list
Pitch
the change is very easy to do
I just change
torchio/torchio/transforms/preprocessing/spatial/resample.py
Line 101 in 1384bd3
by
Alternatives
after my json parsing, I could transform list to tuple, but ... I do not see the point to restrict to tuple here ... ?
Additional context
The text was updated successfully, but these errors were encountered: