mfinzi/pristine-ml

View on GitHub
oil/architectures/parts/blocks.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(self,in_channels,out_channels,ksize=3,drop_rate=0,stride=1,gn=False,**kwargs):
Severity: Major
Found in oil/architectures/parts/blocks.py - About 50 mins to fix

    Function conv2d has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def conv2d(in_channels,out_channels,kernel_size=3,coords=False,dilation=1,**kwargs):
    Severity: Minor
    Found in oil/architectures/parts/blocks.py - About 45 mins to fix

      Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(self, inplanes,k=16,N=20,drop_rate=0,coords=True):
      Severity: Minor
      Found in oil/architectures/parts/blocks.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status