oil/architectures/parts/blocks.py
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,in_channels,out_channels,ksize=3,drop_rate=0,stride=1,gn=False,**kwargs):
Function conv2d
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def conv2d(in_channels,out_channels,kernel_size=3,coords=False,dilation=1,**kwargs):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, inplanes,k=16,N=20,drop_rate=0,coords=True):