PyNeuralNet


NamePyNeuralNet JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/ItzLoghotXD/PyNeuralNet/
SummaryPyNeuralNet is a python library for prototyping and building neural networks. PyNeuralNet uses PyTorch as a computational backend for deep learning models.
upload_time2024-06-25 12:19:03
maintainerItzLoghotXD
docs_urlNone
authorItzLoghotXD
requires_pythonNone
licenseMIT License Copyright (c) 2024 ItzLoghotXD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords neural network ai neural network algorithm loghot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            PyNeuralNet
============

Welcome to the PyNeuralNet repository! PyNeuralNet is a python library for prototyping and building neural networks. PyNeuralNet uses PyTorch as a computational backend for deep learning models.

## Installation

1. First, make sure you have Python installed on your system.
2. Use this pip command to install the latest version of package.
   ```bash
   pip install pyneuralnet
   ```

## Usage
```python
from pyneuralnet import train

dataset_loader = 'local'
root_dir = 'path/to/root_diractory'
metadata_file = 'path/to/meta_info_file.txt'
network = 'usrcnn'
batchs = 4

train(datasetloader, metadata_file, root_dir, epochs=25, batch_size=batchs, network=network)

```
- Parameters
   - dataset_loader: Type of dataset loader, there is two type of dataloaders (locally - `local` and from internet - `internet`). In this example, it is set to 'local'.
   - metadata_file: Path to the metadata file. If you load your dataset from internet you should type an url like [this](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/meta-info/meta_info_DIV2K_valid_HR.txt).
   - root_dir: Path to the root directory where the dataset is located. If you load your dataset from internet you should type an url like [this](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/), example [image](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/DIV2K_valid_HR/0864.png).
   - network: Neural network architecture to be used (e.g., 'usrcnn'). There are 6 type of networks(for now) which are based on `Convolutional Neural Network` e.g., `usrcnn`, `esrcnn`, `bsrcnn`, `isrcnn`, `rsrcnn` and `srcnn`.
   - epochs: Number of training epochs.
   - batch_size: Size of each training batch.

## Contributing

Contributions are welcome! If you'd like to contribute to this project, follow these steps:
1. Fork this repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and submit a pull request.

## License

This project is licensed under the [MIT License](https://github.com/ItzLoghotXD/PyNeuralNet/blob/main/LICENSE) - see the LICENSE file for details.

## Contact

Feel free to reach out to me at **loghot.gamerz.official@gmail.com** if you have any questions or feedback!
Or just open an [issue](https://github.com/ItzLoghotXD/PyNeuralNet/issues) on PyNeuralNet's github page.

Happy coding! 🚀

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ItzLoghotXD/PyNeuralNet/",
    "name": "PyNeuralNet",
    "maintainer": "ItzLoghotXD",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "loghot.gamerz.official@gmail.com",
    "keywords": "neural, network, ai, neural network, algorithm, loghot",
    "author": "ItzLoghotXD",
    "author_email": "loghot.gamerz.official@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/00/b8/fa4fd9dedfe92f0ec84bb028dcf4a43cce1e23cf3672e230d00972b865f2/PyNeuralNet-1.2.0.tar.gz",
    "platform": null,
    "description": "PyNeuralNet\r\n============\r\n\r\nWelcome to the PyNeuralNet repository! PyNeuralNet is a python library for prototyping and building neural networks. PyNeuralNet uses PyTorch as a computational backend for deep learning models.\r\n\r\n## Installation\r\n\r\n1. First, make sure you have Python installed on your system.\r\n2. Use this pip command to install the latest version of package.\r\n   ```bash\r\n   pip install pyneuralnet\r\n   ```\r\n\r\n## Usage\r\n```python\r\nfrom pyneuralnet import train\r\n\r\ndataset_loader = 'local'\r\nroot_dir = 'path/to/root_diractory'\r\nmetadata_file = 'path/to/meta_info_file.txt'\r\nnetwork = 'usrcnn'\r\nbatchs = 4\r\n\r\ntrain(datasetloader, metadata_file, root_dir, epochs=25, batch_size=batchs, network=network)\r\n\r\n```\r\n- Parameters\r\n   - dataset_loader: Type of dataset loader, there is two type of dataloaders (locally - `local` and from internet - `internet`). In this example, it is set to 'local'.\r\n   - metadata_file: Path to the metadata file. If you load your dataset from internet you should type an url like [this](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/meta-info/meta_info_DIV2K_valid_HR.txt).\r\n   - root_dir: Path to the root directory where the dataset is located. If you load your dataset from internet you should type an url like [this](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/), example [image](https://itzloghotxd.github.io/machine-learning-datasets/image-datasets/div2k/DIV2K_valid_HR/0864.png).\r\n   - network: Neural network architecture to be used (e.g., 'usrcnn'). There are 6 type of networks(for now) which are based on `Convolutional Neural Network` e.g., `usrcnn`, `esrcnn`, `bsrcnn`, `isrcnn`, `rsrcnn` and `srcnn`.\r\n   - epochs: Number of training epochs.\r\n   - batch_size: Size of each training batch.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you'd like to contribute to this project, follow these steps:\r\n1. Fork this repository.\r\n2. Create a new branch for your feature or bug fix.\r\n3. Make your changes and submit a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT License](https://github.com/ItzLoghotXD/PyNeuralNet/blob/main/LICENSE) - see the LICENSE file for details.\r\n\r\n## Contact\r\n\r\nFeel free to reach out to me at **loghot.gamerz.official@gmail.com** if you have any questions or feedback!\r\nOr just open an [issue](https://github.com/ItzLoghotXD/PyNeuralNet/issues) on PyNeuralNet's github page.\r\n\r\nHappy coding! \u00f0\u0178\u0161\u20ac\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 ItzLoghotXD  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "PyNeuralNet is a python library for prototyping and building neural networks. PyNeuralNet uses PyTorch as a computational backend for deep learning models.",
    "version": "1.2.0",
    "project_urls": {
        "Download": "https://pypi.org/project/PyNeuralNet/",
        "Homepage": "https://github.com/ItzLoghotXD/PyNeuralNet/"
    },
    "split_keywords": [
        "neural",
        " network",
        " ai",
        " neural network",
        " algorithm",
        " loghot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f193a89dc50c99537ba55fa5815dc602d2a7947506e3acea4680b3d672772b6b",
                "md5": "15acb107fcaebf72c3bd3af0ca6b8ba2",
                "sha256": "ed08fedeaef1a9bfbcc1326db67625e088924ab0db117e99af28c2b49c5906cf"
            },
            "downloads": -1,
            "filename": "PyNeuralNet-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "15acb107fcaebf72c3bd3af0ca6b8ba2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10012,
            "upload_time": "2024-06-25T12:18:58",
            "upload_time_iso_8601": "2024-06-25T12:18:58.085314Z",
            "url": "https://files.pythonhosted.org/packages/f1/93/a89dc50c99537ba55fa5815dc602d2a7947506e3acea4680b3d672772b6b/PyNeuralNet-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00b8fa4fd9dedfe92f0ec84bb028dcf4a43cce1e23cf3672e230d00972b865f2",
                "md5": "cf38c8a182114fbcd05230413e32c762",
                "sha256": "6dc50f8825eaef68e20a409918085dd9c5901de12bcc94ce6a74f9a448e08e6a"
            },
            "downloads": -1,
            "filename": "PyNeuralNet-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cf38c8a182114fbcd05230413e32c762",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8185,
            "upload_time": "2024-06-25T12:19:03",
            "upload_time_iso_8601": "2024-06-25T12:19:03.415769Z",
            "url": "https://files.pythonhosted.org/packages/00/b8/fa4fd9dedfe92f0ec84bb028dcf4a43cce1e23cf3672e230d00972b865f2/PyNeuralNet-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-25 12:19:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ItzLoghotXD",
    "github_project": "PyNeuralNet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyneuralnet"
}
        
Elapsed time: 0.52503s