MCPcopy Create free account
hub / github.com/microsoft/TRELLIS / l2_loss

Function l2_loss

trellis/utils/loss_utils.py:18–19  ·  view source on GitHub ↗
(network_output, gt)

Source from the content-addressed store, hash-verified

16
17
18def l2_loss(network_output, gt):
19 return ((network_output - gt) ** 2).mean()
20
21
22def gaussian(window_size, sigma):

Callers 2

training_lossesMethod · 0.85
training_lossesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected