Skip to main content

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

Project description

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.
    pip install pyneuralnet
    

Usage

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.
    • 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, example image.
    • 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 - 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 on PyNeuralNet's github page.

Happy coding! 🚀

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyNeuralNet-1.2.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

PyNeuralNet-1.2.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file PyNeuralNet-1.2.0.tar.gz.

File metadata

  • Download URL: PyNeuralNet-1.2.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for PyNeuralNet-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6dc50f8825eaef68e20a409918085dd9c5901de12bcc94ce6a74f9a448e08e6a
MD5 cf38c8a182114fbcd05230413e32c762
BLAKE2b-256 00b8fa4fd9dedfe92f0ec84bb028dcf4a43cce1e23cf3672e230d00972b865f2

See more details on using hashes here.

File details

Details for the file PyNeuralNet-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: PyNeuralNet-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for PyNeuralNet-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed08fedeaef1a9bfbcc1326db67625e088924ab0db117e99af28c2b49c5906cf
MD5 15acb107fcaebf72c3bd3af0ca6b8ba2
BLAKE2b-256 f193a89dc50c99537ba55fa5815dc602d2a7947506e3acea4680b3d672772b6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page