danhtran2mind commited on
Commit
7678d08
·
verified ·
1 Parent(s): 61cb34b

Create project_info.py

Browse files
Files changed (1) hide show
  1. apps/gradio_app/project_info.py +53 -0
apps/gradio_app/project_info.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CONTENT_DESCRIPTION = """
2
+ **SlimFace: Advanced Face Classification with TorchVision Backbones**
3
+ """
4
+
5
+ CONTENT_IN_1 = """
6
+ SlimFace empowers developers to build high-accuracy face classification models by leveraging TorchVision's powerful pre-trained architectures through a transfer learning approach. 🌟 It provides a flexible, efficient, and scalable solution for facial recognition, supporting training on custom datasets and inference to deliver top-tier performance for custom applications.
7
+ """
8
+ CONTENT_IN_2 = """
9
+ <p class="source">
10
+ For more information, you can follow below:<br>
11
+ Source code:
12
+ <a class="badge" href="https://github.com/danhtran2mind/SlimFace">
13
+ <img src="https://img.shields.io/badge/GitHub-danhtran2mind%2FSlimFace-blue?style=flat" alt="GitHub Repo">
14
+ </a>,
15
+ Author:
16
+ <a class="badge" href="https://github.com/danhtran2mind">
17
+ <img src="https://img.shields.io/badge/GitHub-danhtran2mind-blue?style=flat" alt="GitHub Profile">
18
+ </a>,
19
+ PyTorch Docs:
20
+ <a class="badge" href="https://docs.pytorch.org/vision/main/models.html">
21
+ <img src="https://img.shields.io/badge/PyTorch-Pretrain%20Model%20Docs-blue?style=flat" alt="PyTorch Docs">
22
+ </a>
23
+ </p>
24
+ """
25
+
26
+
27
+ CONTENT_OUTTRO = """
28
+ ## More Information about SlimFace
29
+ """
30
+ CONTENT_OUT_1 = """
31
+ <div class="quote-container">
32
+ <p>
33
+ This project leverages code from
34
+ <a class="badge" href="https://github.com/otroshi/edgeface">
35
+ <img src="https://img.shields.io/badge/Built%20on-otroshi%2Fedgeface-blue?style=flat&logo=github" alt="Built on edgeface">
36
+ </a>
37
+ by
38
+ <a class="badge" href="https://github.com/otroshi">
39
+ <img src="https://img.shields.io/badge/GitHub-Hatef_Otroshi-blue?style=flat&logo=github" alt="Hatef Otroshi">
40
+ </a>,
41
+ with our own bug fixes and enhancements available at
42
+ <a class="badge" href="https://github.com/danhtran2mind/edgeface/tree/main/face_alignment">
43
+ <img src="https://img.shields.io/badge/GitHub-danhtran2mind%2Fedgeface-blue?style=flat&logo=github" alt="Edgeface Enhancements">
44
+ </a>.
45
+ </p>
46
+ </div>
47
+ """
48
+ CONTENT_OUT_2 = """
49
+ **Supported Architectures:**
50
+ - **EfficientNet**: B0-B7 and V2 (Small, Medium, Large) for balanced performance and efficiency. 📸
51
+ - **RegNet**: X/Y series (400MF to 128GF) for optimized computation across diverse hardware. 💻
52
+ - **Vision Transformers (ViT)**: B_16, B_32, H_14, L_16, L_32 for cutting-edge feature extraction. 🚀
53
+ """