{ "info": { "author": "Shih-Ming Wang", "author_email": "swang150@ucsc.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Tfignite\n\nTfignite is a project that stems from [ignite](https://github.com/pytorch/ignite). Ignite is a high-level library to help with training neural networks in PyTorch, while Tfignite bares similar design / api and is designed dedicated to tensorflow 2.0.\n\nFor the full API reference, read the [online documentation](https://ipod825.github.io/tfignite/docs/html/index.html). For example usage, check the [examples](https://github.com/ipod825/tfignite/tree/master/examples) directory.\n\n# Why tfignite?\nTfignite separates training/evaluation loop from model/dataset computation graph. This makes a single training/evaluation script highly portable to different project and developers only need to focus on how to build the model and dataset for their tasks. The difference from [Keras](https://keras.io) is that the training/evaluation loop is not part of Model's APIs; instead, developers define model forward pass function, which is then injected into the loop defined by an `Engine`. Users can also register event handlers in different phases of a training/evaluation loop (for e.g. `ITERATION_STARTED`).\n\nApart from the aforementioned separation of model forward pass function and boilerplate loop in `Engine` ([ignite](https://github.com/pytorch/ignite) has full credits for this). Tfignite further reduce boilerplate code by defining the `Model`, `Dataset`, `Callback`, `ArgumentParser` interfaces:\n1. `Model`: Defines the `create_trainer` and the `create_evaluator` function, both of which injects a forward pass function to an `Engine` and returns it to the training/evaluation script.\n2. `Dataset`: Defines an unified interface `Dataset.create` wrapping over `tf.data.Dataset`.\n3. `Callback`: Defines a interface to group related `Engine` event handlers in different phases. For example, `Checkpointer` loads the checkpoint at the beginning of training and stores the checkpoint on `EPOCH_COMPLETED`.\n4. `ArgumentParser`: Inherited from `argparse.ArgumentParser`, the parser pass itself to the Model and Dataset classes for parsing Model-specific and Dataset-specific arguments. This further separates the Model development and the training/evaluation script.\n\n\n\n\n# Installation\n\n~~~{.bash}\npip install tfignite\n~~~\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/ipod825/tfignite/tarball/0.0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ipod825/tfignite", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "tfignite", "package_url": "https://pypi.org/project/tfignite/", "platform": "", "project_url": "https://pypi.org/project/tfignite/", "project_urls": { "Download": "https://github.com/ipod825/tfignite/tarball/0.0.1", "Homepage": "https://github.com/ipod825/tfignite" }, "release_url": "https://pypi.org/project/tfignite/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Hight level training routine for tensorflow.", "version": "0.0.4", "yanked": false, "yanked_reason": null }, "last_serial": 6095094, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4eb3a2c9b95bc2e5a4ae8c3421790eb6", "sha256": "73508e063c67cf91fbbc3084b530dec6f1ef2aded0d11f66a29bffca3440b818" }, "downloads": -1, "filename": "tfignite-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4eb3a2c9b95bc2e5a4ae8c3421790eb6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10869, "upload_time": "2019-10-20T13:03:01", "upload_time_iso_8601": "2019-10-20T13:03:01.758150Z", "url": "https://files.pythonhosted.org/packages/65/85/f8c4e32b8f5180f00287163de4bde108fdbc162a373761d7e7ba158f3632/tfignite-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "094eb9253ade95f42d0c72f82499153b", "sha256": "e577ad2448c02ae709b9b1c522453bdd4246daf68c54bdc04591ac996760fdd7" }, "downloads": -1, "filename": "tfignite-0.0.1.tar.gz", "has_sig": false, "md5_digest": "094eb9253ade95f42d0c72f82499153b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8494, "upload_time": "2019-10-20T13:03:04", "upload_time_iso_8601": "2019-10-20T13:03:04.164879Z", "url": "https://files.pythonhosted.org/packages/5c/e8/29c8ad24582d6a587559d20c0b2b1611bd2d7ddce3c6512bfed192637643/tfignite-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "dc5470f77210efe3fc013a275e37bc5c", "sha256": "4df0658a8673186aad51bee0037ef2166e820320e902bc6d0006b1a5c02be7ce" }, "downloads": -1, "filename": "tfignite-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "dc5470f77210efe3fc013a275e37bc5c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10864, "upload_time": "2019-10-21T17:13:56", "upload_time_iso_8601": "2019-10-21T17:13:56.954872Z", "url": "https://files.pythonhosted.org/packages/ca/ba/ec9260528ec90b91e3a1313e091128e2c08a6c53454ca8682113fdc7b9f0/tfignite-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "cf1a9c194cfd664268497ff7a96669a5", "sha256": "740a339dbca74febf0cd72b1536478b8c162f2d5e6431cca920fb12bd688beae" }, "downloads": -1, "filename": "tfignite-0.0.2.tar.gz", "has_sig": false, "md5_digest": "cf1a9c194cfd664268497ff7a96669a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8489, "upload_time": "2019-10-21T17:13:58", "upload_time_iso_8601": "2019-10-21T17:13:58.745046Z", "url": "https://files.pythonhosted.org/packages/51/f0/e4ea64689d51790ab6213745049ba91b9dd5f4d6ad6ee6f52ade04707fa4/tfignite-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "5d9320b98b59f5c147f71d6fb679db38", "sha256": "751b32563d075dac091381e6f44d1e94b4c112449bc1dab75bc00f1ef6346ea5" }, "downloads": -1, "filename": "tfignite-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "5d9320b98b59f5c147f71d6fb679db38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11240, "upload_time": "2019-10-31T17:01:32", "upload_time_iso_8601": "2019-10-31T17:01:32.209359Z", "url": "https://files.pythonhosted.org/packages/74/59/2da220c43e97b8889897028bc2f877dc34ecb2b78598a4e02e4b3e31aaca/tfignite-0.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "35e757dc962824a7b8faecd41745c641", "sha256": "3e323469d3453095bc1c39c7d82722c46326af3253d7cccfec606cc39765d828" }, "downloads": -1, "filename": "tfignite-0.0.3.tar.gz", "has_sig": false, "md5_digest": "35e757dc962824a7b8faecd41745c641", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8987, "upload_time": "2019-10-31T17:01:33", "upload_time_iso_8601": "2019-10-31T17:01:33.355186Z", "url": "https://files.pythonhosted.org/packages/b6/68/e87ae3701b6611d43bb94778c1bc12155937d0c22e9e4b5e7b2ca5271948/tfignite-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "de50bfffe06a10fa52ecc662229c2f3b", "sha256": "19fa3425a8a4373e2078913a09576cfd8f71cd440b411bcd51550068f93779b3" }, "downloads": -1, "filename": "tfignite-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "de50bfffe06a10fa52ecc662229c2f3b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12366, "upload_time": "2019-11-07T18:32:03", "upload_time_iso_8601": "2019-11-07T18:32:03.039045Z", "url": "https://files.pythonhosted.org/packages/19/92/93711e7228a0098fc6d45653a7a449fe5e1d4409697a38d910b32fac22d5/tfignite-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "36dfd51c890cef23772f9fe2a6d474e8", "sha256": "99b676165e06b366f75eaa92f47b69a1dc05e90ecd0df87eeb4dd6ab9b77d4a5" }, "downloads": -1, "filename": "tfignite-0.0.4.tar.gz", "has_sig": false, "md5_digest": "36dfd51c890cef23772f9fe2a6d474e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10402, "upload_time": "2019-11-07T18:32:05", "upload_time_iso_8601": "2019-11-07T18:32:05.522787Z", "url": "https://files.pythonhosted.org/packages/32/14/e55bb9d81a29bce07e63cd71e267addf02886418522fbf60ded9f4d93e6a/tfignite-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de50bfffe06a10fa52ecc662229c2f3b", "sha256": "19fa3425a8a4373e2078913a09576cfd8f71cd440b411bcd51550068f93779b3" }, "downloads": -1, "filename": "tfignite-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "de50bfffe06a10fa52ecc662229c2f3b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12366, "upload_time": "2019-11-07T18:32:03", "upload_time_iso_8601": "2019-11-07T18:32:03.039045Z", "url": "https://files.pythonhosted.org/packages/19/92/93711e7228a0098fc6d45653a7a449fe5e1d4409697a38d910b32fac22d5/tfignite-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "36dfd51c890cef23772f9fe2a6d474e8", "sha256": "99b676165e06b366f75eaa92f47b69a1dc05e90ecd0df87eeb4dd6ab9b77d4a5" }, "downloads": -1, "filename": "tfignite-0.0.4.tar.gz", "has_sig": false, "md5_digest": "36dfd51c890cef23772f9fe2a6d474e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10402, "upload_time": "2019-11-07T18:32:05", "upload_time_iso_8601": "2019-11-07T18:32:05.522787Z", "url": "https://files.pythonhosted.org/packages/32/14/e55bb9d81a29bce07e63cd71e267addf02886418522fbf60ded9f4d93e6a/tfignite-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }