nonechucks is a library that provides wrappers for PyTorch's datasets, samplers and transforms to allow for dropping unwanted or invalid samples dynamically. What if you have a dataset of 1000s of images, out of which a few dozen images are unreadable because the image files are corrupted? Or what if your dataset is a folder full of scanned PDFs that you have to OCRize, and then run a language detector on the resulting text, because you want only the ones that are in English? Or maybe you have an AlternateIndexSampler, and you want to be able to move to dataset[6] after dataset[4] fails while attempting to load! PyTorch's data processing module expects you to rid your dataset of any unwanted or invalid samples before you feed them into its pipeline, and provides no easy way to define a "fallback policy" in case such samples are encountered during dataset iteration.

Features

  • Dealing with bad samples
  • Use Transforms as Filters!
  • To install nonechucks, simply use pip
  • The function of transorms in PyTorch is restricted to modifying samples
  • PyTorch's data processing module expects you to rid your dataset of any unwanted or invalid sample
  • Datasets, samplers, and transforms to allow for dropping unwanted or invalid samples dynamically

Project Samples

Project Activity

See All Activity >

Categories

Data Pipeline

License

MIT License

Follow nonechucks

nonechucks Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of nonechucks!

Additional Project Details

Programming Language

Python

Related Categories

Python Data Pipeline Tool

Registered

2023-06-12