Add basic rendering losses

This commit is contained in:
Matt Tancik committed 2022-04-15 14:58:23 -07:00
1 parent d0baffb265
commit 1ee3cab281
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
"""
Collection of Losses
"""
from torch import nn
L1Loss = nn.L1Loss
MSELoss = nn.MSELoss
LOSSES = {"L1": L1Loss, "MSE": MSELoss}