Files
nerfstudio/pyrad/nerf/loss.py
T
2022-05-31 14:15:06 -07:00

10 lines
132 B
Python

"""
Collection of Losses
"""
from torch import nn
L1Loss = nn.L1Loss
MSELoss = nn.MSELoss
LOSSES = {"L1": L1Loss, "MSE": MSELoss}