Browse Source

Add focal data for vggt

tags/v0.3.12-fix
haixuantao 6 months ago
parent
commit
549c7195bf
2 changed files with 9 additions and 1 deletions
  1. +1
    -1
      Cargo.lock
  2. +8
    -0
      node-hub/dora-vggt/dora_vggt/main.py

+ 1
- 1
Cargo.lock View File

@@ -12027,7 +12027,7 @@ dependencies = [
"hyper 1.6.0",
"indicatif",
"log",
"quick-xml 0.37.2",
"quick-xml 0.37.5",
"regex",
"reqwest",
"self-replace",


+ 8
- 0
node-hub/dora-vggt/dora_vggt/main.py View File

@@ -146,6 +146,14 @@ def main():
"encoding": "rgb8",
"width": image.shape[1],
"height": image.shape[0],
"focal": [
int(f_0),
int(f_1),
],
"resolution": [
int(r_0),
int(r_1),
],
},
)



Loading…
Cancel
Save