Harry2687 commited on
Commit
678f8d9
·
1 Parent(s): 5b0d0fe

updated readme

Browse files
Files changed (1) hide show
  1. README.md +6 -38
README.md CHANGED
@@ -1,46 +1,14 @@
1
  ---
2
  title: Gender CNN Demo
3
- emoji: 👁
4
- colorFrom: pink
5
- colorTo: yellow
6
  sdk: docker
 
7
  app_port: 3000
8
  pinned: true
9
  short_description: Shiny application to demo my gender classification CNN.
 
10
  ---
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12
 
13
- # Gender-Prediction
14
-
15
- Scripts to train my neural network, or use my pre-trained parameters to make predictions.
16
-
17
- ## Setup
18
-
19
- 1. Set up virtual environment.
20
- ```
21
- python3 -m venv venv
22
- ```
23
- 2. Activate virtual environment.
24
- - On Mac/Linux:
25
- ```
26
- source venv/bin/activate
27
- ```
28
- - On Windows:
29
- ```
30
- # In cmd.exe
31
- venv\Scripts\activate.bat
32
- # In PowerShell
33
- venv\Scripts\Activate.ps1
34
- ```
35
- 3. Install requirements.
36
- ```
37
- pip3 install -r requirements.txt
38
- ```
39
-
40
- ## Prediction
41
-
42
- Run `predict.py`, this will download pre-trained model parameters and make gender predictions on images in the `images` folder.
43
-
44
- ## Training
45
-
46
- Run `train.py`, this will download the training data used to train my pre-trained model and start training the neural network on the your local device.
 
1
  ---
2
  title: Gender CNN Demo
3
+ emoji: 💻
4
+ colorFrom: blue
5
+ colorTo: red
6
  sdk: docker
7
+ python_version: 3.12.8
8
  app_port: 3000
9
  pinned: true
10
  short_description: Shiny application to demo my gender classification CNN.
11
+ license: apache-2.0
12
  ---
 
13
 
14
+ # Gender-CNN-Demo