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
something like this1 (for use in notebook demos such as TomographicImaging/CIL-Demos#144):
data = cil.datasets.walnut.load()
btw internal logic could be roughly:
class Dataset: cache = os.getenv("CIL_DATASETS", "~/.cache/cil") @classmethod def load(cls): filename = brainweb.get_file( cls.source.rsplit("/", 1)[-1], cls.source, cache_dir=cls.cache) if filename.endswith(".zip"): return cls.load_from_zip(filename) raise ValueError(f"{filename}: unknown extension") class walnut(Dataset): source = "https://zenodo.org/record/4822516/files/walnut.zip"
loosely inspired by https://keras.io/api/datasets approach ↩
The text was updated successfully, but these errors were encountered:
We have a structure for data which could be used.
CIL/Wrappers/Python/cil/utilities/dataexample.py
Lines 39 to 47 in db5a2a6
Sorry, something went wrong.
hrobarts
No branches or pull requests
something like this1 (for use in notebook demos such as TomographicImaging/CIL-Demos#144):
btw internal logic could be roughly:
Footnotes
loosely inspired by https://keras.io/api/datasets approach ↩
The text was updated successfully, but these errors were encountered: