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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should the output look like this instead of always returning a tuple (including a tuple of 1 when just images are returned):
def __get_item__(self, index, ...): ... if not self.targets and not return_wcs: return img else: output = [img] if self.targets: output += [targets] if return_wcs: output += [wcs_] return output
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Should the output look like this instead of always returning a tuple (including a tuple of 1 when just images are returned):
The text was updated successfully, but these errors were encountered: