MCPcopy Create free account

hub / github.com/Engineering-Course/LIP_JPPNet / functions

Functions171 in github.com/Engineering-Course/LIP_JPPNet

↓ 105 callersMethodbatch_normalization
(self, input, name, is_training, activation_fn=None, scale=True)
kaffe/tensorflow/network.py:261
↓ 80 callersMethodconv
(self, input, k_h, k_w, c_o, s_h,
kaffe/tensorflow/network.py:106
↓ 45 callersMethodfeed
Set the input(s) for the next operation by replacing the terminal nodes. The arguments can be either layer names or the actual layers.
kaffe/tensorflow/network.py:71
↓ 37 callersMethodadd
(self, inputs, name)
kaffe/tensorflow/network.py:226
↓ 37 callersMethodrelu
(self, input, name)
kaffe/tensorflow/network.py:191
↓ 30 callersMethodatrous_conv
(self, input, k_h, k_w, c_o,
kaffe/tensorflow/network.py:149
↓ 23 callersFunctionconv2d
(input_, output, kernel, stride, relu, bn, name, stddev=0.01)
utils/ops.py:7
↓ 18 callersMethodformat
Returns a string representation for the given value.
kaffe/tensorflow/transformer.py:45
↓ 15 callersFunctionparsing_refine
(parsing, pose, parsing_fea, name)
LIP_model.py:45
↓ 15 callersFunctionpose_refine
(pose, parsing, pose_fea, name)
LIP_model.py:26
↓ 11 callersMethodconcat
(self, inputs, axis, name)
kaffe/tensorflow/network.py:222
↓ 9 callersFunctionpose_net
(image, name)
LIP_model.py:10
↓ 7 callersMethodget_only_parent
(self)
kaffe/graph.py:32
↓ 6 callersMethodget_kernel_value
(scalar, repeated, idx, default=None)
kaffe/layers.py:119
↓ 6 callersMethodmake_var
Creates a new TensorFlow variable.
kaffe/tensorflow/network.py:97
↓ 5 callersMethodstatement
(self, s)
kaffe/tensorflow/transformer.py:177
↓ 4 callersFunctionatrous_conv2d
(input_, output, kernel, rate, relu, name, stddev=0.01)
utils/ops.py:34
↓ 4 callersFunctionget_caffe_resolver
()
kaffe/caffe/resolver.py:29
↓ 4 callersFunctionprint_stderr
(msg)
kaffe/errors.py:6
↓ 4 callersMethodvalidate_padding
Verifies that the padding is one of the supported ones.
kaffe/tensorflow/network.py:101
↓ 3 callersMethodget_node
(self, name)
kaffe/graph.py:62
↓ 3 callersFunctionload
Load trained weights. Args: saver: TensorFlow saver object. sess: TensorFlow session. ckpt_path: path to checkpoint file wi
utils/utils.py:102
↓ 3 callersFunctionprepare_label
Resize masks and perform one-hot encoding. Args: input_batch: input tensor of shape [batch_size H W 1]. new_size: a tensor with new h
utils/utils.py:47
↓ 3 callersMethodtopologically_sorted
(self)
kaffe/graph.py:74
↓ 2 callersMethodget_handler_name
(node_kind)
kaffe/layers.py:85
↓ 2 callersMethodget_kernel_params
(self, node)
kaffe/tensorflow/transformer.py:80
↓ 2 callersFunctionget_strided_kernel_output_shape
(node, round_func)
kaffe/shapes.py:15
↓ 2 callersMethodindent
(self)
kaffe/tensorflow/transformer.py:171
↓ 2 callersMethodload
Load the layer definitions from the prototxt.
kaffe/graph.py:142
↓ 2 callersMethodmap
(self, node_kind)
kaffe/transformers.py:111
↓ 2 callersMethodmax_pool
(self, input, k_h, k_w, s_h, s_w, name, padding=DEFAULT_PADDING)
kaffe/tensorflow/network.py:195
↓ 2 callersMethodpair
Returns key=formatted(value).
kaffe/tensorflow/transformer.py:49
↓ 2 callersMethodtransformed
(self, transformers)
kaffe/graph.py:104
↓ 1 callersMethodadd_child
(self, child_node)
kaffe/graph.py:26
↓ 1 callersMethodadd_parent
(self, parent_node)
kaffe/graph.py:20
↓ 1 callersMethodadjust_parameters
(self, node, data)
kaffe/transformers.py:66
↓ 1 callersFunctionaverage_gradients
Calculate the average gradient for each shared variable across all towers. Note that this function provides a synchronization point across all tower
train_JPPNet-s2.py:297
↓ 1 callersMethodbuild
Builds the graph from the Caffe layer definitions.
kaffe/graph.py:202
↓ 1 callersMethodcommit
(self, mapped_chains)
kaffe/graph.py:301
↓ 1 callersMethodcompute_output_shape
(node)
kaffe/layers.py:69
↓ 1 callersMethodcompute_output_shapes
(self)
kaffe/graph.py:96
↓ 1 callersFunctioncrop_square_portion
crop and save image
get_maximum_square_from_segmented_image.py:53
↓ 1 callersFunctiondecode_labels
Decode batch of segmentation masks. Args: mask: result of inference after taking argmax. num_images: number of images to decode f
utils/utils.py:24
↓ 1 callersMethoddequeue
Pack images and labels into a batch. Args: num_elements: the batch size. Returns: Two tensors
utils/lip_reader.py:262
↓ 1 callersMethodemit
Emits the Python source for this node.
kaffe/tensorflow/transformer.py:53
↓ 1 callersMethodemit
(self, name, chains)
kaffe/tensorflow/transformer.py:199
↓ 1 callersMethodemit_class_def
(self, name)
kaffe/tensorflow/transformer.py:183
↓ 1 callersMethodemit_imports
(self)
kaffe/tensorflow/transformer.py:180
↓ 1 callersMethodemit_node
(self, node)
kaffe/tensorflow/transformer.py:196
↓ 1 callersMethodemit_parents
(self, chain)
kaffe/tensorflow/transformer.py:189
↓ 1 callersMethodemit_setup_def
(self)
kaffe/tensorflow/transformer.py:186
↓ 1 callersMethodfilter_layers
Filter out layers based on the current phase.
kaffe/graph.py:148
↓ 1 callersFunctionget_filter_output_shape
(i_h, i_w, params, round_func)
kaffe/shapes.py:9
↓ 1 callersMethodget_handler
(self, node_kind, prefix)
kaffe/layers.py:93
↓ 1 callersMethodget_input_nodes
(self)
kaffe/graph.py:68
↓ 1 callersFunctionget_padding_type
Translates Caffe's numeric padding to one of ('SAME', 'VALID'). Caffe supports arbitrary padding values, while TensorFlow only supports 'SAME'
kaffe/tensorflow/transformer.py:12
↓ 1 callersMethodget_unique_name
Returns an index-suffixed unique name for the given prefix. This is used for auto-generating layer names based on the type-prefix.
kaffe/tensorflow/network.py:90
↓ 1 callersFunctionhas_pycaffe
()
kaffe/caffe/resolver.py:35
↓ 1 callersMethodhas_pycaffe
(self)
kaffe/caffe/resolver.py:26
↓ 1 callersMethodhas_spatial_parent
(self, node)
kaffe/transformers.py:103
↓ 1 callersFunctionimage_mirroring
Randomly mirrors the images. Args: img: Training image to mirror. label: Segmentation mask to mirror.
utils/lip_reader.py:31
↓ 1 callersMethodimport_caffe
(self)
kaffe/caffe/resolver.py:9
↓ 1 callersMethodis_eligible_pair
Returns true if this parent/child pair is eligible for fusion.
kaffe/transformers.py:182
↓ 1 callersMethodload
(self)
kaffe/transformers.py:31
↓ 1 callersMethodload
(self, def_path, data_path, phase)
kaffe/tensorflow/transformer.py:225
↓ 1 callersMethodload_using_caffe
(self)
kaffe/transformers.py:37
↓ 1 callersMethodload_using_pb
(self)
kaffe/transformers.py:43
↓ 1 callersFunctionmain
()
train_JPPNet-s2.py:37
↓ 1 callersFunctionmain
Create the model and start the evaluation process.
evaluate_parsing_JPPNet-s2.py:28
↓ 1 callersFunctionmain
Create the model and start the evaluation process.
evaluate_pose_JPPNet-s2.py:25
↓ 1 callersMethodmake_input_nodes
Create data input nodes. This method is for old-style inputs, where the input specification was not treated as a first-class
kaffe/graph.py:182
↓ 1 callersMethodmake_node
Create a graph node for the given layer.
kaffe/graph.py:172
↓ 1 callersMethodmap
(self)
kaffe/graph.py:264
↓ 1 callersMethodmap_chain
(self, chain)
kaffe/graph.py:291
↓ 1 callersMethodmap_node
(self, node)
kaffe/graph.py:294
↓ 1 callersMethodmap_raw_kind
(kind)
kaffe/layers.py:63
↓ 1 callersMethodmerge
Merge the child node into the parent.
kaffe/transformers.py:186
↓ 1 callersMethodmerge
(self, parent, _)
kaffe/transformers.py:205
↓ 1 callersMethodnormalize_pb_data
(self, layer)
kaffe/transformers.py:51
↓ 1 callersFunctionprintMaxSubSquare
find the largest square
get_maximum_square_from_segmented_image.py:10
↓ 1 callersFunctionrandom_crop_and_pad_image_and_labels
Randomly crop and pads the input images. Args: image: Training image to crop/ pad. label: Segmentation mask to crop/ pad.
utils/lip_reader.py:83
↓ 1 callersFunctionrandom_resize_img_labels
(image, label, heatmap, resized_h, resized_w)
utils/lip_reader.py:58
↓ 1 callersFunctionread_images_from_disk
Read one image and its corresponding mask with optional pre-processing. Args: input_queue: tf queue with paths to the image and its mas
utils/lip_reader.py:154
↓ 1 callersFunctionread_images_from_disk
Read one image and its corresponding mask with optional pre-processing. Args: input_queue: tf queue with paths to the image and its mas
utils/image_reader.py:95
↓ 1 callersFunctionread_labeled_image_list
Reads txt file containing paths to images and ground truth masks. Args: data_dir: path to the directory with images and masks. da
utils/lip_reader.py:121
↓ 1 callersFunctionread_labeled_image_list
Reads txt file containing paths to images and ground truth masks. Args: data_dir: path to the directory with images and masks. da
utils/image_reader.py:75
↓ 1 callersFunctionread_pose_list
(data_dir, data_id_list)
utils/lip_reader.py:145
↓ 1 callersMethodreplaced
(self, new_nodes)
kaffe/graph.py:101
↓ 1 callersFunctionresize_img_labels
(image, label, heatmap, resized_h, resized_w)
utils/lip_reader.py:72
↓ 1 callersFunctionsave
Save weights. Args: saver: TensorFlow Saver object. sess: TensorFlow session. logdir: path to the snapshots directory. step
utils/utils.py:84
↓ 1 callersFunctionsave_lip_images
(image_path, samples, out_dir)
evaluate_pose_JPPNet-s2.py:150
↓ 1 callersMethodsetup
Construct the network.
kaffe/tensorflow/network.py:50
↓ 1 callersFunctionshow_fallback_warning
()
kaffe/caffe/resolver.py:38
Method__call__
(self, graph)
kaffe/transformers.py:82
Method__call__
(self, graph)
kaffe/transformers.py:117
Method__call__
(self, graph)
kaffe/transformers.py:156
Method__call__
(self, graph)
kaffe/transformers.py:233
Method__call__
(self, graph)
kaffe/transformers.py:262
Method__call__
(self, graph)
kaffe/transformers.py:273
Method__call__
(self, *args, **kwargs)
kaffe/tensorflow/transformer.py:73
next →1–100 of 171, ranked by callers