tensorflow/models

View on GitHub
official/vision/dataloaders/tfexample_utils.py

Summary

Maintainability
B
5 hrs
Test Coverage

File tfexample_utils.py has 266 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2024 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Severity: Minor
Found in official/vision/dataloaders/tfexample_utils.py - About 2 hrs to fix

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

    def create_detection_test_example(
    Severity: Minor
    Found in official/vision/dataloaders/tfexample_utils.py - About 45 mins to fix

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

      def create_3d_image_test_example(
      Severity: Minor
      Found in official/vision/dataloaders/tfexample_utils.py - About 45 mins to fix

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

        def create_classification_example(
        Severity: Minor
        Found in official/vision/dataloaders/tfexample_utils.py - About 35 mins to fix

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

          def create_segmentation_test_example(
          Severity: Minor
          Found in official/vision/dataloaders/tfexample_utils.py - About 35 mins to fix

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

            def create_distillation_example(
            Severity: Minor
            Found in official/vision/dataloaders/tfexample_utils.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status