Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect loss weight init for floor_weight #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, coef=1, igr_weight=0.1, mask_weight=0.1, depth_weight=0.1, fl
self.igr_weight = igr_weight
self.mask_weight = mask_weight
self.depth_weight = depth_weight
self.floor_weight = depth_weight
self.floor_weight = floor_weight

self.config = config

Expand Down Expand Up @@ -42,4 +42,4 @@ def forward(self, inputs, targets, masks=None):

return ret

loss_dict = {'neuconw': NeuconWLoss}
loss_dict = {'neuconw': NeuconWLoss}