official/projects/panoptic/dataloaders/panoptic_maskrcnn_input.py
File panoptic_maskrcnn_input.py
has 324 lines of code (exceeds 250 allowed). Consider refactoring. Open
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
Function __init__
has 25 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function _parse_train_data
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def _parse_train_data(self, data):
"""Parses data for training.
Args:
data: the decoded tensor dictionary from TfExampleDecoder.
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(