radames HF staff commited on
Commit
ca2b82d
β€’
1 Parent(s): 3ca5511

examples and cache

Browse files
.gitignore CHANGED
@@ -20,7 +20,7 @@ gradio/templates/frontend
20
  *.sqlite3
21
  gradio/launches.json
22
  flagged/
23
- gradio_cached_examples/
24
 
25
  # Tests
26
  .coverage
20
  *.sqlite3
21
  gradio/launches.json
22
  flagged/
23
+ # gradio_cached_examples/
24
 
25
  # Tests
26
  .coverage
app.py CHANGED
@@ -44,7 +44,7 @@ def process(img_path):
44
  return f'./PIFu/results/spaces_demo/result_{img_name}.glb'
45
 
46
 
47
- examples = [["./examples/" + img] for img in os.listdir("./examples/")]
48
  description = '''
49
  # PIFu Clothed Human Digitization
50
  # PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization
@@ -54,6 +54,8 @@ This is a demo for <a href="https://github.com/shunsukesaito/PIFu" target="_blan
54
  The pre-trained model has the following warning:
55
  > Warning: The released model is trained with mostly upright standing scans with weak perspectie projection and the pitch angle of 0 degree. Reconstruction quality may degrade for images highly deviated from trainining data.
56
 
 
 
57
  <details>
58
  <summary>More</summary>
59
 
@@ -63,6 +65,7 @@ The pre-trained model has the following warning:
63
  * [StyleGAN Humans](https://huggingface.co/spaces/hysts/StyleGAN-Human)
64
  * [Renderpeople: Dennis](https://renderpeople.com)
65
 
 
66
  #### More
67
  * https://phorhum.github.io/
68
  * https://github.com/yuliangxiu/icon
44
  return f'./PIFu/results/spaces_demo/result_{img_name}.glb'
45
 
46
 
47
+ examples = [["./examples/" + img] for img in sorted(os.listdir("./examples/"))]
48
  description = '''
49
  # PIFu Clothed Human Digitization
50
  # PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization
54
  The pre-trained model has the following warning:
55
  > Warning: The released model is trained with mostly upright standing scans with weak perspectie projection and the pitch angle of 0 degree. Reconstruction quality may degrade for images highly deviated from trainining data.
56
 
57
+ **The inference takes about 180seconds for a new image.**
58
+
59
  <details>
60
  <summary>More</summary>
61
 
65
  * [StyleGAN Humans](https://huggingface.co/spaces/hysts/StyleGAN-Human)
66
  * [Renderpeople: Dennis](https://renderpeople.com)
67
 
68
+
69
  #### More
70
  * https://phorhum.github.io/
71
  * https://github.com/yuliangxiu/icon
examples/0person6.png ADDED
examples/1person5.png ADDED
examples/2person4.png ADDED
examples/{person.png β†’ 3person.png} RENAMED
File without changes
examples/{person1.png β†’ 4person1.png} RENAMED
File without changes
examples/5person3.png ADDED
examples/6person2.png ADDED
examples/{a.png β†’ 7a.png} RENAMED
File without changes
examples/{b.png β†’ 8b.png} RENAMED
File without changes
examples/9.jpg ADDED
gradio_cached_examples/.gitattributes ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ output/1.glb filter=lfs diff=lfs merge=lfs -text
2
+ output/6.glb filter=lfs diff=lfs merge=lfs -text
3
+ output/9.glb filter=lfs diff=lfs merge=lfs -text
4
+ output/5.glb filter=lfs diff=lfs merge=lfs -text
5
+ output/7.glb filter=lfs diff=lfs merge=lfs -text
6
+ output/8.glb filter=lfs diff=lfs merge=lfs -text
7
+ output/0.glb filter=lfs diff=lfs merge=lfs -text
8
+ output/2.glb filter=lfs diff=lfs merge=lfs -text
9
+ output/3.glb filter=lfs diff=lfs merge=lfs -text
10
+ output/4.glb filter=lfs diff=lfs merge=lfs -text
gradio_cached_examples/log.csv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 'output','flag','username','timestamp'
2
+ 'output/0.glb','','','2022-04-26 14:01:10.698644'
3
+ 'output/1.glb','','','2022-04-26 14:01:09.394488'
4
+ 'output/2.glb','','','2022-04-26 14:01:08.760863'
5
+ 'output/3.glb','','','2022-04-26 14:01:07.727793'
6
+ 'output/4.glb','','','2022-04-26 14:01:06.102981'
7
+ 'output/5.glb','','','2022-04-26 14:01:05.406731'
8
+ 'output/6.glb','','','2022-04-26 14:01:04.145110'
9
+ 'output/7.glb','','','2022-04-26 14:01:03.142050'
10
+ 'output/8.glb','','','2022-04-26 14:01:02.142050'
11
+ 'output/9.glb','','','2022-04-26 14:01:01.142050'
gradio_cached_examples/output/.gitattributes ADDED
File without changes
gradio_cached_examples/output/0.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51c42092c3a6aa9474e2730abe589613799b17e4690ca7a5828793bff5a9e02c
3
+ size 1505632
gradio_cached_examples/output/1.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c35e9b0c26076b03ceceafebca102f29e8a7a5639077e8d136a09462780e7fc0
3
+ size 1738476
gradio_cached_examples/output/2.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:936580bb641571952fe92a24d83e6497d590f0f35648d58ab4f0e08f40799f35
3
+ size 1655296
gradio_cached_examples/output/3.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb0656e2ae1ed068edc5b0ba2d07a1f4f7facc29b17f13ad4d99deadafd5ce89
3
+ size 1634868
gradio_cached_examples/output/4.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e5429c65a47534d321b4092f0488dfe7ab97b7dd50282abf63973fbb8989ff0
3
+ size 1776568
gradio_cached_examples/output/5.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a52329b5671d2156af19696bddcc438b564c0182b12d052f29cd3684dbaaed38
3
+ size 1739900
gradio_cached_examples/output/6.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82891044af3d1e2bcdd8aa89c3f255824e666ad49db966c8b15807ca22eabb39
3
+ size 1623368
gradio_cached_examples/output/7.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc5d8e2a3470ed1b41c76b115270a38fa29553c88f25e49dda2658a1d5d8d591
3
+ size 2045228
gradio_cached_examples/output/8.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:938197e4107f156d5a407ff68846e56ea268cf0bb18cf575bce21cc4f67b11cf
3
+ size 1921788
gradio_cached_examples/output/9.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:751843708e0f2ce1ce063afd1c0f7e26bc39826e922a77176acb6c36c518242c
3
+ size 1808476