Power Trip Lab's neural network!
Project description
Neural Network
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
850f46bc106b776c5070b6cc1f66d913aa679029ed8f68d4e888461f5f373fd5
|
|
| MD5 |
2accb74d5c8c8bf519c29d8e967b7ce7
|
|
| BLAKE2b-256 |
e7b63192292cafd92a6bee55944432d5a43ddfdb40a407c42af60005c7e3161e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ptl_neural_network-1.0.2.tar.gz -
Subject digest:
850f46bc106b776c5070b6cc1f66d913aa679029ed8f68d4e888461f5f373fd5 - Sigstore transparency entry: 787209564
- Sigstore integration time:
-
Permalink:
Power-Trip-Labs/neural-network@2bd6d58dd06719bc4b88f55742621afa9e75da4b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Power-Trip-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2bd6d58dd06719bc4b88f55742621afa9e75da4b -
Trigger Event:
push
-
Statement type:
File details
Details for the file ptl_neural_network-1.0.2-py3-none-any.whl.
File metadata
- Download URL: ptl_neural_network-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
434b0b4d42cda7301d1fefe1a8b212d68d259d3cec1dea36986a44e1cdb37549
|
|
| MD5 |
67f34be36002c96b85343153f770c82d
|
|
| BLAKE2b-256 |
8e31dc6f429fbd2c22ec7f39ad7018be5f73861a9ac0d9ca147cab22a754cf5a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ptl_neural_network-1.0.2-py3-none-any.whl -
Subject digest:
434b0b4d42cda7301d1fefe1a8b212d68d259d3cec1dea36986a44e1cdb37549 - Sigstore transparency entry: 787209566
- Sigstore integration time:
-
Permalink:
Power-Trip-Labs/neural-network@2bd6d58dd06719bc4b88f55742621afa9e75da4b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Power-Trip-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2bd6d58dd06719bc4b88f55742621afa9e75da4b -
Trigger Event:
push
-
Statement type: