Tensorshow
Tensorshow is a python module for inspecting TFRecords.
Tensorshow can convert a TFRecord to a pandas dataframe.
import tensorshow
# The column labels of `df` are the features of the tf.train.example protobufs.
df = tensorshow.dataframe_from('path/to/tfrecord')
Tensorshow can be used as a command line utility. It will convert a tfrecord to an html file on the command line.
python tensorshow --tfrecord=/Users/joel/train.tfrecord --html_file=Users/joel/out.html
Images stored as byte strings will be automatically detected and displayed as images rather than text. The out.html file looks like this when you open it with a browser.
Tensorshow can be used in a jupyter notebook to preview a TFRecord. The head function will show the first 5 tf.train.examples by default and the random function will show five random tf.train.examples from the tfrecord.
Metadata
Release files for tensorshow 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tensorshow-0.0.2.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tensorshow-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / tensorshow-0.0.2.tar.gz
| Download URL | tensorshow-0.0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
958ef40ee1fd17c937a7652c5973ac1b8383c71852f1927fc9e65a043c249784
|
|
BLAKE2b-256 checksum How to use checksums |
e8b1b17f924cf071005ee7cfb110a916ebfafd2c8a61aa001efd3f81ae6c5ef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|
Release files / tensorshow-0.0.2-py3-none-any.whl
| Download URL | tensorshow-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d55bcd62ad7bbccb37770dd6698e0411eb7faa8c5343b40e06650a7af0a8dac0
|
|
BLAKE2b-256 checksum How to use checksums |
435c5b0702f8d36249da41225172221fc1716b77f84c88c6e973bc93a1017543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|