Skip to main content

Power Trip Lab's neural network!

Project description

Neural Network

v1 Static Badge

A neural network library built without any AI libraries, only NumPy.

How to Use

Training

You have to set any images you want the model to train off of in the train/ folder.

Then, run src/ptl-neural-network/train.py. It will automatically take all the images and train the A.I. model. This could take a while! It will store the output as a model.pkl file.

Usage

You can now run src/ptl-neural-network/run.py, with the only requirement being the model.pkl that you got from training.

It will ask for a .png file, and you can provide a relative or absolute path here. It will then find the closest image that matches your PNG.

Note that its output is the name of the image found from training data, so you might have to do some filtering to determine what the PNG is (bus) instead of a image name (bus3)

Alternative

You can also do pip install ptl-neural-network to get the CLI.

The command syntax is ptl-neural train/run. The above guide also works with the CLI, except don't run train.py or run.py.

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

ptl_neural_network-1.0.2.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ptl_neural_network-1.0.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file ptl_neural_network-1.0.2.tar.gz.

File metadata

  • Download URL: ptl_neural_network-1.0.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ptl_neural_network-1.0.2.tar.gz
Algorithm Hash digest
SHA256 850f46bc106b776c5070b6cc1f66d913aa679029ed8f68d4e888461f5f373fd5
MD5 2accb74d5c8c8bf519c29d8e967b7ce7
BLAKE2b-256 e7b63192292cafd92a6bee55944432d5a43ddfdb40a407c42af60005c7e3161e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ptl_neural_network-1.0.2.tar.gz:

Publisher: python-publish.yml on Power-Trip-Labs/neural-network

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ptl_neural_network-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ptl_neural_network-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 434b0b4d42cda7301d1fefe1a8b212d68d259d3cec1dea36986a44e1cdb37549
MD5 67f34be36002c96b85343153f770c82d
BLAKE2b-256 8e31dc6f429fbd2c22ec7f39ad7018be5f73861a9ac0d9ca147cab22a754cf5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ptl_neural_network-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on Power-Trip-Labs/neural-network

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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