mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
Merge pull request #18 from ethanweber/tancik/losses
Add basic rendering losses
This commit is contained in:
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
"""
|
||||
Collection of Losses
|
||||
"""
|
||||
from torch import nn
|
||||
|
||||
L1Loss = nn.L1Loss
|
||||
MSELoss = nn.MSELoss
|
||||
|
||||
LOSSES = {"L1": L1Loss, "MSE": MSELoss}
|
||||
Reference in new issue
Block a user