mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-24 18:14:16 +08:00
Enable SparseNerf depth ranking loss to be used with GT/Sensor depth (#2312)
* add ranking loss to depth-nerfacto with GT depth * formating * pair pixel sampler bug fix from pr #2315 --------- Co-authored-by: Sasha Sax <asax@stanford.edu> Co-authored-by: Ethan Weber <ethanweber@berkeley.edu> Co-authored-by: AdamRashid96 <abrashid@berkeley.edu> Co-authored-by: AdamRashid96 <71362382+AdamRashid96@users.noreply.github.com>
This commit is contained in:
4 files changed
+50
-32
No files matched your search
@@ -35,7 +35,6 @@ EPS = 1.0e-7
|
||||
|
||||
# Sigma scale factor from Urban Radiance Fields (Rematas et al., 2022)
|
||||
URF_SIGMA_SCALE_FACTOR = 3.0
|
||||
DEPTH_METRIC = 1
|
||||
|
||||
|
||||
class DepthLossType(Enum):
|
||||
@@ -43,6 +42,11 @@ class DepthLossType(Enum):
|
||||
|
||||
DS_NERF = 1
|
||||
URF = 2
|
||||
SPARSENERF_RANKING = 3
|
||||
|
||||
|
||||
FORCE_PSEUDODEPTH_LOSS = False
|
||||
PSEUDODEPTH_COMPATIBLE_LOSSES = (DepthLossType.SPARSENERF_RANKING,)
|
||||
|
||||
|
||||
def outer(
|
||||
|
||||
Reference in new issue
Block a user