wlyu-adobe commited on
Commit
bb22190
·
1 Parent(s): 090676f

Initial commit

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.png filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -36,9 +36,6 @@ outputs/
36
  *.ply
37
  *.mp4
38
 
39
- # Examples (if large)
40
- examples/
41
-
42
  # IDE
43
  .vscode/
44
  .idea/
 
36
  *.ply
37
  *.mp4
38
 
 
 
 
39
  # IDE
40
  .vscode/
41
  .idea/
examples/002.png ADDED

Git LFS Details

  • SHA256: 170063b82a8398bd8097d726643b0f9eed317441200034daf7fba29c9d95cb8f
  • Pointer size: 131 Bytes
  • Size of remote file: 375 kB
examples/004.png ADDED

Git LFS Details

  • SHA256: 2cc31f57412086caddb70b8cf995964705b39b82ddc3b6774499f994800fdb1e
  • Pointer size: 131 Bytes
  • Size of remote file: 375 kB
examples/005.png ADDED

Git LFS Details

  • SHA256: 8d5d43bd73e55c5ee8f8bdf18f0272c56aef4ff208ed2c7cf6edda73341b4076
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
examples/013.png ADDED

Git LFS Details

  • SHA256: 7d2ba7c642480efddcb5898af78dbd6980c2281bb0146c90ad8664bafa926443
  • Pointer size: 131 Bytes
  • Size of remote file: 367 kB
examples/016.png ADDED

Git LFS Details

  • SHA256: 83e99a2cac06e12a050d93bb3eddf21b47186bdcd680921e2157eab9bafa56da
  • Pointer size: 131 Bytes
  • Size of remote file: 322 kB
examples/019.png ADDED

Git LFS Details

  • SHA256: 83c0712f4f20f14284db8f21af3216a7e1fa49c231d42210167a281e62b318a9
  • Pointer size: 131 Bytes
  • Size of remote file: 306 kB
examples/020.png ADDED

Git LFS Details

  • SHA256: 6189d1f8d0218a9aaf581187802ea8496814b1798642cc9fad531ddca51dcbe5
  • Pointer size: 131 Bytes
  • Size of remote file: 514 kB
examples/025.png ADDED

Git LFS Details

  • SHA256: 70606a7cecaf796994c7f68ddd19ad7c5e36e56a3c8f86cbc108befd702980b3
  • Pointer size: 131 Bytes
  • Size of remote file: 459 kB
examples/037.png ADDED

Git LFS Details

  • SHA256: 5e16617c9051810f7368dffa4dd10fa3045d781cd0a9bdb1c2e9bd13765b0c98
  • Pointer size: 131 Bytes
  • Size of remote file: 410 kB
examples/teaser.png ADDED

Git LFS Details

  • SHA256: 451d2a739b25bdd06542d3d146e21f3e7adf807ee29a7d6f183724ef962e79e6
  • Pointer size: 131 Bytes
  • Size of remote file: 352 kB
gslrm/model/gaussians_renderer.py CHANGED
@@ -126,6 +126,13 @@ def build_scaling_rotation(s, r):
126
  return L
127
 
128
 
 
 
 
 
 
 
 
129
  # copied from: utils.sh_utils
130
  C0 = 0.28209479177387814
131
  C1 = 0.4886025119029199
@@ -298,12 +305,6 @@ class Camera(nn.Module):
298
  # modified from scene/gaussian_model.py
299
  class GaussianModel:
300
  def setup_functions(self):
301
- def build_covariance_from_scaling_rotation(scaling, scaling_modifier, rotation):
302
- L = build_scaling_rotation(scaling_modifier * scaling, rotation)
303
- actual_covariance = L @ L.transpose(1, 2)
304
- symm = strip_symmetric(actual_covariance)
305
- return symm
306
-
307
  self.scaling_activation = torch.exp
308
  self.inv_scaling_activation = torch.log
309
  self.rotation_activation = torch.nn.functional.normalize
 
126
  return L
127
 
128
 
129
+ def build_covariance_from_scaling_rotation(scaling, scaling_modifier, rotation):
130
+ L = build_scaling_rotation(scaling_modifier * scaling, rotation)
131
+ actual_covariance = L @ L.transpose(1, 2)
132
+ symm = strip_symmetric(actual_covariance)
133
+ return symm
134
+
135
+
136
  # copied from: utils.sh_utils
137
  C0 = 0.28209479177387814
138
  C1 = 0.4886025119029199
 
305
  # modified from scene/gaussian_model.py
306
  class GaussianModel:
307
  def setup_functions(self):
 
 
 
 
 
 
308
  self.scaling_activation = torch.exp
309
  self.inv_scaling_activation = torch.log
310
  self.rotation_activation = torch.nn.functional.normalize