Skip to content

Commit

Permalink
voxel: rebalance semantic gradnorm
Browse files Browse the repository at this point in the history
  • Loading branch information
d4l3k committed Oct 6, 2023
1 parent 1d4ecbd commit bf9415a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchdrive/tasks/voxel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ def _semantic_loss(
scales=3,
mask=mask,
)
sem_loss = sem_loss * per_pixel_weights * 100 * 1000 / 16
sem_loss = sem_loss * per_pixel_weights * 100 * 1000 / 32

if ctx.log_text:
pred_min, pred_max = semantic_classes.aminmax()
Expand Down

0 comments on commit bf9415a

Please sign in to comment.