Skip to content

Commit

Permalink
Update EFEN_arch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereeeee authored Mar 5, 2024
1 parent 33355aa commit cacfa46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basicsr/archs/EFEN_arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from torch import nn as nn
from torch.nn import functional as F
from basicsr.utils.registry import ARCH_REGISTRY
from .arch_util import default_init_weights, make_layer
from thop import profile # 计算参数量和运算量
from .arch_util import make_layer
from thop import profile

class BSConvU(torch.nn.Sequential):
def __init__(self, in_channels, out_channels, kernel_size, padding=1, stride=1, dilation=1, bias=True,
Expand Down

0 comments on commit cacfa46

Please sign in to comment.