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
- First, make sure you have Python installed on your system.
- 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
andsrcnn
. - epochs: Number of training epochs.
- batch_size: Size of each training batch.
- dataset_loader: Type of dataset loader, there is two type of dataloaders (locally -
Contributing
Contributions are welcome! If you'd like to contribute to this project, follow these steps:
- Fork this repository.
- Create a new branch for your feature or bug fix.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc50f8825eaef68e20a409918085dd9c5901de12bcc94ce6a74f9a448e08e6a |
|
MD5 | cf38c8a182114fbcd05230413e32c762 |
|
BLAKE2b-256 | 00b8fa4fd9dedfe92f0ec84bb028dcf4a43cce1e23cf3672e230d00972b865f2 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed08fedeaef1a9bfbcc1326db67625e088924ab0db117e99af28c2b49c5906cf |
|
MD5 | 15acb107fcaebf72c3bd3af0ca6b8ba2 |
|
BLAKE2b-256 | f193a89dc50c99537ba55fa5815dc602d2a7947506e3acea4680b3d672772b6b |