Skip to content

Commit

Permalink
fix basicsr losses import (TencentARC#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenna41 authored Jul 13, 2022
1 parent 3fd7a2f commit 5c03750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfpgan/models/gfpgan_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch
from basicsr.archs import build_network
from basicsr.losses import build_loss
from basicsr.losses.losses import r1_penalty
from basicsr.losses.gan_loss import r1_penalty
from basicsr.metrics import calculate_metric
from basicsr.models.base_model import BaseModel
from basicsr.utils import get_root_logger, imwrite, tensor2img
Expand Down

0 comments on commit 5c03750

Please sign in to comment.