Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ssagawa committed Aug 4, 2021
2 parents 061fd04 + 0c65eac commit 145ec39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def initialize_loss(config, d_out):
return MultiTaskLoss(loss_fn=nn.BCEWithLogitsLoss(reduction='none'))

elif config.loss_function == 'fasterrcnn_criterion':
from examples.models.detection.fasterrcnn import FasterRCNNLoss
from models.detection.fasterrcnn import FasterRCNNLoss
return ElementwiseLoss(loss_fn=FasterRCNNLoss(config.device))

else:
Expand Down

0 comments on commit 145ec39

Please sign in to comment.