{ "info": { "author": "Duc Nguyen", "author_email": "adnguyen@yonsei.ac.kr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: Microsoft :: Windows :: Windows 10", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": "# Introduction\n![Python - Version](https://img.shields.io/pypi/pyversions/neuralnet-pytorch.svg)\n[![PyPI - Version](https://img.shields.io/pypi/v/neuralnet-pytorch.svg)](https://pypi.org/project/neuralnet-pytorch/)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/neuralnet-pytorch.svg)](https://pypi.org/project/neuralnet-pytorch/)\n[![Github - Tag](https://img.shields.io/github/tag/justanhduc/neuralnet-pytorch.svg)](https://github.com/justanhduc/neuralnet-pytorch/releases/tag/rel-0.0.4)\n[![License](https://img.shields.io/github/license/justanhduc/neuralnet-pytorch.svg)](https://github.com/justanhduc/neuralnet-pytorch/blob/master/LICENSE.txt)\n\n__A high level framework for general purpose neural networks in Pytorch.__\n\nPersonally, going from Theano to Pytorch is pretty much like time traveling from 90s to the modern day. \nHowever, despite a lot of bells and whistles, I still feel there are some missing elements from Pytorch \nwhich are confirmed to be never added to the library. \nTherefore, this library is written to add more features to the current magical Pytorch. All the modules here\ndirectly subclass the corresponding modules from Pytorch, so everything should still be familiar. For example, the \nfollowing snippet in Pytorch\n\n```\nfrom torch import nn\nmodel = nn.Sequential(\n nn.Conv2d(1, 20, 5, padding=2),\n nn.ReLU(),\n nn.Conv2d(20, 64, 5, padding=2),\n nn.ReLU()\n)\n```\n\ncan be rewritten in Neuralnet-pytorch as \n```\nimport neuralnet_pytorch as nnt\nmodel = nnt.Sequential(\n nnt.Conv2d(1, 20, 5, padding='half', activation='relu'),\n nnt.Conv2d(20, 64, 5, padding='half', activation='relu')\n)\n```\n\nwhich is the same as the native Pytorch, or \n\n```\nimport neuralnet_pytorch as nnt\nmodel = nnt.Sequential(input_shape=1)\nmodel.add_module('conv1', nnt.Conv2d(model.output_shape, 20, 5, padding='half', activation='relu'))\nmodel.add_module('conv2', nnt.Conv2d(model.output_shape, 64, 5, padding='half', activation='relu'))\n```\nwhich frees you from a lot of memorizations and manual calculations when adding one layer on top of another. \nTheano folks will also find some reminiscence as many functions are highly inspired by Theano. \n\n# Requirements\n\n[Pytorch](https://pytorch.org/) >= 1.0.0\n\n[Matplotlib](https://matplotlib.org/)\n\n[Visdom](https://github.com/facebookresearch/visdom)\n\n[Tensorboard](https://www.tensorflow.org/tensorboard)\n\n[Gin-config](https://github.com/google/gin-config) (optional)\n\n# Installation\n\nStable version\n```\npip install --upgrade neuralnet-pytorch\n```\n\nBleeding-edge version\n\n```\npip install git+git://github.com/justanhduc/neuralnet-pytorch.git@master\n```\n\nTo install the version with some collected Cuda/C++ ops, use\n\n```\npip install git+git://github.com/justanhduc/neuralnet-pytorch.git@fancy\n```\n\n# Usages\n\nThe manual reference is still under development and is available at https://neuralnet-pytorch.readthedocs.io.\n\n# TODO\n\n- [x] Adding introduction and installation \n- [x] Writing documentations\n- [ ] Adding examples\n\n# Disclaimer\n\nThis package is a product from my little free time during my PhD, \nso most but not all the written modules are properly checked. \nNo replacements or refunds for buggy performance. \nAll PRs are welcome. \n\n# Acknowledgements\n\nThe CUDA Chamfer distance is taken from the [AtlasNet](https://github.com/ThibaultGROUEIX/AtlasNet) repo.\n\nThe AdaBound optimizer is taken from its [official repo](https://github.com/Luolc/AdaBound).\n\nThe adapted Gin for Pytorch code is taken from [Gin-config](https://github.com/google/gin-config).\n\nThe monitor scheme is inspired from [WGAN](https://github.com/igul222/improved_wgan_training).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/justanhduc/neuralnet-pytorch", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "neuralnet-pytorch", "package_url": "https://pypi.org/project/neuralnet-pytorch/", "platform": "Windows", "project_url": "https://pypi.org/project/neuralnet-pytorch/", "project_urls": { "Bug Reports": "https://github.com/justanhduc/neuralnet-pytorch/issues", "Homepage": "https://github.com/justanhduc/neuralnet-pytorch", "Source": "https://github.com/justanhduc/neuralnet-pytorch" }, "release_url": "https://pypi.org/project/neuralnet-pytorch/1.0.0/", "requires_dist": [ "visdom", "matplotlib", "scipy", "numpy", "slackclient", "tb-nightly" ], "requires_python": "", "summary": "A high-level library on top of Pytorch.", "version": "1.0.0" }, "last_serial": 5438880, "releases": { "0.0.2a0": [ { "comment_text": "", "digests": { "md5": "1ba87abf755d92e1b0c10af1111b737b", "sha256": "3f95324f239db2cdfb81bc872e601eebb92cba6784904ebd82283207aaf56056" }, "downloads": -1, "filename": "neuralnet_pytorch-0.0.2a0-py3-none-any.whl", "has_sig": false, "md5_digest": "1ba87abf755d92e1b0c10af1111b737b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18635, "upload_time": "2018-04-20T03:09:20", "url": "https://files.pythonhosted.org/packages/0f/f7/ada735b17ee8c44372a894053f11256c6a4264522eccdd9f8b1c3335f4aa/neuralnet_pytorch-0.0.2a0-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d3e1c8a2c8082c0058dc5deaca4ec749", "sha256": "d46b878ccaf0bebcf19760a7935004e333a26480877b4902c2cd69eaf104e176" }, "downloads": -1, "filename": "neuralnet_pytorch-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d3e1c8a2c8082c0058dc5deaca4ec749", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29375, "upload_time": "2019-01-19T13:52:03", "url": "https://files.pythonhosted.org/packages/00/3e/89706433f892dd7bd5183fb5a8cc39913c95954b8b96fc5de13adf532a5b/neuralnet_pytorch-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "56474af227322b6d800dc295ecee3a67", "sha256": "c3fd2c0c5a22b1c458cae30fe732208089e72f690c21029565eb874d7481a16a" }, "downloads": -1, "filename": "neuralnet-pytorch-0.0.3.tar.gz", "has_sig": false, "md5_digest": "56474af227322b6d800dc295ecee3a67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26966, "upload_time": "2019-01-19T13:52:05", "url": "https://files.pythonhosted.org/packages/32/ee/70bf619599f99b637eed7b93da0d0700a341118fa08e7ad5e2c8a42b8051/neuralnet-pytorch-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "aacd6a549668fc3afb307c48f5b7cdb3", "sha256": "40d51dfad0be8ce3c985c0718b866d64d97f6ebb3f62b63418ab4e910231a7a5" }, "downloads": -1, "filename": "neuralnet_pytorch-1.0.0a-py3-none-any.whl", "has_sig": false, "md5_digest": "aacd6a549668fc3afb307c48f5b7cdb3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 49156, "upload_time": "2019-06-24T04:07:18", "url": "https://files.pythonhosted.org/packages/91/de/d52ea977393ea3ef2f42ed40a3c92d16d477e5075cb3b36f1a6912b855fa/neuralnet_pytorch-1.0.0a-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fab1c91076a4d22cfdc71c015c9f1374", "sha256": "fce6e6e7a50871b387a6d90b1050b98c75e22ed52b6dc17bdff5220e24316f97" }, "downloads": -1, "filename": "neuralnet-pytorch-1.0.0a.tar.gz", "has_sig": false, "md5_digest": "fab1c91076a4d22cfdc71c015c9f1374", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61375, "upload_time": "2019-06-24T04:20:30", "url": "https://files.pythonhosted.org/packages/77/c8/cbcdd670b55c77f22c0eec0e85bb623eff0cc2dbf73ef4f45f65b434dc1f/neuralnet-pytorch-1.0.0a.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aacd6a549668fc3afb307c48f5b7cdb3", "sha256": "40d51dfad0be8ce3c985c0718b866d64d97f6ebb3f62b63418ab4e910231a7a5" }, "downloads": -1, "filename": "neuralnet_pytorch-1.0.0a-py3-none-any.whl", "has_sig": false, "md5_digest": "aacd6a549668fc3afb307c48f5b7cdb3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 49156, "upload_time": "2019-06-24T04:07:18", "url": "https://files.pythonhosted.org/packages/91/de/d52ea977393ea3ef2f42ed40a3c92d16d477e5075cb3b36f1a6912b855fa/neuralnet_pytorch-1.0.0a-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fab1c91076a4d22cfdc71c015c9f1374", "sha256": "fce6e6e7a50871b387a6d90b1050b98c75e22ed52b6dc17bdff5220e24316f97" }, "downloads": -1, "filename": "neuralnet-pytorch-1.0.0a.tar.gz", "has_sig": false, "md5_digest": "fab1c91076a4d22cfdc71c015c9f1374", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61375, "upload_time": "2019-06-24T04:20:30", "url": "https://files.pythonhosted.org/packages/77/c8/cbcdd670b55c77f22c0eec0e85bb623eff0cc2dbf73ef4f45f65b434dc1f/neuralnet-pytorch-1.0.0a.tar.gz" } ] }