MCPcopy Create free account

hub / github.com/ajaichemmanam/simple_bodypix_python / functions

Functions24 in github.com/ajaichemmanam/simple_bodypix_python

↓ 2 callersFunction_node_info
(node)
utils.py:270
↓ 2 callersFunctionchildren
(item)
utils.py:60
↓ 1 callersFunction_convert_attr_values
Node attributes in deserialised JSON contain strings as lists of ascii codes. The TF GraphDef proto expects these values to be base64 encoded
utils.py:125
↓ 1 callersFunction_convert_graph_def
Convert JSON to TF GraphDef message Args: message_dict: deserialised JSON message Returns: TF GraphDef message
utils.py:140
↓ 1 callersFunction_convert_graph_model_to_graph
Convert TFJS JSON model to TF Graph Args: model_json: JSON dict from TFJS model file base_path: Path to the model file (wher
utils.py:187
↓ 1 callersFunction_convert_string_attrs
Deep search string attributes (labelled "s" in GraphDef proto) and convert ascii code lists to base64-encoded strings if necessary
utils.py:73
↓ 1 callersFunction_convert_weight_list_to_dict
Convert list of weight entries to dictionary Args: weight_list: List of numpy arrays or tensors formatted as {'n
utils.py:153
↓ 1 callersFunction_create_graph
Create a TF Graph from nodes Args: graph_def: TF GraphDef message containing the node graph weight_dict: Dictionary from node
utils.py:169
↓ 1 callersFunction_find_if_has_key
Recursively find all objects with a given key in a dictionary Args: obj: Dictionary to search key: Key to find of_typ
utils.py:49
↓ 1 callersFunction_fix_dilation_attrs
Search dilations-attribute and convert misaligned dilation rates if necessary see https://github.com/patlevin/tfjs-to-tf/issues/1
utils.py:94
↓ 1 callersFunction_get_shape
(node)
utils.py:264
↓ 1 callersFunction_is_op_node
(node)
utils.py:249
↓ 1 callersFunction_map_type
(type_id)
utils.py:257
↓ 1 callersFunction_op_nodes
(graph_def)
utils.py:253
↓ 1 callersFunction_parse_path_and_model_json
Parse model directory name and return path and file name Args: model_dir: Model file path - either directory name or path + file name
utils.py:30
↓ 1 callersFunctiondtype
(n)
utils.py:271
↓ 1 callersFunctiongetBoundingBox
(keypointPositions, offset=(10, 10, 10, 10))
evalbody_singleposemodel.py:74
↓ 1 callersFunctionget_input_nodes
Return information about a graph's inputs. Arguments: graph: Graph or GraphDef object Returns: List of NodeInfo objects h
utils.py:276
↓ 1 callersFunctionget_input_tensors
Return the names of the graph's input tensors. Arguments: graph: Graph or GraphDef object Returns: List of tensor names
utils.py:322
↓ 1 callersFunctionget_output_nodes
Return information about a graph's outputs. Arguments: graph: Graph or GraphDef object Returns: List of NodeInfo objects
utils.py:293
↓ 1 callersFunctionget_output_tensors
Return the names of the graph's output tensors. Arguments: graph: Graph or GraphDef object Returns: List of tensor names
utils.py:333
↓ 1 callersFunctionload_graph_model
Load a TFJS Graph Model from a directory Args: model_dir: Directory that contains the tfjs model.json and weights; al
utils.py:215
↓ 1 callersFunctionshape
(attr)
utils.py:265
↓ 1 callersFunctionsize
(dim)
utils.py:266