{"id":16060551,"url":"https://github.com/hamedmp/imageflow","last_synced_at":"2025-04-09T13:10:24.018Z","repository":{"id":62570519,"uuid":"46683111","full_name":"HamedMP/ImageFlow","owner":"HamedMP","description":"A simple wrapper of TensorFlow for Converting, Importing (and Soon, Training) Images in tensorflow.","archived":false,"fork":false,"pushed_at":"2017-04-29T08:55:52.000Z","size":63,"stargazers_count":164,"open_issues_count":8,"forks_count":58,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-02T12:05:24.813Z","etag":null,"topics":["imageflow","tensorflow","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HamedMP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-22T22:17:31.000Z","updated_at":"2025-03-23T03:48:27.000Z","dependencies_parsed_at":"2022-11-03T17:15:35.447Z","dependency_job_id":null,"html_url":"https://github.com/HamedMP/ImageFlow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamedMP%2FImageFlow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamedMP%2FImageFlow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamedMP%2FImageFlow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamedMP%2FImageFlow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HamedMP","download_url":"https://codeload.github.com/HamedMP/ImageFlow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045245,"owners_count":21038554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imageflow","tensorflow","wrapper"],"created_at":"2024-10-09T04:05:20.843Z","updated_at":"2025-04-09T13:10:23.984Z","avatar_url":"https://github.com/HamedMP.png","language":"Python","readme":"# Notice - This version of imageflow is no longer under maintenance and major update is required.\n**The tensorflow version is too old and the library is not working as expected. You are welcome to add your use-cases in the Issues as Feature request to be considered in the new versions. Sorry for the inconvenience.**\n\n\n# ImageFlow\nA simple wrapper of TensorFlow for Converting, Importing (and Soon, Training) Images in tensorflow.\n\nInstallation:\n```\npip install imageflow\n```\n\nUsage:\n\n```python\nimport imageflow\n```\n\n#### Convert a directory of images and their labels to `.tfrecords`\nJust calling the following function will make a `filename.tfrecords` file in the directory `converted_data` in your projects root(where you call this method).\n\n```python\nconvert_images(images, labels, filename)\n```\n\nThe `images` should be an array of shape `[-1, height, width, channel]` and has the same rows as the `labels`\n\n#### Read distorted and normal data from `.tfrecords` in multi-thread manner:\n```python\n# Distorted images for training\nimages, labels = distorted_inputs(filename='../my_data_raw/train.tfrecords', batch_size=FLAGS.batch_size,\n                                      num_epochs=FLAGS.num_epochs,\n                                      num_threads=5, imshape=[32, 32, 3], imsize=32)\n\n# Normal images for validation\nval_images, val_labels = inputs(filename='../my_data_raw/validation.tfrecords', batch_size=FLAGS.batch_size,\n                                    num_epochs=FLAGS.num_epochs,\n                                    num_threads=5, imshape=[32, 32, 3])\n```\n\n\nDependencies:\n\n* TensorFlow ( =\u003e version 0.7.0)\n* Numpy\n* Pillow","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamedmp%2Fimageflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamedmp%2Fimageflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamedmp%2Fimageflow/lists"}