Releases: szymonmaszke/torchdatasets
Python 3..6 & Google Colab support
This minor release introduces Python 3.6
compatibility hence the library can now be freely used on Google's Colab.
Additional changes:
- Improved
related
section in documentation - Introduced official library alias (
td
,import torchdata as td
) throughout documentation - Redesign of
README
& example oftorchvision
integration.
Minor bug fixes
Up to this point only single bug was found (torchdata.WrapDataset
performing infinite recursion).
This is probably the last 0.1.x
release, next version (0.2.0
) will focus on improvements of pipeline
related minor issues, naming and finishing documentation.
Necessary extensions
This release was focused on missing functionalities, only minor improvements (beside documentation) and coverage this time.
This is the last pre-release before releasing for wider audience.
Major Features and Improvements:
- Refactor concrete
datasets
intotorchdata.datasets
module (onlytorchdata.Dataset
andtorchdata.Iterable
are now available insidetorchdata
main namespace) torchdata.Iterable
gotapply
(just liketorchdata.Dataset
) andfilter
abilities- Add
torchdata.datasets.WrapDataset
andtorchdata.datasets.WrapIterable
, which act as a proxy between existingtorch.utils.data.Dataset
/torch.utils.data.IterableDataset
andtorchdata
counterparts. Using those classes, one can easily transformtorchvision
datasets or any other pre-made and usemap
,cache
and a-like on them. torchdata.Dataset
gotreduce
operation
Bug fixes:
- Minor test coverage improvements in uncertain places
Bug fixes and test coverage
Another pre-release focused mainly on bug fixing and maintenance of current functionality. All changes are breaking at this point and API should be considered unstable.
Major Features and Improvements:
- Added
torchdata.modifiers.Lambda
(arbitrary function can modify anycacher
) - Made
torchdata.cacher.Pickle
work as a context manager (cleaning cache directory after block) - Function arguments come first unless
varargs
have to be specified. Mainly changestorchdata.modifiers
module torchdata.maps.Drop
andtorchdata.maps.Select
return single element instead of single elementtuple
Fixes
- Added
modifiers
to__init__
- Fix incorrect
OverSampler
andUnderSampler
behaviour - Fix
torchdata.cacher.Pickle
to use correct binary format - Minor fixes dictated by unit tests (see appropriate commits)
Initial release
Hello 😄 ,
This is initial release of torchdata
library, which currently should be considered as alpha.
To see what it's all about, check README.md.
To get in-depth info, check documentation.
Hope you will have more fun with data and PyTorch from now on, cheers 💯