{ "info": { "author": "Jay Morgan", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# TorchWrapper\n\nA wrapper class for a PyTorhc Model using fit and predict functions that are\nfamiliar to those who use Keras and Sklearn.\n\nReduces the need to write fit and evaluation functions for basic models.\n\n## Quick Start\n\n```python\n# import the module\nfrom torchwrapper import Wrapper\n\n# create your module, optimizer, and criterion function\nmodel = Model()\noptimizer = torch.optim.Adam(model.parameters())\ncriterion = torch.nn.MSELos()\n\n# wrap the model\nmodel = Wrapper(model)\n\n# train the network\nmodel.fit(dataloader, optimizer, criterion, epochs=50)\n\n```\n\nWith a trained model, you can predict using a PyTorch dataloader:\n\n```python\npreds = model.predict(dataloader)\n```\n\nThis will return a numpy array of the predictions.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/jaymorgan/torchwrapper/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "torchwrapper", "package_url": "https://pypi.org/project/torchwrapper/", "platform": "", "project_url": "https://pypi.org/project/torchwrapper/", "project_urls": { "Homepage": "https://gitlab.com/jaymorgan/torchwrapper/" }, "release_url": "https://pypi.org/project/torchwrapper/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "A Wrapper for PyTorch Models", "version": "0.1.4" }, "last_serial": 4627620, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "130ee1ae0af0411d356a6b8c39a80b51", "sha256": "fc399c671c87f68ca6d632ae1923298b830f38d7741fe758ec855ce6084f566e" }, "downloads": -1, "filename": "torchwrapper-0.0.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "130ee1ae0af0411d356a6b8c39a80b51", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4632, "upload_time": "2018-12-21T15:04:03", "url": "https://files.pythonhosted.org/packages/be/f9/8d93650464510bdbdabfcf9f004fd927448389850a49ca79f40255ba47e7/torchwrapper-0.0.1.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c7ee0147f8924141bc9412d01d69bb3", "sha256": "1241e1299d72361908960dfd0b89dcbabc157976650595d23db91747547b474a" }, "downloads": -1, "filename": "torchwrapper-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "1c7ee0147f8924141bc9412d01d69bb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3164, "upload_time": "2018-12-21T15:04:05", "url": "https://files.pythonhosted.org/packages/f3/48/a6270199387384508a09b2e76c8e24eb8090d6369e88218e64bd5f0fb3d7/torchwrapper-0.0.1.dev0.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4b9bfc2a4f916c53be88f82c4654561d", "sha256": "5da3399eb7eac3c1873ed47d096e15ef89d732a16f4bbf43c1967e03e6318392" }, "downloads": -1, "filename": "torchwrapper-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4b9bfc2a4f916c53be88f82c4654561d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2629, "upload_time": "2018-12-22T10:51:01", "url": "https://files.pythonhosted.org/packages/ca/13/60635cd719ef59972b10657c642b99b8b01d94adb6106f94e9e0f282826f/torchwrapper-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b9bfc2a4f916c53be88f82c4654561d", "sha256": "5da3399eb7eac3c1873ed47d096e15ef89d732a16f4bbf43c1967e03e6318392" }, "downloads": -1, "filename": "torchwrapper-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4b9bfc2a4f916c53be88f82c4654561d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2629, "upload_time": "2018-12-22T10:51:01", "url": "https://files.pythonhosted.org/packages/ca/13/60635cd719ef59972b10657c642b99b8b01d94adb6106f94e9e0f282826f/torchwrapper-0.1.4.tar.gz" } ] }