Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Engineering-Course/LIP_JPPNet
/ functions
Functions
171 in github.com/Engineering-Course/LIP_JPPNet
⨍
Functions
171
◇
Types & classes
86
↓ 105 callers
Method
batch_normalization
(self, input, name, is_training, activation_fn=None, scale=True)
kaffe/tensorflow/network.py:261
↓ 80 callers
Method
conv
(self, input, k_h, k_w, c_o, s_h,
kaffe/tensorflow/network.py:106
↓ 45 callers
Method
feed
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 callers
Method
add
(self, inputs, name)
kaffe/tensorflow/network.py:226
↓ 37 callers
Method
relu
(self, input, name)
kaffe/tensorflow/network.py:191
↓ 30 callers
Method
atrous_conv
(self, input, k_h, k_w, c_o,
kaffe/tensorflow/network.py:149
↓ 23 callers
Function
conv2d
(input_, output, kernel, stride, relu, bn, name, stddev=0.01)
utils/ops.py:7
↓ 18 callers
Method
format
Returns a string representation for the given value.
kaffe/tensorflow/transformer.py:45
↓ 15 callers
Function
parsing_refine
(parsing, pose, parsing_fea, name)
LIP_model.py:45
↓ 15 callers
Function
pose_refine
(pose, parsing, pose_fea, name)
LIP_model.py:26
↓ 11 callers
Method
concat
(self, inputs, axis, name)
kaffe/tensorflow/network.py:222
↓ 9 callers
Function
pose_net
(image, name)
LIP_model.py:10
↓ 7 callers
Method
get_only_parent
(self)
kaffe/graph.py:32
↓ 6 callers
Method
get_kernel_value
(scalar, repeated, idx, default=None)
kaffe/layers.py:119
↓ 6 callers
Method
make_var
Creates a new TensorFlow variable.
kaffe/tensorflow/network.py:97
↓ 5 callers
Method
statement
(self, s)
kaffe/tensorflow/transformer.py:177
↓ 4 callers
Function
atrous_conv2d
(input_, output, kernel, rate, relu, name, stddev=0.01)
utils/ops.py:34
↓ 4 callers
Function
get_caffe_resolver
()
kaffe/caffe/resolver.py:29
↓ 4 callers
Function
print_stderr
(msg)
kaffe/errors.py:6
↓ 4 callers
Method
validate_padding
Verifies that the padding is one of the supported ones.
kaffe/tensorflow/network.py:101
↓ 3 callers
Method
get_node
(self, name)
kaffe/graph.py:62
↓ 3 callers
Function
load
Load trained weights. Args: saver: TensorFlow saver object. sess: TensorFlow session. ckpt_path: path to checkpoint file wi
utils/utils.py:102
↓ 3 callers
Function
prepare_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 callers
Method
topologically_sorted
(self)
kaffe/graph.py:74
↓ 2 callers
Method
get_handler_name
(node_kind)
kaffe/layers.py:85
↓ 2 callers
Method
get_kernel_params
(self, node)
kaffe/tensorflow/transformer.py:80
↓ 2 callers
Function
get_strided_kernel_output_shape
(node, round_func)
kaffe/shapes.py:15
↓ 2 callers
Method
indent
(self)
kaffe/tensorflow/transformer.py:171
↓ 2 callers
Method
load
Load the layer definitions from the prototxt.
kaffe/graph.py:142
↓ 2 callers
Method
map
(self, node_kind)
kaffe/transformers.py:111
↓ 2 callers
Method
max_pool
(self, input, k_h, k_w, s_h, s_w, name, padding=DEFAULT_PADDING)
kaffe/tensorflow/network.py:195
↓ 2 callers
Method
pair
Returns key=formatted(value).
kaffe/tensorflow/transformer.py:49
↓ 2 callers
Method
transformed
(self, transformers)
kaffe/graph.py:104
↓ 1 callers
Method
add_child
(self, child_node)
kaffe/graph.py:26
↓ 1 callers
Method
add_parent
(self, parent_node)
kaffe/graph.py:20
↓ 1 callers
Method
adjust_parameters
(self, node, data)
kaffe/transformers.py:66
↓ 1 callers
Function
average_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 callers
Method
build
Builds the graph from the Caffe layer definitions.
kaffe/graph.py:202
↓ 1 callers
Method
commit
(self, mapped_chains)
kaffe/graph.py:301
↓ 1 callers
Method
compute_output_shape
(node)
kaffe/layers.py:69
↓ 1 callers
Method
compute_output_shapes
(self)
kaffe/graph.py:96
↓ 1 callers
Function
crop_square_portion
crop and save image
get_maximum_square_from_segmented_image.py:53
↓ 1 callers
Function
decode_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 callers
Method
dequeue
Pack images and labels into a batch. Args: num_elements: the batch size. Returns: Two tensors
utils/lip_reader.py:262
↓ 1 callers
Method
emit
Emits the Python source for this node.
kaffe/tensorflow/transformer.py:53
↓ 1 callers
Method
emit
(self, name, chains)
kaffe/tensorflow/transformer.py:199
↓ 1 callers
Method
emit_class_def
(self, name)
kaffe/tensorflow/transformer.py:183
↓ 1 callers
Method
emit_imports
(self)
kaffe/tensorflow/transformer.py:180
↓ 1 callers
Method
emit_node
(self, node)
kaffe/tensorflow/transformer.py:196
↓ 1 callers
Method
emit_parents
(self, chain)
kaffe/tensorflow/transformer.py:189
↓ 1 callers
Method
emit_setup_def
(self)
kaffe/tensorflow/transformer.py:186
↓ 1 callers
Method
filter_layers
Filter out layers based on the current phase.
kaffe/graph.py:148
↓ 1 callers
Function
get_filter_output_shape
(i_h, i_w, params, round_func)
kaffe/shapes.py:9
↓ 1 callers
Method
get_handler
(self, node_kind, prefix)
kaffe/layers.py:93
↓ 1 callers
Method
get_input_nodes
(self)
kaffe/graph.py:68
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Function
has_pycaffe
()
kaffe/caffe/resolver.py:35
↓ 1 callers
Method
has_pycaffe
(self)
kaffe/caffe/resolver.py:26
↓ 1 callers
Method
has_spatial_parent
(self, node)
kaffe/transformers.py:103
↓ 1 callers
Function
image_mirroring
Randomly mirrors the images. Args: img: Training image to mirror. label: Segmentation mask to mirror.
utils/lip_reader.py:31
↓ 1 callers
Method
import_caffe
(self)
kaffe/caffe/resolver.py:9
↓ 1 callers
Method
is_eligible_pair
Returns true if this parent/child pair is eligible for fusion.
kaffe/transformers.py:182
↓ 1 callers
Method
load
(self)
kaffe/transformers.py:31
↓ 1 callers
Method
load
(self, def_path, data_path, phase)
kaffe/tensorflow/transformer.py:225
↓ 1 callers
Method
load_using_caffe
(self)
kaffe/transformers.py:37
↓ 1 callers
Method
load_using_pb
(self)
kaffe/transformers.py:43
↓ 1 callers
Function
main
()
train_JPPNet-s2.py:37
↓ 1 callers
Function
main
Create the model and start the evaluation process.
evaluate_parsing_JPPNet-s2.py:28
↓ 1 callers
Function
main
Create the model and start the evaluation process.
evaluate_pose_JPPNet-s2.py:25
↓ 1 callers
Method
make_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 callers
Method
make_node
Create a graph node for the given layer.
kaffe/graph.py:172
↓ 1 callers
Method
map
(self)
kaffe/graph.py:264
↓ 1 callers
Method
map_chain
(self, chain)
kaffe/graph.py:291
↓ 1 callers
Method
map_node
(self, node)
kaffe/graph.py:294
↓ 1 callers
Method
map_raw_kind
(kind)
kaffe/layers.py:63
↓ 1 callers
Method
merge
Merge the child node into the parent.
kaffe/transformers.py:186
↓ 1 callers
Method
merge
(self, parent, _)
kaffe/transformers.py:205
↓ 1 callers
Method
normalize_pb_data
(self, layer)
kaffe/transformers.py:51
↓ 1 callers
Function
printMaxSubSquare
find the largest square
get_maximum_square_from_segmented_image.py:10
↓ 1 callers
Function
random_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 callers
Function
random_resize_img_labels
(image, label, heatmap, resized_h, resized_w)
utils/lip_reader.py:58
↓ 1 callers
Function
read_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 callers
Function
read_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 callers
Function
read_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 callers
Function
read_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 callers
Function
read_pose_list
(data_dir, data_id_list)
utils/lip_reader.py:145
↓ 1 callers
Method
replaced
(self, new_nodes)
kaffe/graph.py:101
↓ 1 callers
Function
resize_img_labels
(image, label, heatmap, resized_h, resized_w)
utils/lip_reader.py:72
↓ 1 callers
Function
save
Save weights. Args: saver: TensorFlow Saver object. sess: TensorFlow session. logdir: path to the snapshots directory. step
utils/utils.py:84
↓ 1 callers
Function
save_lip_images
(image_path, samples, out_dir)
evaluate_pose_JPPNet-s2.py:150
↓ 1 callers
Method
setup
Construct the network.
kaffe/tensorflow/network.py:50
↓ 1 callers
Function
show_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