mfinzi/pristine-ml

View on GitHub
oil/architectures/img_classifiers/transformer.py

Summary

Maintainability
A
1 hr
Test Coverage

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

    def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0, groups=1, bias=False):
Severity: Major
Found in oil/architectures/img_classifiers/transformer.py - About 50 mins to fix

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

        def __init__(self,k=64,ksize=7,drop_rate=0,stride=1,gn=False,num_heads=8):
    Severity: Minor
    Found in oil/architectures/img_classifiers/transformer.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status