Spaces:
Sleeping
Sleeping
Jensen-holm
commited on
Commit
Β·
45901b5
1
Parent(s):
69e0433
init commit!
Browse files- ClusterRGB/.gitignore β .gitignore +0 -3
- ClusterRGB/.gitattributes +0 -35
- ClusterRGB/app.py β app.py +2 -2
- {ClusterRGB/examples β examples}/ex1.webp +0 -0
- {ClusterRGB/examples β examples}/ex2.webp +0 -0
- {ClusterRGB/examples β examples}/ex4.webp +0 -0
- {ClusterRGB/examples β examples}/ex5.webp +0 -0
- {ClusterRGB/examples β examples}/ex6.webp +0 -0
- {ClusterRGB/examples β examples}/ex7.webp +0 -0
- ClusterRGB/requirements.txt β requirements.txt +0 -0
ClusterRGB/.gitignore β .gitignore
RENAMED
@@ -1,4 +1 @@
|
|
1 |
-
|
2 |
.DS_Store
|
3 |
-
|
4 |
-
.__pycache__
|
|
|
|
|
1 |
.DS_Store
|
|
|
|
ClusterRGB/.gitattributes
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClusterRGB/app.py β app.py
RENAMED
@@ -41,7 +41,7 @@ def plot_image(Image, N_Clusters: int) -> gr.Plot:
|
|
41 |
|
42 |
interface = gr.Interface(
|
43 |
fn=plot_image,
|
44 |
-
title="3D RGB
|
45 |
inputs=[gr.Image(), gr.Slider(minimum=20, maximum=500)],
|
46 |
outputs=gr.Plot(),
|
47 |
examples=[[os.path.join("examples", image), 100] for image in os.listdir("examples")],
|
@@ -49,5 +49,5 @@ interface = gr.Interface(
|
|
49 |
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
-
interface.launch()
|
53 |
|
|
|
41 |
|
42 |
interface = gr.Interface(
|
43 |
fn=plot_image,
|
44 |
+
title="3D RGB Cluster Visualization",
|
45 |
inputs=[gr.Image(), gr.Slider(minimum=20, maximum=500)],
|
46 |
outputs=gr.Plot(),
|
47 |
examples=[[os.path.join("examples", image), 100] for image in os.listdir("examples")],
|
|
|
49 |
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
+
interface.launch(share=True)
|
53 |
|
{ClusterRGB/examples β examples}/ex1.webp
RENAMED
File without changes
|
{ClusterRGB/examples β examples}/ex2.webp
RENAMED
File without changes
|
{ClusterRGB/examples β examples}/ex4.webp
RENAMED
File without changes
|
{ClusterRGB/examples β examples}/ex5.webp
RENAMED
File without changes
|
{ClusterRGB/examples β examples}/ex6.webp
RENAMED
File without changes
|
{ClusterRGB/examples β examples}/ex7.webp
RENAMED
File without changes
|
ClusterRGB/requirements.txt β requirements.txt
RENAMED
File without changes
|