{ "info": { "author": "Abhinav Dadhich", "author_email": "abhinavvicku@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3" ], "description": "imfeatures\n===============================\n\nOverview\n--------\n\nMinimalistic python package to extract deep learning features from a wide variety of pretrained models in Pytorch.\n\n\nInstallation / Usage\n--------------------\n\nDependencies:\n\n- pytorch (v >= 1.0.0)\n- torchvision\n\n\nTo install use pip:\n\n $ pip install imfeatures\n\n\nOr clone the repo:\n\n $ git clone https://github.com/resbyte/imfeatures.git\n\n $ python setup.py install\n\n\nExample\n-------\n\n- Imports \n\n```python\nimport imfeatures\nimport torch\n```\n\n- create feature extractor, here `resnet50`, with pretrained weights \n\n```python\nfeature_extractor = imfeatures.Features('resnet50',pretrained=True)\n```\n\n- random image of size `224x224x3` \n\n```python\nx = torch.randn([1,3,224,224])\n```\n\n- features\n\n```python \nfeatures = feature_extractor(x)\nprint(features.shape)\n```\n\nOutput features will be of shape : `[1, 2048, 1, 1]`\n\nAuthor\n-------\n\nAbhinav Dadhich\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/resbyte/imfeatures/tarball/0.0.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/resbyte/imfeatures", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "imfeatures", "package_url": "https://pypi.org/project/imfeatures/", "platform": "", "project_url": "https://pypi.org/project/imfeatures/", "project_urls": { "Download": "https://github.com/resbyte/imfeatures/tarball/0.0.2", "Homepage": "https://github.com/resbyte/imfeatures" }, "release_url": "https://pypi.org/project/imfeatures/0.0.2/", "requires_dist": [ "sphinx", "sphinx-rtd-theme", "nose", "coverage", "pypi-publisher", "torch", "torchvision" ], "requires_python": "", "summary": "Python package to extract deep learning features", "version": "0.0.2" }, "last_serial": 4889940, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "6c0ecee2abeaf6af1a105612adddb21a", "sha256": "7cb19b4944cc903b4aae80be9fabf15b205a8e7f64b525e76b0dbc4810d79c63" }, "downloads": -1, "filename": "imfeatures-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c0ecee2abeaf6af1a105612adddb21a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3382, "upload_time": "2019-03-03T04:48:05", "url": "https://files.pythonhosted.org/packages/a2/2a/915ec56d86908a70eb02e3250eb73c611d910c3363fc5ffc4bd5e76f36e9/imfeatures-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "127f3099093398dce74aafb309f3b908", "sha256": "80e0ef3ae3c90b37f70a651a697fdabde4d811b11115d136cbce2bf2c224d6d9" }, "downloads": -1, "filename": "imfeatures-0.0.2.tar.gz", "has_sig": false, "md5_digest": "127f3099093398dce74aafb309f3b908", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2472, "upload_time": "2019-03-03T04:48:07", "url": "https://files.pythonhosted.org/packages/25/4e/8937fd0fd036f5147481d509df6c50bd2f809dc240a0c25ab286bc84e13c/imfeatures-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c0ecee2abeaf6af1a105612adddb21a", "sha256": "7cb19b4944cc903b4aae80be9fabf15b205a8e7f64b525e76b0dbc4810d79c63" }, "downloads": -1, "filename": "imfeatures-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c0ecee2abeaf6af1a105612adddb21a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3382, "upload_time": "2019-03-03T04:48:05", "url": "https://files.pythonhosted.org/packages/a2/2a/915ec56d86908a70eb02e3250eb73c611d910c3363fc5ffc4bd5e76f36e9/imfeatures-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "127f3099093398dce74aafb309f3b908", "sha256": "80e0ef3ae3c90b37f70a651a697fdabde4d811b11115d136cbce2bf2c224d6d9" }, "downloads": -1, "filename": "imfeatures-0.0.2.tar.gz", "has_sig": false, "md5_digest": "127f3099093398dce74aafb309f3b908", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2472, "upload_time": "2019-03-03T04:48:07", "url": "https://files.pythonhosted.org/packages/25/4e/8937fd0fd036f5147481d509df6c50bd2f809dc240a0c25ab286bc84e13c/imfeatures-0.0.2.tar.gz" } ] }