blasisd commited on
Commit
eb6e853
Β·
1 Parent(s): a84d69f

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -1
README.md CHANGED
@@ -14,4 +14,102 @@ models:
14
  - blasisd/musheff
15
  ---
16
 
17
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  - blasisd/musheff
15
  ---
16
 
17
+ # Mushroom Classification REST API
18
+
19
+ **Identify edible and poisonous Russian mushrooms with AI-powered precision**
20
+
21
+ This project provides a production-ready REST API for classifying 12 common Russian mushroom species using computer vision. Built around the `musheff` fine-tuned EfficientNet-B3 model, it delivers vital safety insights by distinguishing between edible and poisonous varieties - potentially preventing dangerous misidentifications during foraging.
22
+
23
+ ## Key Features
24
+
25
+ πŸ„ **Safety-first classification** - Critical edible/poisonous differentiation
26
+ 🧠 **State-of-the-art model** - Fine-tuned `EfficientNet-B3` architecture
27
+ 🌲 **Regional specialization** - Optimized for 12 common Russian species
28
+ ⚑️ **Production-ready** - Scalable REST API implementation
29
+ πŸ” **Transparent foundations** - Built on openly available datasets
30
+
31
+ ## Technical Foundation
32
+
33
+ Powered by:
34
+
35
+ - Model: **[musheff](https://huggingface.co/blasisd/musheff)** (Custom fine-tuned EfficientNet-B3)
36
+ - Dataset: **[12_popular_russia_mushrooms_edible_poisonous](https://huggingface.co/datasets/SoFa325/12_popular_russia_mushrooms_edible_poisonous)**
37
+
38
+ ## Getting Started
39
+
40
+ This guide provides step-by-step instructions to set up and run the project on your local machine for development and testing purposes. For details on deploying the project to a production environment, refer to the Deployment section.
41
+
42
+ ### Prerequisites
43
+
44
+ To set up and run this project, ensure the following software and tools are installed on your system:
45
+
46
+ - **Python**: Version `3.10.12` or higher is required. Verify your Python version by running:
47
+
48
+ ```bash
49
+ python3 --version
50
+ ```
51
+
52
+ - **Dependencies**: Install the required Python packages listed in requirements.txt using pip. Run the following command in your terminal:
53
+
54
+ ```bash
55
+ pip install -r requirements.txt
56
+ ```
57
+
58
+ ### Local Development and Testing
59
+
60
+ To run the application locally for development and testing purposes, execute the following command in your terminal:
61
+
62
+ ```bash
63
+ python app.py
64
+ ```
65
+
66
+ > [!WARNING]
67
+ > Ensure you are in the project's **src** directory before running the script or adapt running path.
68
+
69
+ ## Deployment
70
+
71
+ ### Deployment on Hugging Face Spaces
72
+
73
+ To deploy the project on Hugging Face Spaces, follow these steps:
74
+
75
+ 1. Create an account on [Hugging Face](https://huggingface.co) if you don’t already have one.
76
+
77
+ 2. Refer to the official [Spaces Overview](https://huggingface.co/docs/hub/en/spaces-overview) documentation for detailed instructions on setting up and deploying your project.
78
+
79
+ ### Docker-based Deployment
80
+
81
+ For Docker-based Deployment:
82
+
83
+ 1. Follow the official [Docker Spaces Guide](https://huggingface.co/docs/hub/en/spaces-sdks-docker-first-demo) for container setup.
84
+ 2. Copy the available `Dockerfile` to your repository root or create your own.
85
+ 3. Configure settings requirements in `README.md` metadata (especially app_port):
86
+
87
+ ```yaml
88
+ ---
89
+ title: Musheff Api
90
+ emoji: πŸ„
91
+ colorFrom: yellow
92
+ colorTo: green
93
+ sdk: docker
94
+ pinned: false
95
+ license: apache-2.0
96
+ short_description: Mushrooms Classification API
97
+ app-port: 7860
98
+ datasets:
99
+ - SoFa325/12_popular_russia_mushrooms_edible_poisonous
100
+ models:
101
+ - blasisd/musheff
102
+ ---
103
+ ```
104
+
105
+ ### Deployment on Other Cloud Platforms
106
+
107
+ For deployment on other cloud or live systems, consult the documentation provided by your chosen service provider. Each platform may have specific requirements and steps for deploying Python-based applications.
108
+
109
+ ## Built With
110
+
111
+ - [Python 3.10.12](http://www.python.org/) - Developing with the best programming language
112
+
113
+ ## Authors
114
+
115
+ **Vlasios Dimitriadis** - _Initial work:_ [Musheff API](https://huggingface.co/spaces/blasisd/musheff-api)