MCPcopy Create free account

hub / github.com/Tencent/PocketFlow / functions

Functions751 in github.com/Tencent/PocketFlow

↓ 1 callersMethodfeaturemap_reconstruction
Given changed input X, used linear regression to reconstruct original Y Args: x: The pruned input y: The original feature map o
learners/channel_pruning/channel_pruner.py:443
↓ 1 callersFunctionfilter_bboxes
(scores_pred, ymin, xmin, ymax, xmax, min_size, name)
utils/external/ssd_tensorflow/simple_ssd_demo.py:101
↓ 1 callersFunctionfilter_bboxes
(scores_pred, ymin, xmin, ymax, xmax, min_size, name)
utils/external/ssd_tensorflow/eval_ssd.py:213
↓ 1 callersFunctionfilter_bboxes
(scores_pred, ymin, xmin, ymax, xmax, min_size, name)
nets/vgg_at_pascalvoc.py:166
↓ 1 callersFunctionfind_unquant_act_nodes
Find unquantized activation nodes in the model. TensorFlow's quantization-aware training APIs insert quantization operations into the graph, so
learners/uniform_quantization_tf/utils.py:226
↓ 1 callersFunctionfixed_padding
Pads the input along the spatial dimensions independently of input size. Args: inputs: A tensor of size [batch, channels, height_in, width_in]
utils/external/resnet_model.py:65
↓ 1 callersFunctionflip_left_to_right
(img_tensor, labels, bboxes)
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:72
↓ 1 callersFunctiongain_translate_table
()
utils/external/ssd_tensorflow/utility/draw_toolbox.py:20
↓ 1 callersMethodgetState
Get state
learners/channel_pruning/channel_pruner.py:154
↓ 1 callersFunctionget_block_sizes
Get block sizes for different network depth. Args: * resnet_size: network depth Returns: * block_sizes: list of sizes of residual blocks
nets/resnet_at_ilsvrc12.py:36
↓ 1 callersFunctionget_checkpoint
()
utils/external/ssd_tensorflow/simple_ssd_demo.py:67
↓ 1 callersFunctionget_checkpoint
()
utils/external/ssd_tensorflow/eval_ssd.py:106
↓ 1 callersFunctionget_data_format
Get the data format of convolutional layers. Args: * sess: TensorFlow session Returns: * data_format: data format of convolutional layers
tools/conversion/export_chn_pruned_tflite_model.py:72
↓ 1 callersFunctionget_file_path_meta
Get the file path to the *.meta data. Returns: * file_path: file path to the *.meta data
tools/conversion/export_quant_tflite_model.py:44
↓ 1 callersFunctionget_file_path_meta
Get the file path to the *.meta data. Returns: * file_path: file path to the *.meta data
tools/conversion/export_chn_pruned_tflite_model.py:38
↓ 1 callersFunctionget_init_fn
()
utils/external/ssd_tensorflow/train_ssd.py:154
↓ 1 callersFunctionget_input_name_n_shape
Get the input tensor's name & shape from *.meta file. Args: * file_path: file path to the *.meta data Returns: * input_name: input tensor's
tools/conversion/export_quant_tflite_model.py:59
↓ 1 callersFunctionget_input_name_n_shape
Get the input tensor's name & shape from *.meta file. Args: * meta_path: path to the *.meta file Returns: * input_name: input tensor's name
tools/conversion/export_pb_tflite_models.py:69
↓ 1 callersFunctionget_input_name_n_shape
Get the input tensor's name & shape from *.meta file. Args: * file_path: file path to the *.meta data Returns: * input_name: input tensor's
tools/conversion/export_chn_pruned_tflite_model.py:53
↓ 1 callersFunctionget_label_name_map
()
utils/external/faster_rcnn_tensorflow/utility/label_dict.py:68
↓ 1 callersFunctionget_label_name_map
()
utils/external/faster_rcnn_tensorflow/utility/remote_sensing_dict.py:9
↓ 1 callersMethodget_layer_anchors
assume layer_shape[0] = 6, layer_shape[1] = 5 x_on_layer = [[0, 1, 2, 3, 4], [0, 1, 2, 3, 4], [
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:270
↓ 1 callersMethodget_layerwise_tune_op
Get the layerwise fine-tuning ops Returns: * A list of ops for fine-tuning with len(matmul_ops) elements
learners/nonuniform_quantization/utils.py:142
↓ 1 callersMethodget_layerwise_tune_op
Get the layerwise fine-tuning ops Returns: * A list of ops for fine-tuning with len(matmul_ops) elements
learners/uniform_quantization/utils.py:136
↓ 1 callersFunctionget_meta_path
Get the path to the *.meta file. Returns: * file_path: path to the *.meta file
tools/conversion/export_pb_tflite_models.py:54
↓ 1 callersMethodget_names
get the names of a list of tensors
learners/channel_pruning/model_wrapper.py:195
↓ 1 callersMethodget_output_by_op
Get outputs of the operations Args: op: An operation Return: The output of a operation
learners/channel_pruning/model_wrapper.py:108
↓ 1 callersMethodget_outputs_by_type
Get the ouputs of all the operations of a certain type within the model graph Args: otype: The type of returned operations Return:
learners/channel_pruning/model_wrapper.py:83
↓ 1 callersMethodget_outputs_by_types
Get the ouputs of all the operations of certain types within the model graph Args: otypes: A list containing the types of returned operat
learners/channel_pruning/model_wrapper.py:93
↓ 1 callersFunctionglobal_pool
Applies avg pool to produce 1x1 output. NOTE: This function is funcitonally equivalenet to reduce_mean, but it has baked in average pool which ha
utils/external/mobilenet.py:389
↓ 1 callersMethodinit_all_anchors
(self, all_anchors, all_num_anchors_depth, all_num_anchors_spatial)
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:127
↓ 1 callersFunctioninput_pipeline
(dataset_pattern='train-*', is_training=True, batch_size=FLAGS.batch_size)
utils/external/ssd_tensorflow/eval_ssd.py:124
↓ 1 callersFunctioninput_pipeline
(dataset_pattern='train-*', is_training=True, batch_size=FLAGS.batch_size)
utils/external/ssd_tensorflow/train_ssd.py:166
↓ 1 callersFunctioninsert_alt_routines
Insert alternative rountines for convolutional layers. Args: * sess: TensorFlow session * graph_trans_mthd: graph transformation method Retu
tools/conversion/export_pb_tflite_models.py:159
↓ 1 callersFunctioninsert_alt_routines
Insert alternative rountines for convolutional layers. Args: * sess: TensorFlow session * graph_trans_mthd: graph transformation method Retu
tools/conversion/export_chn_pruned_tflite_model.py:223
↓ 1 callersFunctionintersection
(gt_bboxes, default_bboxes)
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:27
↓ 1 callersFunctioniou_matrix
(gt_bboxes, default_bboxes)
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:42
↓ 1 callersFunctionis_initialized
Check whether a variable is initialized. Args: * sess: TensorFlow session * var: variabile to be checked
tools/conversion/export_pb_tflite_models.py:106
↓ 1 callersFunctionis_initialized
Check whether a variable is initialized. Args: * sess: TensorFlow session * var: variabile to be checked
tools/conversion/export_chn_pruned_tflite_model.py:170
↓ 1 callersMethodis_ready
Check whether the replay buffer is ready for sampling transitions. Returns: * is_ready: True if the replay buffer is ready
rl_agents/ddpg/replay_buffer.py:62
↓ 1 callersFunctionjaccard_with_anchors
(roi, bboxes)
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:168
↓ 1 callersMethodl2_normalize
(self, x, name)
utils/external/ssd_tensorflow/net/ssd_net.py:111
↓ 1 callersFunctionload_mnist
Load images and labels from *.gz files. This function is modified from utils/mnist_reader.py in the Fashion-MNIST repo. Args: * image_file: fi
examples/fmnist_dataset.py:40
↓ 1 callersFunctionmobilenet
Creates mobilenet V2 network. Inference mode is created by default. To create training use training_scope below. with tf.contrib.slim.arg_scop
utils/external/mobilenet_v2.py:86
↓ 1 callersFunctionmobilenet_base
Mobilenet base network. Constructs a network from inputs to the given final endpoint. By default the network is constructed in inference mode. To
utils/external/mobilenet.py:149
↓ 1 callersFunctionmobilenet_v1_base
Mobilenet v1. Constructs a Mobilenet v1 network from inputs to the given final endpoint. Args: inputs: a tensor of shape [batch_size, height
utils/external/mobilenet_v1.py:168
↓ 1 callersFunctionmodified_smooth_l1
ResultLoss = outside_weights * SmoothL1(inside_weights * (bbox_pred - bbox_targets)) SmoothL1(x) = 0.5 * (sigma * x)^2, if |x| < 1
utils/external/ssd_tensorflow/eval_ssd.py:166
↓ 1 callersFunctionmodified_smooth_l1
ResultLoss = outside_weights * SmoothL1(inside_weights * (bbox_pred - bbox_targets)) SmoothL1(x) = 0.5 * (sigma * x)^2, if |x| < 1
utils/external/ssd_tensorflow/train_ssd.py:207
↓ 1 callersFunctionmodified_smooth_l1
Modified smooth L1-loss. Description: * ResultLoss = outside_weights * SmoothL1(inside_weights * (bbox_pred - bbox_targets)) * SmoothL1(x) = 0.
nets/vgg_at_pascalvoc.py:120
↓ 1 callersFunctionnms_bboxes
(scores_pred, bboxes_pred, nms_topk, nms_threshold, name)
utils/external/ssd_tensorflow/simple_ssd_demo.py:125
↓ 1 callersFunctionnms_bboxes
(scores_pred, bboxes_pred, nms_topk, nms_threshold, name)
utils/external/ssd_tensorflow/eval_ssd.py:237
↓ 1 callersFunctionnms_bboxes
(scores_pred, bboxes_pred, nms_topk, nms_threshold, name)
nets/vgg_at_pascalvoc.py:190
↓ 1 callersFunctiononly_draw_scores
(draw_obj, box, score, color)
utils/external/faster_rcnn_tensorflow/utility/draw_box_in_img.py:76
↓ 1 callersFunctionpack_annotations
Pack all the annotations into one tensor. Args: * bboxes: list of bounding box coordinates (N x 4) * labels: list of category labels (N) * di
datasets/pascalvoc_dataset.py:70
↓ 1 callersMethodparam_data
get the weights of an operation (k_h,k_w,c,n)
learners/channel_pruning/model_wrapper.py:183
↓ 1 callersMethodparam_shape
get the shape of an operation weights
learners/channel_pruning/model_wrapper.py:174
↓ 1 callersFunctionparse_by_class
(cls_pred, bboxes_pred, num_classes, select_threshold, min_size, keep_topk, nms_topk, nms_threshold)
utils/external/ssd_tensorflow/simple_ssd_demo.py:130
↓ 1 callersFunctionparse_by_class
(cls_pred, bboxes_pred, num_classes, select_threshold, min_size, keep_topk, nms_topk, nms_threshold)
utils/external/ssd_tensorflow/eval_ssd.py:242
↓ 1 callersFunctionparse_by_class
(cls_pred, bboxes_pred, num_classes, select_threshold, min_size, keep_topk, nms_topk, nms_t
nets/vgg_at_pascalvoc.py:196
↓ 1 callersFunctionparse_example_proto
Parse the unserialized feature data from the serialized data. Args: * example_serialized: serialized example data Returns: * features: unser
datasets/pascalvoc_dataset.py:39
↓ 1 callersFunctionparse_example_proto
Parse image buffer, label, and bounding box from the serialized data. Args: * example_serialized: serialized example data Returns: * image_b
datasets/ilsvrc12_dataset.py:39
↓ 1 callersFunctionparse_fn
Parse image & objects from the serialized data. Args: * example_serialized: serialized example data * preprocess_fn: preprocessing function *
datasets/pascalvoc_dataset.py:101
↓ 1 callersFunctionparse_fn
Parse image & labels from the serialized data. Args: * example_serialized: serialized example data * is_train: whether data augmentation should
datasets/cifar10_dataset.py:43
↓ 1 callersFunctionparse_fn
Parse image & labels from the serialized data. Args: * example_serialized: serialized example data * is_train: whether data augmentation should
datasets/ilsvrc12_dataset.py:75
↓ 1 callersFunctionparse_fn
Parse an (image, label) pair and apply data augmentation if needed. Args: * image: image tensor * label: label tensor * is_train: whether dat
examples/fmnist_dataset.py:64
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file
utils/external/ssd_tensorflow/voc_eval.py:31
↓ 1 callersFunctionpostprocess_fastrcnn
:param rois:[-1, 4] :param bbox_ppred: [-1, (cfgs.Class_num+1) * 4] :param scores: [-1, FLAGS.nb_classes] :return:
nets/faster_rcnn_at_pascalvoc.py:91
↓ 1 callersFunctionpostprocess_rpn_proposals
:param rpn_bbox_pred: [-1, 4] :param rpn_cls_prob: [-1, 2] :param img_shape: :param anchors:[-1, 4] :param is_training: :ret
utils/external/faster_rcnn_tensorflow/utility/proposal_opr.py:14
↓ 1 callersFunctionpreprocess_for_eval
Preprocesses the given image for evaluation. Args: image: A `Tensor` representing an image of arbitrary size. out_shape: The height and wid
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:480
↓ 1 callersFunctionpreprocess_for_eval
(image, out_shape, data_format='channels_first', scope='ssd_preprocessing_eval', output_rgb=True)
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:99
↓ 1 callersFunctionpreprocess_for_train
Preprocesses the given image for training. Args: image: A `Tensor` representing an image of arbitrary size. labels: A `Tensor` containing a
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:430
↓ 1 callersFunctionpreprocess_for_train
(image, labels, bboxes, out_shape, data_format='channels_first', scope='ssd_preprocessing_train', output_rgb=T
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:90
↓ 1 callersFunctionpreprocess_image
Preprocesses the given image. Preprocessing includes decoding, cropping, and resizing for both training and eval images. Training preprocessing,
utils/external/imagenet_preprocessing.py:226
↓ 1 callersFunctionprint_all_tensors_name
(file_name)
utils/external/ssd_tensorflow/utility/checkpint_inspect.py:42
↓ 1 callersMethodprune_W1
Prune the previous layer weight (channel dimension of the input) Args: father_conv: previous convolution idxs: the indices of
learners/channel_pruning/channel_pruner.py:665
↓ 1 callersMethodprune_W2
Prune the current layer weight (channel dimension of the output) Args: conv_op: the current convolution operation conv_input:
learners/channel_pruning/channel_pruner.py:701
↓ 1 callersMethodprune_kernel
prune the input of op by nb_channel_new Args: op: the convolution operation to be pruned. nb_channel_new: preserving ratio (0, 1]
learners/channel_pruning/channel_pruner.py:588
↓ 1 callersFunctionrandom_flip_left_right
(image, bboxes)
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:418
↓ 1 callersFunctionrandom_flip_left_right
(img_tensor, labels, bboxes)
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:82
↓ 1 callersFunctionreplace_dropout_layers
Replace dropout layers with identity mappings. Returns: * op_outputs_old: output nodes to be swapped in the old graph * op_outputs_new: output
tools/conversion/export_quant_tflite_model.py:176
↓ 1 callersFunctionreplace_dropout_layers
Replace dropout layers with identity mappings. Returns: * op_outputs_old: output nodes to be swapped in the old graph * op_outputs_new: output
tools/conversion/export_pb_tflite_models.py:139
↓ 1 callersFunctionreplace_dropout_layers
Replace dropout layers with identity mappings. Returns: * op_outputs_old: output nodes to be swapped in the old graph * op_outputs_new: output
tools/conversion/export_chn_pruned_tflite_model.py:203
↓ 1 callersMethodreset
reset the helper params for each rollout
learners/nonuniform_quantization/rl_helper.py:83
↓ 1 callersMethodreset
reset the helper params for each rollout
learners/uniform_quantization/rl_helper.py:83
↓ 1 callersFunctionroi_pooling
Here use roi warping as roi_pooling :param featuremaps_dict: feature map to crop :param rois: shape is [-1, 4]. [x1, y1, x2, y2] :return:
nets/faster_rcnn_at_pascalvoc.py:156
↓ 1 callersFunctionsample_patch
(image, labels, bboxes, min_iou)
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:252
↓ 1 callersFunctionsample_width_height
(width, height)
utils/external/ssd_tensorflow/preprocessing/ssd_preprocessing.py:145
↓ 1 callersFunctionselect_bboxes
(scores_pred, bboxes_pred, num_classes, select_threshold)
utils/external/ssd_tensorflow/simple_ssd_demo.py:75
↓ 1 callersFunctionselect_bboxes
(scores_pred, bboxes_pred, num_classes, select_threshold)
utils/external/ssd_tensorflow/eval_ssd.py:187
↓ 1 callersFunctionselect_bboxes
(scores_pred, bboxes_pred, num_classes, select_threshold)
nets/vgg_at_pascalvoc.py:142
↓ 1 callersFunctionsetup_bnds_decay_rates
NOTE: The bnd_decay_rates here is mgw_size invariant
learners/nonuniform_quantization/learner.py:52
↓ 1 callersFunctionsetup_bnds_decay_rates
NOTE: The bnd_decay_rates here is mgw_size invariant
learners/uniform_quantization/learner.py:50
↓ 1 callersFunctionsetup_lrn_rate_exponential_decay
Setup the learning rate with exponential decaying strategy. Args: * global_step: training iteration counter * batch_size: number of samples in
utils/lrn_rate_utils.py:48
↓ 1 callersFunctionshort_side_resize
:param img_tensor:[h, w, c], gtboxes_and_label:[-1, 5]. gtboxes: [xmin, ymin, xmax, ymax] :param target_shortside_len: :param length_li
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:19
↓ 1 callersFunctionshort_side_resize_for_inference_data
(img_tensor, target_shortside_len, length_limitation=1200)
utils/external/faster_rcnn_tensorflow/preprocessing/faster_rcnn_preprocessing.py:57
↓ 1 callersFunctionslim_get_split
(file_pattern='{}_????')
utils/external/ssd_tensorflow/preprocessing/preprocessing_unittest.py:41
↓ 1 callersFunctionslim_get_split
(file_pattern='{}_????')
utils/external/ssd_tensorflow/utility/anchor_manipulator_unittest.py:42
↓ 1 callersFunctionsort_bboxes
(scores_pred, ymin, xmin, ymax, xmax, keep_topk, name)
utils/external/ssd_tensorflow/simple_ssd_demo.py:112
↓ 1 callersFunctionsort_bboxes
(scores_pred, ymin, xmin, ymax, xmax, keep_topk, name)
utils/external/ssd_tensorflow/eval_ssd.py:224
↓ 1 callersFunctionsort_bboxes
(scores_pred, ymin, xmin, ymax, xmax, keep_topk, name)
nets/vgg_at_pascalvoc.py:177
← previousnext →401–500 of 751, ranked by callers