MCPcopy Create free account

hub / github.com/Relento/lego_release / functions

Functions675 in github.com/Relento/lego_release

Methodforward
(self, x)
models/networks.py:188
Methodforward
(self, x)
models/networks.py:203
Methodforward
:param x: shape (N, C, X, Y, Z) :return:
models/coordconv.py:9
Methodforward
(self, outputs, batch)
models/heatmap/loss.py:21
Methodforward
(self, outputs, batch)
models/heatmap/loss.py:81
Methodforward
:param images: [B, C, H, W] :param occ_prev: [B, 1, W, H, D] :param azims: [B] :param elevs: [B] :param obj_
models/heatmap/lego_hg.py:92
Methodforward
:param images: [B, C, H, W] :param occ_prev: [B, 1, W, H, D] :param azims: [B] :param elevs: [B] :param obj_
models/heatmap/lego_hg.py:241
Methodforward
:param occ: [B, 1, W, H, D] :param theta: [B, 3, 4] :return:
models/heatmap/lego_hg.py:369
Methodforward
(self, x)
models/heatmap/lego_hg.py:430
Methodforward
(self, x)
models/heatmap/lego_hg.py:438
Methodforward
(self, occ, azims, elevs, obj_scales, obj_centers)
models/heatmap/lego_hg.py:455
Methodforward
(self, v)
models/heatmap/lego_hg.py:468
Methodforward
(self, out, target)
models/heatmap/models/losses.py:120
Methodforward
(self, output, mask, ind, target)
models/heatmap/models/losses.py:136
Methodforward
(self, output, mask, ind, target)
models/heatmap/models/losses.py:146
Methodforward
(self, output, mask, ind, target)
models/heatmap/models/losses.py:159
Methodforward
(self, output, mask, ind, target)
models/heatmap/models/losses.py:174
Methodforward
(self, output, mask, ind, target)
models/heatmap/models/losses.py:187
Methodforward
(self, output, ind, target)
models/heatmap/models/losses.py:198
Methodforward
:param emb: B x N x H x W , +1 is the background :param mask_instance: B x N x H x W :param inds: [(num_brick_types) x (max_n
models/heatmap/models/losses.py:212
Methodforward
(self, output, mask, ind, rotbin, rotres)
models/heatmap/models/losses.py:252
Methodforward
(self, *inputs, **kwargs)
models/heatmap/models/data_parallel.py:64
Methodforward
(self, x)
models/heatmap/models/networks/hourglass.py:18
Methodforward
(self, x)
models/heatmap/models/networks/hourglass.py:35
Methodforward
(self, x)
models/heatmap/models/networks/hourglass.py:59
Methodforward
(self, up1, up2)
models/heatmap/models/networks/hourglass.py:87
Methodforward
(self, x, cond_emb=None)
models/heatmap/models/networks/hourglass.py:176
Methodforward
(self, image, cond_emb=None)
models/heatmap/models/networks/hourglass.py:279
Functiongaussian_radius
(det_size, min_overlap=0.7)
models/heatmap/utils/image.py:91
Methodget_annotation
(self)
bricks/brick_info.py:158
Functionget_area_points_with_p5
(area_points)
bricks/utils.py:66
Functionget_b2_types
()
bricks/brick_info.py:1019
Functionget_box_size
(box)
bricks/utils.py:41
Methodget_brick_info
(self, grid_size)
bricks/brick_info.py:1095
Methodget_brick_info
(self, grid_size)
bricks/brick_info.py:1628
Functionget_brick_masks_for_nested
(bricks_mesh_list, mask_colors, idxs, cameras, render_size=1536, output_size=512)
data_generation/utils.py:243
Methodget_brick_name
(bid)
datasets/legokps_shape_cond_dataset.py:579
Methodget_brick_transform
(self, ind, rel_ind=None, canonical=False)
bricks/brick_info.py:1448
Functionget_brick_valid_positions
(bricks, brick_type, rotation, op_type, only_heuristic=False, debug=False)
bricks/brick_info.py:817
Functionget_brick_valid_positions_brute_force
(bricks, brick_type, rotation)
bricks/bricks.py:54
Functionget_coco_api_from_dataset
(dataset)
coco_related/coco_utils.py:195
Functionget_coco_kp
(root, image_set, transforms)
coco_related/coco_utils.py:248
Functionget_color_map
()
bricks/brick_info.py:60
Methodget_current_losses
Return traning losses / errors. train.py will print out these errors on console, and save them to a file
models/hourglass_shape_cond_model.py:674
Methodget_current_losses
Return traning losses / errors. train.py will print out these errors on console, and save them to a file
models/hourglass_trans_model.py:454
Methodget_current_visuals
(self)
models/hourglass_shape_cond_model.py:721
Methodget_current_visuals
(self)
models/hourglass_trans_model.py:487
Functionget_hbrick_info
(brick: HBrick, grid_size)
bricks/brick_info.py:1159
Methodget_height
(self)
bricks/brick_info.py:149
Methodget_height
(self)
bricks/brick_info.py:1076
Methodget_height
(self)
bricks/brick_info.py:1591
Methodget_image_paths
Return image paths that are used to load current data
models/base_model.py:122
Functionget_non_simple_brick_ids
()
bricks/brick_info.py:573
Functionget_norm_layer
Return a normalization layer Parameters: norm_type (str) -- the name of the normalization layer: batch | instance | none For BatchNo
models/networks.py:19
Functionget_option_setter
Return the static method <modify_commandline_options> of the dataset class.
datasets/__init__.py:48
Functionget_option_setter
Return the static method <modify_commandline_options> of the model class.
models/__init__.py:50
Functionget_params
(opt, size)
datasets/base_dataset.py:64
Functionget_pc_from_mesh
(mesh)
chamfer_distance_eval.py:19
Functionget_plane_occ_points
(area_points, height)
bricks/utils.py:81
Functionget_scheduler
Return a learning rate scheduler Parameters: optimizer -- the optimizer of the network opt (option class) -- stores all
models/networks.py:39
Methodget_size
(self)
bricks/brick_info.py:187
Functionget_transform
(opt, params=None, grayscale=False, method=Image.BICUBIC, convert=True)
datasets/base_dataset.py:82
Functionget_vbrick_info
Should be equivalent to get_brick_info for instances of `Brick` Args: brick: grid_size: Returns:
bricks/brick_info.py:1143
Methodglobal_avg
(self)
coco_related/utils.py:54
Methodhtml
(self)
util/html_table.py:47
Functionidentity
(x)
tu/configs.py:27
Functioninit_ddp
(rank, world_size, port)
tu/ddp.py:5
Functioninit_distributed_mode
(args)
coco_related/utils.py:300
Functioninit_func
(m)
models/networks.py:88
Functioninit_net
Initialize a network: 1. register CPU/GPU device (with multi-GPU support); 2. initialize the network weights Parameters: net (network)
models/networks.py:115
Methodinitialize
(self, parser)
eval.py:302
Methodinitialize
(self, parser)
train_kp.py:105
Methodinitialize
(self, parser)
options/train_options.py:10
Methodinitialize
(self, parser)
options/test_options.py:10
Functionis_master
r"""check if current process is the master
tu/ddp.py:165
Functionis_numeric
(x)
tu/configs.py:42
Functionlambda_rule
(epoch)
models/networks.py:53
Functionlego_decode
(heat, rot, reg=None, K=100)
models/heatmap/models/decode.py:575
Functionlist_of_dicts__to__dict_of_lists
``` x = [ {'foo': 3, 'bar': 1}, {'foo': 4, 'bar': 2}, {'foo': 5, 'bar': 3}, ] ppp.list_of_dicts__to__dict_of_
tu/configs.py:162
Functionload_brick
(path=None)
debug/utils.py:247
Functionload_bricks_pc
(path=None, return_info=False)
debug/utils.py:192
Functionload_model
(model, model_path, optimizer=None, resume=False, lr=None, lr_step=None)
models/heatmap/models/model.py:30
Methodload_networks
Load all the networks from the disk. Parameters: epoch (int) -- current epoch; used in he file name '%s_net_%s.pth' % (epoch, nam
models/hourglass_shape_cond_model.py:771
Methodload_networks
Load all the networks from the disk. Parameters: epoch (int) -- current epoch; used in he file name '%s_net_%s.pth' % (epoch, nam
models/hourglass_trans_model.py:538
Methodlog_every
(self, iterable, print_freq, header=None)
coco_related/utils.py:179
Functionmake_kp_layer
(cnv_dim, curr_dim, out_dim)
models/heatmap/models/networks/hourglass.py:106
Functionmake_layer
(k, inp_dim, out_dim, modules, layer=convolution, **kwargs)
models/heatmap/models/networks/hourglass.py:71
Functionmake_layer_revr
(k, inp_dim, out_dim, modules, layer=convolution, **kwargs)
models/heatmap/models/networks/hourglass.py:78
Functionmap_recursive
Apply `fctn` to each element in x_or_iterable. This is a generalization of the map function since this will work recursively for iterabl
tu/configs.py:258
Functionmask2bbox
(mask)
data_generation/utils.py:83
Functionmaster_only
r"""Apply this function only to the master GPU.
tu/ddp.py:151
Methodmerge_dict
(d1, d2, f)
models/heatmap/lego_hg.py:120
Functionmerge_recursive_dicts
Merge two dicts that may have nested dicts.
tu/configs.py:113
Functionmkdir
(path)
coco_related/utils.py:248
Methodmodify_commandline_options
(parser, is_train)
datasets/legokps_shape_cond_dataset.py:142
Methodmodify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
datasets/base_dataset.py:34
Methodmodify_commandline_options
Add new model-specific options and rewrite default values for existing options. Parameters: parser -- the option parser
models/hourglass_shape_cond_model.py:43
Methodmodify_commandline_options
Add new model-specific options, and rewrite default values for existing options. Parameters: parser -- original option p
models/base_model.py:50
Methodmodify_commandline_options
Add new model-specific options and rewrite default values for existing options. Parameters: parser -- the option parser
models/hourglass_trans_model.py:41
Functionmulti_pose_decode
( heat, wh, kps, reg=None, hm_hp=None, hp_offset=None, K=100)
models/heatmap/models/decode.py:640
← previousnext →501–600 of 675, ranked by callers