Spaces:
Running
Running
Commit
·
d3c48b8
1
Parent(s):
f686028
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,56 @@ from common.utils import (
|
|
19 |
model = "xuelunshen/gim"
|
20 |
|
21 |
DESCRIPTION = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
# GIM: Learning Generalizable Image Matcher From Internet Videos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"""
|
24 |
|
25 |
|
@@ -326,7 +375,7 @@ def run(config):
|
|
326 |
|
327 |
import datetime
|
328 |
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), 'app.queue().launch start')
|
329 |
-
app.queue().launch(share=False
|
330 |
|
331 |
|
332 |
if __name__ == "__main__":
|
|
|
19 |
model = "xuelunshen/gim"
|
20 |
|
21 |
DESCRIPTION = """
|
22 |
+
<p align="center" style="color:#6e6e6e;font-size:18px">
|
23 |
+
<a href="https://xuelunshen.github.io/gim.com/">🏠 Project Page</a> |
|
24 |
+
<a href="https://openreview.net/pdf?id=NYN1b8GRGS">📄 Paper</a> |
|
25 |
+
<a href="https://xuelunshen.github.io/gim.com/">🎥 Video</a> |
|
26 |
+
<a href="https://xuelunshen.github.io/gim.com/">🗄️ Data</a> |
|
27 |
+
<a href="https://xuelunshen.github.io/gim.com/">🤗 Online Demo</a>
|
28 |
+
</p>
|
29 |
+
|
30 |
+
<br/>
|
31 |
+
|
32 |
# GIM: Learning Generalizable Image Matcher From Internet Videos
|
33 |
+
|
34 |
+
<p align="center" style="color:#6e6e6e;font-size:22px">
|
35 |
+
🌟 ICLR 2024 spotlight (Notable-Top-5%)
|
36 |
+
</p>
|
37 |
+
|
38 |
+
<div style="display: flex; justify-content: center; align-items: flex-start;">
|
39 |
+
<div style="width: 50%; padding: 10px;">
|
40 |
+
<p align="left">
|
41 |
+
<span style="color: black;">
|
42 |
+
You can click on the example images below or upload a pair of images. Running a match takes about 3.5 minutes (because the code is deployed on free CPU). Please wait patiently and keep the window in the foreground during operation
|
43 |
+
</span>
|
44 |
+
<br>
|
45 |
+
<span style="color: gray; font-size: smaller;">
|
46 |
+
Thanks to <a href="https://github.com/Vincentqyw/image-matching-webui" style="color: gray;">Vincentqyw/image-matching-webui</a> for providing the UI framework.
|
47 |
+
</span>
|
48 |
+
</p>
|
49 |
+
</div>
|
50 |
+
<div style="width: 50%; padding: 10px;">
|
51 |
+
<p align="left">
|
52 |
+
<span style="color: black;">
|
53 |
+
你可以点击下面的示例图片或者上传图片
|
54 |
+
</span>
|
55 |
+
<br>
|
56 |
+
<span style="color: black;">
|
57 |
+
运行一次匹配需要 3.5 分钟左右的时间 (因为代码部署在免费cpu上)
|
58 |
+
</span>
|
59 |
+
<br>
|
60 |
+
<span style="color: black;">
|
61 |
+
请你耐心等待, 运行期间保持窗口在最前面
|
62 |
+
</span>
|
63 |
+
<br>
|
64 |
+
<span style="color: gray; font-size: smaller;">
|
65 |
+
感谢 <a href="https://github.com/Vincentqyw/image-matching-webui" style="color: gray;">Vincentqyw/image-matching-webui</a> 提供的交互界面.
|
66 |
+
</span>
|
67 |
+
</p>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
|
72 |
"""
|
73 |
|
74 |
|
|
|
375 |
|
376 |
import datetime
|
377 |
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), 'app.queue().launch start')
|
378 |
+
app.queue().launch(share=False)
|
379 |
|
380 |
|
381 |
if __name__ == "__main__":
|