Skip to main content

No project description provided

Project description

whaTFRecordsWriter

Overview

Are you having trouble saving your precious data into an easy format for training and testing? Well, you're in luck because with whaTFRecordsWriter we are trying to minimize the effort required to simplify your dataset with TFRecord.

Installation

Python 3.6+ is required

pip install whaTFRecordsWriter

Example

Converting Images with no labels to tfrecords

# 'test.tfrecords' is what you want to name your tfrecords
# 'test_data' is the file directory that has the following structure:
# test_data: /
#       [image_0001.jpg]
#       [image_0002.jpg]
#       [image_000x.jpg]
#       ...
# 'writes_per_tfrecords' is the number of images to save per tfrecord.
import whaTFRecordsWriter as wr
wr.write_images_folder('test.tfrecords', 'test_data', writes_per_tfrecords=10)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whaTFRecordsWriter-0.0.3.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file whaTFRecordsWriter-0.0.3.tar.gz.

File metadata

  • Download URL: whaTFRecordsWriter-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.5

File hashes

Hashes for whaTFRecordsWriter-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0aad095fc36c6425cddbd66e4a6fe5f8a0a09ece3de1ee9e1d06454485092618
MD5 e4ee1d0f6614d989d231a418949e88ae
BLAKE2b-256 45d976a35a728b391b56ab58392fbc66ddb6e847802905792665674830be41a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page