Spaces:
Sleeping
Sleeping
Jensen-holm
commited on
Commit
•
2cac6be
1
Parent(s):
a094ad4
readme updates
Browse files- gradio_warning.md +8 -3
- setup.py +1 -4
gradio_warning.md
CHANGED
@@ -5,14 +5,19 @@ using only [numpy](https://numpy.org/). Here, you can test different hyper param
|
|
5 |
|
6 |
Once training is done, the final model will be tested by making predictions on an unseen subset of the dataset called the validation set. There will be a plot of hits vs. misses, measuring the accuracy of the final model on images that did not see in training. There will also be a label at the bottom that shows the average confidence of the final model when it was making its predictions on unseen data across the different labels (digits 0-9).
|
7 |
|
|
|
|
|
|
|
|
|
8 |
## ⚠️ Warning ⚠️
|
9 |
This application is impossibly slow on the HuggingFace CPU instance that it is running on. It is advised to clone the
|
10 |
-
repository and run it locally.
|
11 |
|
12 |
-
## Steps for running locally:
|
13 |
|
14 |
1. `git clone https://huggingface.co/spaces/Jensen-holm/Numpy-Neuron`
|
15 |
|
16 |
2. `pip3 install -r requirements.txt`
|
17 |
|
18 |
-
3. `python3
|
|
|
|
5 |
|
6 |
Once training is done, the final model will be tested by making predictions on an unseen subset of the dataset called the validation set. There will be a plot of hits vs. misses, measuring the accuracy of the final model on images that did not see in training. There will also be a label at the bottom that shows the average confidence of the final model when it was making its predictions on unseen data across the different labels (digits 0-9).
|
7 |
|
8 |
+
## Local Development
|
9 |
+
|
10 |
+
The Numpy-Neuron package is [available on PyPI](https://pypi.org/project/numpyneuron/) and you can install it yourself with the command: `pip3 install numpyneuron`
|
11 |
+
|
12 |
## ⚠️ Warning ⚠️
|
13 |
This application is impossibly slow on the HuggingFace CPU instance that it is running on. It is advised to clone the
|
14 |
+
repository and run it locally, or install the package using pip as mentioned above.
|
15 |
|
16 |
+
## Steps for running this GUI locally:
|
17 |
|
18 |
1. `git clone https://huggingface.co/spaces/Jensen-holm/Numpy-Neuron`
|
19 |
|
20 |
2. `pip3 install -r requirements.txt`
|
21 |
|
22 |
+
3. `python3 gradio_app.py`
|
23 |
+
|
setup.py
CHANGED
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2 |
|
3 |
setup(
|
4 |
name="numpyneuron",
|
5 |
-
version="0.
|
6 |
author="Jensen Holm",
|
7 |
author_email="jensen.dev.01@gmail.com",
|
8 |
description="Simple, lightweight neural network framework built in numpy",
|
@@ -13,9 +13,6 @@ setup(
|
|
13 |
package_dir={"": "numpyneuron"},
|
14 |
packages=find_packages(where="numpyneuron"),
|
15 |
classifiers=[
|
16 |
-
"Programming Language :: Python :: 3",
|
17 |
-
"License :: OSI Approved :: MIT License",
|
18 |
-
"Operating System :: OS Independent",
|
19 |
],
|
20 |
python_requires=">=3.6",
|
21 |
)
|
|
|
2 |
|
3 |
setup(
|
4 |
name="numpyneuron",
|
5 |
+
version="0.4",
|
6 |
author="Jensen Holm",
|
7 |
author_email="jensen.dev.01@gmail.com",
|
8 |
description="Simple, lightweight neural network framework built in numpy",
|
|
|
13 |
package_dir={"": "numpyneuron"},
|
14 |
packages=find_packages(where="numpyneuron"),
|
15 |
classifiers=[
|
|
|
|
|
|
|
16 |
],
|
17 |
python_requires=">=3.6",
|
18 |
)
|