bulatko commited on
Commit
f8f2c39
·
1 Parent(s): 01a1bc2

feat: add VGGT model weight loading

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. 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