Showing 11,634 of 11,634 total issues
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, annotation_file, include_mask, need_rescale_bboxes=True,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, num_classes, num_downsample_channels, mask_crop_size,
Function _create_replicated_step
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_replicated_step(self,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, strategy, params, model_fn, loss_fn, is_multi_host=False):
Function focal_loss
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def focal_loss(logits, targets, alpha, gamma, normalizer):
Function __call__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __call__(self, fpn_features, boxes, outer_boxes, classes, is_training):
Function residual_block
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def residual_block(self,
Function _create_train_step
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_train_step(self,
Function norm_activation_builder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def norm_activation_builder(momentum=0.997,
Function get_classification_input_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_classification_input_data(batch_size, seq_len, strategy, is_training,
Function get_synth_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_synth_data(height, width, num_channels, num_classes, dtype):
Function parse_files_to_dataset
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def parse_files_to_dataset(parser,
Function _sample_mask
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _sample_mask(sp, seg, reverse=False, max_gram=5, goal_num_predict=None):
Function call
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def call(self,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, use_proj, xlnet_config, run_config, use_legacy_mask=True,
Function _token_span_mask
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _token_span_mask(inputs, tgt_len, num_predict, min_num_tokens,
Function _generate_subtokens
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _generate_subtokens(token_counts,
Function encode_and_save_files
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def encode_and_save_files(subtokenizer, data_dir, raw_files, tag, total_shards):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function _local_perm
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _local_perm(inputs, is_masked, perm_size, seq_len, leak_ratio):