add weights to prior

This commit is contained in:
Wlad 2021-02-09 14:14:23 +01:00
parent 07542309ef
commit 64d40ebe79

View File

@ -205,6 +205,7 @@ def get_loss_layers(config, device, dtype):
if config['pose']['anglePrior']['enabled']:
extra_loss_layers.append(AnglePriorsLoss(
device=device,
global_weight=config['pose']['anglePrior']['weight'],
dtype=dtype))
if config['pose']['angleSumLoss']['enabled']: