MCPcopy Create free account

hub / github.com/JudyYe/CVP / functions

Functions349 in github.com/JudyYe/CVP

Method__len__
(self)
data/DemoImage.py:54
Method__repr__
(self)
cvp/layers.py:65
Method__repr__
(self)
cvp/layers.py:77
Method__setattr__
(self, name, value)
cfgs/collections.py:40
Method__setattr__
(self, name, value)
cvp/collections.py:40
Method_forward
(self, vid, sample=True)
cvp/vid_encoder.py:105
Method_forward
(self, vid, sample=True)
cvp/vid_encoder.py:143
Method_forward
(self, vid, sample=True)
cvp/vid_encoder.py:185
Method_forward_image_encode
(self, vid)
cvp/models.py:275
Method_forward_n_step
(self, vid_batch, img_z, time_len)
cvp/models.py:306
Function_init_weights
(module)
cvp/graph.py:14
Method_pose_gan_loss
(self, truth, predictions)
cvp/losses.py:48
Method_pose_vae_loss
(self, truth, predictions)
cvp/losses.py:72
Method_separate_losses
losses are comprised of 1. KL loss 2. prediction loss 3. reconstruction loss
cvp/losses.py:27
Methodadd_hist_by_dim
(self, t, z, name='')
cvp/logger.py:43
Methodbatch_sample
(self, V, time_len, seed, image)
cvp/vid_encoder.py:201
Functionbbox_to_bg
independent mask :param bbox Tensor of shape (N, O, 4) [x0, y0, x1, y1] in [0, 1] :param color:Tensor of shape(N, 1, 3, h, w), N = dt * V
cvp/layout.py:473
Functionbbox_to_bg_feat
independent mask :param bbox Tensor of shape (N, O, 4) [x0, y0, x1, y1] in [0, 1] :param color:Tensor of shape(N, O, D, h, w) :param
cvp/layout.py:185
Functionbbox_to_mask
:param bbox: (N, O, 4) :param target_size: H, W :return: (N, 1, 1, H, W)
cvp/layout.py:430
Functionbbox_to_region
:param bbox: Tensor of shape (N, O, 2) [xc, yc] :param mask: (N, 1+1, 1, H, W) :param color: (N, 1, C, h, w) :param target_size:
cvp/layout.py:536
Functionbool_flag
(s)
cfgs/base_cfgs.py:146
Functionbootstrap
(in_vec,num_samples=100,bootfunc=np.mean)
PerceptualSimilarity/util/util.py:34
Functionboxes_to_region_layout
:param obj_vecs: (O, D) :param layout_boxes: (O, 4) :param RH, RW: size of output :return: (O, D, RH, RW)
cvp/layout.py:53
Functionbuild_all_model
(args)
utils/model_utils.py:47
Functionbuild_cnn
Build a CNN from an architecture string, which is a list of layer specification strings. The overall architecture can be given as a list or a
cvp/layers.py:128
Functionbuild_fblock2
(dim_list, activation, batch_norm,final_pool=None)
cvp/layers.py:287
Functionbuild_fconv
(dim_list, activation, batch_norm, dropout=0, last_relu='none')
cvp/layers.py:236
Functionbuild_loaders
(args)
utils/model_utils.py:31
Functionbuild_pre_act_list
(input_dim, output_dim, num_units, activation='relu', batch_norm='batch', dropout=0)
cvp/layers.py:318
Functionconvert_batch2cv
:param batch: (dt, V, 1, C, H, W) :return: list of image of video #0 in len dt
cvp/vis.py:15
Functioncos_sim
(in0,in1)
PerceptualSimilarity/util/util.py:77
Functioncos_sim_blob
(in0,in1)
PerceptualSimilarity/util/util.py:65
Functioncrop_bbox_batch
Inputs: - feats: FloatTensor of shape (N, C, H, W) - bbox: FloatTensor of shape (B, 4) giving bounding box coordinates - bbox_to_feats: LongT
cvp/bilinear.py:27
Functioncrop_image
(image, boxes, size)
utils/data_utils.py:74
Methodcum_perc_sim
(self, im0, im1, suff)
cvp/evaluator.py:193
Methodcum_vid_bbox_error
(self, gt_bbox, pred_bbox, save_steps=None)
cvp/evaluator.py:165
Functiondatetime_str
()
PerceptualSimilarity/util/util.py:18
Functiondeconv3d
(in_channels, out_channels, kernel_size = 4, stride = 2, padding = 1)
cvp/layers.py:340
Functiondeprocess_dt_v_o_image
:param image: Shape in (dt, V, o, C, H, W) :return: (dt, V, o, C, H, W), in range [0, 255]
cvp/vis.py:352
Functiondiagnose_network
(net, name='network')
PerceptualSimilarity/util/util.py:150
Methoddisplay_current_results
(self, visuals, epoch, nrows=None, res=256)
PerceptualSimilarity/util/visualizer.py:43
Functiondraw_bbox_image
:param pred_bboxes: :param gt: [(H, W, 3)] :param radius: :return:
cvp/vis.py:310
Functiondssim
(p0, p1, range=255.)
PerceptualSimilarity/util/util.py:50
Functiondt_collate_fn
:return: src dst. each is a list with dict element - 'index': list of str with length N - 'image': list of FloatTensor in shape (Dt, V, 1
data/ShapeStacks.py:129
Functiondt_collate_fn
:return: src dst. each is a list with dict element - 'index': list of str with length N - 'image': list of FloatTensor in shape (Dt, V, 1
data/DemoImage.py:120
Methoddump_error
(self, iter, dset)
cvp/evaluator.py:249
Functionextents_to_logcenters
(boxes)
utils/box_utils.py:200
Functionextents_to_xy
(boxes)
utils/box_utils.py:220
Functionflatten_nested_list
(nested_list)
PerceptualSimilarity/util/util.py:379
Functionfloat_tuple
(s)
cfgs/base_cfgs.py:138
Methodforward
:param pose: (Dt, V, o, D, H, W) :param bbox: (Dt, V, o, D) :param target_size: :param bg_feat (V, 1, D, H, W)
cvp/decoder.py:109
Methodforward
:param pose: (Dt, V, o, D, H, W) :param bbox: (Dt, V, o, D) :param target_size: :param bg_feat (V, 1, D, H, W)
cvp/decoder.py:211
Methodforward
(self, x)
cvp/layers.py:62
Methodforward
(self, x)
cvp/layers.py:74
Methodforward
(self, x)
cvp/layers.py:83
Methodforward
(self, x)
cvp/layers.py:110
Methodforward
(self, bg, poses)
cvp/pok_model.py:82
Methodforward
:param x: (V, C, H, W), (DT, V, C, H, W) :return:
cvp/pok_model.py:132
Methodforward
:param x: (dt, V, C, H, W) :return:
cvp/pok_model.py:201
Methodforward
:param bg: (V, o, C, H, W) :param poses: (dt, V, 1, C, H, W) :return: (dt, V, 1, C, H, W)
cvp/pok_model.py:272
Methodforward
(self, batch, test_sample=False)
cvp/pok_model.py:328
Methodforward
(self, batch, test_sample=False)
cvp/pok_model.py:360
Methodforward
(self, batch, test_sample=False)
cvp/pok_model.py:392
Methodforward
(self, x)
cvp/pok_model.py:425
Methodforward
(self, x)
cvp/pok_model.py:448
Methodforward
(self, x)
cvp/pok_model.py:469
Methodforward
:param image: (V, C, H, W) :param poses: (V, Dpos) :return: (1, V, Do)
cvp/pok_model.py:507
Methodforward
Inputs: + obj_vecs: (V, o, D) + edges: (V, t, 3) (s, w, o) Outputs: + new_obj_vecs: (V, o, D)
cvp/graph.py:43
Methodforward
Inputs: + obj_vecs: (V, o, D) + edges: (V, t, 3) (s, w, o), we do not use edge in this unit type Outputs:
cvp/graph.py:127
Methodforward
(self, input, edges)
cvp/graph.py:175
Methodforward
:param pose: (V, O, Cp, H, W) :param bbox: (V, O, 2) :param diff_z: (V, 1, D) :param edges: :return:
cvp/graph.py:219
Methodforward
(self, intput)
cvp/graph.py:287
Methodforward
:param pose: (V, O, Cp, H, W) :param bbox: (V, O, 2) :param diff_z: (V, 1, D) :param edges: :return:
cvp/graph.py:328
Methodforward
(self, in_vecs)
cvp/models.py:84
Methodforward
Called during training. 1. encode to u 2. resample :return: obj_z: (Dt, V, D), kl_loss: criterion
cvp/vid_encoder.py:32
Methodforward
(self, vid_batch)
cvp/vid_encoder.py:246
Methodforward
(self, input, true_dt, sample=True)
cvp/vid_encoder.py:304
Methodforward
Pred and target are Variables. If normalize is on, assumes the images are between [0,1] and then scales thembetween [-1, 1] I
PerceptualSimilarity/__init__.py:16
Methodforward_inception
sample z / u from a distribution
cvp/models.py:122
Methodforward_with_reality
encode z / u with ground truth I_{t+T} w/o resample
cvp/models.py:112
Methodforward_with_reality
(self, intput, time_len)
cvp/models.py:224
Methodfw_d
(self, batch, pred)
cvp/pok_model.py:38
Methodfw_d
(self, batch, pred)
cvp/pok_model.py:162
Methodfw_g
(self, batch)
cvp/pok_model.py:26
Methodfw_g
(self, batch)
cvp/pok_model.py:148
Functiongauss_mask
:param bbox: (N, O, 4) :param target_size: H, W :return: (N, O, 1, H, W)
cvp/layout.py:454
Functionget_D_loss
(truth, predictions, losses, args)
cvp/losses.py:127
Functionget_G_loss
(truth, predictions, losses, args)
cvp/losses.py:109
Functionget_bbox_traj
(gt_bboxes, pred_bboxes, dt, max_num, is_torch=True, O=3, canvas=None)
cvp/vis.py:238
Functionget_bbox_traj_image
(pred_bboxes, dt, max_num=2, is_torch=True, O=3, canvas=None, decay=0.9)
cvp/vis.py:278
Functionget_crop
(pred, max_num=1, pool=1)
cvp/vis.py:334
Functionget_layout_list
:param pred_bboxes: :param pred_region: :param num_step: :param radius: :param max_num: :param is_torch: :return: is_torc
cvp/vis.py:364
Functionget_model_name
(args)
utils/model_utils.py:17
Functionget_skeleton_color
(pred_bboxes, dt, max_num=1, is_torch=True, O=3, valid=None, canvas=None, trip=None)
cvp/vis.py:54
Functionget_skeleton_pred
(pred_bboxes, dt, max_num=1, is_torch=True, O=3, valid=None, canvas=None, trip=None)
cvp/vis.py:92
Functiongrab_patch
(img_in, P, yy, xx)
PerceptualSimilarity/util/util.py:162
Methodimmutable
Set immutability to is_immutable and recursively apply the setting to all nested AttrDicts.
cfgs/collections.py:52
Methodimmutable
Set immutability to is_immutable and recursively apply the setting to all nested AttrDicts.
cvp/collections.py:52
Functioninfo
Print methods and doc strings. Takes module, class, list, dictionary, or string.
PerceptualSimilarity/util/util.py:208
Methodinit_hidden
(self, dummy=None)
cvp/vid_encoder.py:257
← previousnext →201–300 of 349, ranked by callers