Liangyu commited on
Commit
678d96b
β€’
1 Parent(s): 0ba37f3

add readme and layout

Browse files
Files changed (2) hide show
  1. app.py +17 -2
  2. style.css +12 -2
app.py CHANGED
@@ -30,8 +30,23 @@ from mmcv import Config
30
 
31
  DESCRIPTION = '''# OpenPSG
32
 
33
- This is an official demo for [OpenPSG](https://github.com/Jingkang50/OpenPSG).
34
- <img id="overview" alt="overview" src="https://camo.githubusercontent.com/880346b66831a8212074787ba9a2301b4d700bd8f765ca11e4845ac0ab34c230/68747470733a2f2f6c6976652e737461746963666c69636b722e636f6d2f36353533352f35323139333837393637375f373531613465306237395f6b2e6a7067" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  '''
36
  FOOTER = '<img id="visitor-badge" src="https://visitor-badge.glitch.me/badge?page_id=c-liangyu.openpsg" alt="visitor badge" />'
37
 
 
30
 
31
  DESCRIPTION = '''# OpenPSG
32
 
33
+ This is an official demo for [OpenPSG](https://github.com/Jingkang50/OpenPSG).
34
+
35
+ News: The PSG Challenge is NOW available on International Algorithm Case Competition and soon ECCV'22 SenseHuman Workshop! Prize pool πŸ€‘ US$150K πŸ€‘!
36
+
37
+ Check out our [GitHub repo](https://github.com/Jingkang50/OpenPSG) and [official website](http://psgdataset.org/) for more details.
38
+
39
+ <div class="row">
40
+ <div class="column">
41
+ <img id="logo" src="https://camo.githubusercontent.com/880346b66831a8212074787ba9a2301b4d700bd8f765ca11e4845ac0ab34c230/68747470733a2f2f6c6976652e737461746963666c69636b722e636f6d2f36353533352f35323139333837393637375f373531613465306237395f6b2e6a7067" alt="logo" style="width:100%">
42
+ </div>
43
+ <div class="column">
44
+ <img id="visualzation" src="https://github.com/Jingkang50/OpenPSG/blob/main/assets/psgtr_long.gif?raw=true" alt="visualzation" style="width:100%">
45
+ </div>
46
+ </div>
47
+
48
+ Inference takes about 10 second per image.
49
+
50
  '''
51
  FOOTER = '<img id="visitor-badge" src="https://visitor-badge.glitch.me/badge?page_id=c-liangyu.openpsg" alt="visitor badge" />'
52
 
style.css CHANGED
@@ -1,14 +1,24 @@
1
  h1 {
2
  text-align: center;
3
  }
 
 
 
 
 
 
 
 
 
 
4
  #input-image {
5
- max-height: 300px;
6
  }
7
  #label-image {
8
  height: 300px;
9
  }
10
  #result-image {
11
- height: 300px;
12
  }
13
  img#visitor-badge {
14
  display: block;
 
1
  h1 {
2
  text-align: center;
3
  }
4
+ .column {
5
+ float: left;
6
+ width: 50%;
7
+ padding: 10px;
8
+ }
9
+ .row:after {
10
+ content: "";
11
+ display: table;
12
+ clear: both;
13
+ }
14
  #input-image {
15
+ max-height: 800px;
16
  }
17
  #label-image {
18
  height: 300px;
19
  }
20
  #result-image {
21
+ height: 800px;
22
  }
23
  img#visitor-badge {
24
  display: block;