Spaces:
Running
on
Zero
Running
on
Zero
daidedou
commited on
Commit
·
d9a06fc
1
Parent(s):
904b157
final commit
Browse files
app.py
CHANGED
|
@@ -93,9 +93,9 @@ def export_for_view(surf: Surface, colors: np.ndarray, basename: str, outdir: st
|
|
| 93 |
# -----------------------------
|
| 94 |
DEFAULT_SETTINGS = {
|
| 95 |
"deepfeat_conf.fmap.lambda_": 1,
|
| 96 |
-
"sds_conf.zoomout":
|
| 97 |
"diffusion.time": 1.0,
|
| 98 |
-
"opt.n_loop":
|
| 99 |
"loss.sds": 1.0,
|
| 100 |
"loss.proper": 1.0,
|
| 101 |
}
|
|
@@ -302,7 +302,7 @@ with gr.Blocks(title="DiffuMatch demo") as demo:
|
|
| 302 |
init_btn = gr.Button("Init", variant="primary")
|
| 303 |
run_btn = gr.Button("Run", variant="secondary")
|
| 304 |
|
| 305 |
-
gr.Markdown("### Outputs\n For both **Init** and **Run** stages, \n we provide a preview of the correspondences as coloreds glbs, \n and the obtained correspondence as a .txt file.")
|
| 306 |
with gr.Tab("Init"):
|
| 307 |
with gr.Row():
|
| 308 |
init_view_a = gr.Model3D(label="Shape")
|
|
|
|
| 93 |
# -----------------------------
|
| 94 |
DEFAULT_SETTINGS = {
|
| 95 |
"deepfeat_conf.fmap.lambda_": 1,
|
| 96 |
+
"sds_conf.zoomout": 35,
|
| 97 |
"diffusion.time": 1.0,
|
| 98 |
+
"opt.n_loop": 250,
|
| 99 |
"loss.sds": 1.0,
|
| 100 |
"loss.proper": 1.0,
|
| 101 |
}
|
|
|
|
| 302 |
init_btn = gr.Button("Init", variant="primary")
|
| 303 |
run_btn = gr.Button("Run", variant="secondary")
|
| 304 |
|
| 305 |
+
gr.Markdown("### Outputs\n For both **Init** and **Run** stages, \n we provide a preview of the correspondences as coloreds glbs, \n and the obtained correspondence as a .txt file. \n The map is optimized with downsampled shapes (which breaks the cactus example) and zoomout to filter the last map is only done for 20 steps, so you will need to filter the final map with better quality using e.g. [pyfmaps](https://pypi.org/project/pyfmaps/).")
|
| 306 |
with gr.Tab("Init"):
|
| 307 |
with gr.Row():
|
| 308 |
init_view_a = gr.Model3D(label="Shape")
|