Spaces:
Sleeping
Sleeping
added description
Browse files
app.py
CHANGED
|
@@ -26,6 +26,44 @@ if torch.cuda.is_available():
|
|
| 26 |
else:
|
| 27 |
device = torch.device('cpu')
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
def initiate_model(model_path):
|
| 30 |
deco_model = DECO('hrnet', True, device)
|
| 31 |
|
|
|
|
| 26 |
else:
|
| 27 |
device = torch.device('cpu')
|
| 28 |
|
| 29 |
+
description = '''
|
| 30 |
+
### DECO: Dense Estimation of 3D Human-Scene Contact in the Wild (ICCV 2023, Oral)
|
| 31 |
+
<table>
|
| 32 |
+
<th width="20%">
|
| 33 |
+
<ul>
|
| 34 |
+
<li><strong><a href="https://deco.is.tue.mpg.de/">Homepage</a></strong>
|
| 35 |
+
<li><strong><a href="https://github.com/sha2nkt/deco">Code</a></strong>
|
| 36 |
+
<li><strong><a href="https://openaccess.thecvf.com/content/ICCV2023/html/Tripathi_DECO_Dense_Estimation_of_3D_Human-Scene_Contact_In_The_Wild_ICCV_2023_paper.html">Paper</a></strong>
|
| 37 |
+
</ul>
|
| 38 |
+
<br>
|
| 39 |
+
<ul>
|
| 40 |
+
<li><strong>Colab Notebook</strong> <a href='https://colab.research.google.com/drive/1fTQdI2AHEKlwYG9yIb2wqicIMhAa067_?usp=sharing'><img style="display: inline-block;" src='https://colab.research.google.com/assets/colab-badge.svg' alt='Google Colab'></a></li>
|
| 41 |
+
</ul>
|
| 42 |
+
<br>
|
| 43 |
+
<iframe src="https://ghbtns.com/github-btn.html?user=sha2nkt&repo=deco&type=star&count=true&v=2&size=small" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
| 44 |
+
</th>
|
| 45 |
+
<th width="40%">
|
| 46 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/o7MLobqAFTQ?si=SYX_N4r0x0J_xxfe" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
| 47 |
+
</th>
|
| 48 |
+
</table>
|
| 49 |
+
#### Citation
|
| 50 |
+
```
|
| 51 |
+
@InProceedings{tripathi2023deco,
|
| 52 |
+
author = {Tripathi, Shashank and Chatterjee, Agniv and Passy, Jean-Claude and Yi, Hongwei and Tzionas, Dimitrios and Black, Michael J.},
|
| 53 |
+
title = {{DECO}: Dense Estimation of {3D} Human-Scene Contact In The Wild},
|
| 54 |
+
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
|
| 55 |
+
month = {October},
|
| 56 |
+
year = {2023},
|
| 57 |
+
pages = {8001-8013}
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
<details>
|
| 61 |
+
<summary>More</summary>
|
| 62 |
+
#### Acknowledgments:
|
| 63 |
+
- [ECON](https://huggingface.co/spaces/Yuliang/ECON)
|
| 64 |
+
</details>
|
| 65 |
+
'''
|
| 66 |
+
|
| 67 |
def initiate_model(model_path):
|
| 68 |
deco_model = DECO('hrnet', True, device)
|
| 69 |
|