feat: add VGGT model weight loading
Browse files- .gitignore +1 -0
- vggt/models/vggt.py +2 -2
.gitignore
CHANGED
|
@@ -9,6 +9,7 @@ __pycache__/
|
|
| 9 |
*.md
|
| 10 |
# C extensions
|
| 11 |
*.so
|
|
|
|
| 12 |
|
| 13 |
# Distribution / packaging
|
| 14 |
.Python
|
|
|
|
| 9 |
*.md
|
| 10 |
# C extensions
|
| 11 |
*.so
|
| 12 |
+
generate_commits*
|
| 13 |
|
| 14 |
# Distribution / packaging
|
| 15 |
.Python
|
vggt/models/vggt.py
CHANGED
|
@@ -4,8 +4,8 @@
|
|
| 4 |
# This source code is licensed under the license found in the
|
| 5 |
# LICENSE file in the root directory of this source tree.
|
| 6 |
|
| 7 |
-
import torch
|
| 8 |
-
import torch.nn as nn
|
| 9 |
from huggingface_hub import PyTorchModelHubMixin # used for model hub
|
| 10 |
|
| 11 |
from vggt.models.aggregator import Aggregator
|
|
|
|
| 4 |
# This source code is licensed under the license found in the
|
| 5 |
# LICENSE file in the root directory of this source tree.
|
| 6 |
|
| 7 |
+
import torch # Core tensor operations
|
| 8 |
+
import torch # Core tensor operations.nn as nn
|
| 9 |
from huggingface_hub import PyTorchModelHubMixin # used for model hub
|
| 10 |
|
| 11 |
from vggt.models.aggregator import Aggregator
|