MCPcopy Create free account

hub / github.com/QiuhongAnnaWei/LEGO-Net / functions

Functions328 in github.com/QiuhongAnnaWei/LEGO-Net

Method__init__
(self, input_dim=7, out_dim=1)
model/models.py:41
Method__init__
(self, input_dim=2, out_dim=2, num_obj=6, point_and_gloabl_feat=True)
model/models.py:91
Method__init__
(self)
model/models.py:144
Method__init__
(self, input_dim=2, out_dim=2)
model/models.py:249
Method__init__
(self, input_dim=2, out_dim=2)
model/models.py:284
Method__init__
(self, input_dim=2, out_dim=2, shape_code = False, shape_dim = 2)
model/models.py:328
Method__init__
(self, input_dim=2, out_dim=2, shape_code = False, shape_dim = 2, subtract_feats = False)
model/models.py:390
Method__init__
(self, input_dim=2, out_dim=2, shape_code = False, shape_dim = 2, subtract_feats = False)
model/models.py:441
Method__init__
(self, input_dim=2, out_dim=2, device="cuda:0")
model/models.py:495
Method__init__
(self, numfreq, end=10)
model/transformer.py:58
Method__init__
(self, d_model= 512, nhead= 8, num_encoder_layers= 6, dim_feedforward= 2048, dropout: float =
model/transformer.py:88
Method__init__
* For each object's input: pos, ang - PE; siz - either PE or MLP; cla - MLP. * Then the result from these 4 are concatenated (B x nobj x
model/transformer.py:105
Method__init__
(self, pos_dim=2, ang_dim=2, point_feat_dim=2, out_dim=2, pe_numfreq= 16, d_model= 512, nhea
model/transformer.py:311
Method__init__
(self, pos_dim=2, ang_dim=2, siz_dim=2, point_feat_dim=2, out_dim=2, pe_numfreq= 16, d_model
model/transformer.py:344
Method__init__
Currently all scenes_tv (test+validation) are used in training, and validation uses test. bedroom: len(self.scenes_
data/TDFront.py:47
Method__init__
(self, radius, patch_size_source, radius_target=None, patch_size_target=None, spacing_source=
ConDor_torch/utils/group_points.py:108
Method__init__
(self, l_max, gaussian_scale, num_shells, transpose=False, bound=True)
ConDor_torch/spherical_harmonics/kernels.py:323
Method__init__
(self,max_deg=3)
ConDor_torch/spherical_harmonics/spherical_cnn.py:70
Method__init__
(self, l_max=3, l_list=None)
ConDor_torch/spherical_harmonics/spherical_cnn.py:105
Method__init__
(self, base='pentakis', l_max=3, l_list=None, sph_fn=None)
ConDor_torch/spherical_harmonics/spherical_cnn.py:214
Method__init__
(self, base='pentakis', l_max=3, l_list=None, sph_fn=None)
ConDor_torch/spherical_harmonics/spherical_cnn.py:252
Method__init__
(self, l_max, l_max_out=None, sparse=False, output_type='dict')
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:198
Method__init__
(self, configs)
ConDor_torch/trainers/ConDor_trainer.py:24
Method__init__
Load DFAUST dataset
ConDor_torch/datasets/h5_dataset.py:33
Method__init__
(self, in_channels, units = [32, 64, 128], bn_momentum = 0.75, apply_norm = False, activation = None)
ConDor_torch/models/layers.py:63
Method__init__
(self, sphere_samples = 64, bn_momentum = 0.75, mlp_units = [[32, 32], [64, 64], [128, 256]], l_max = [3, 3, 3
ConDor_torch/models/TFN.py:12
Method__init__
(self, num_capsules = 10, num_frames = 1, sphere_samples = 64, bn_momentum = 0.75, mlp_units = [[32, 32], [64,
ConDor_torch/models/ConDor.py:12
Method__len__
Total number of data points
ConDor_torch/datasets/h5_dataset.py:63
Method_gen_3dfront_batch_onthefly
Individually generate (and normalize) data for each of batch_size number of scenes. Outputs the same as _gen_3dfront_batch_preload.
data/TDFront.py:484
Methodadd_gaussian_gaussian_noise_by_class
(self, classname, noisy_orig_pos, noisy_orig_sha, noise_level_stddev=0.1)
data/TDFront.py:195
Functionapply_trans
Generate x and y translation for each scene, and apply it to both the input and label of that scene.
data/utils.py:69
Functionaugment
preprocess_floor_plan must be called beforehand, as this funciton reads from the npz files it writes. Creates a new processed_<roomtype>_augm
data/preprocess_TDFront.py:290
Functionchamfer_distance_batch
clean_input and per_input are of the dimensions [numscene, numobj, featperobj]
data/distance.py:32
Functioncomplex_wigner_matrix_unit_test
()
ConDor_torch/spherical_harmonics/wigner_matrix.py:443
Methodcompute
(self, x)
ConDor_torch/spherical_harmonics/spherical_cnn.py:115
Methodcompute
(self, x)
ConDor_torch/spherical_harmonics/spherical_cnn.py:240
Methodcompute
(self, x)
ConDor_torch/spherical_harmonics/spherical_cnn.py:284
Functioncompute_scene_penalty
For analytics purposes. traj: np array of [num_snapshot, 14, 2] representing trajectory of objects in a scene of 14 obj. traj[i] is a scene.
data/tablechair_horizontal.py:95
Methodconfigure_optimizers
(self)
ConDor_torch/trainers/ConDor_trainer.py:153
Functiondenormalize
Denormalize x from [-1, 1] to [minimum, maximum] x has shape (pt, d). minimum/maximum have shape (d,)
data/utils.py:37
Functiondiag_exp
(l, a)
ConDor_torch/spherical_harmonics/wigner_matrix.py:248
Functionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
model/layers.py:59
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
model/layers.py:178
Methodforward
Embeds x to (x, sin(2^k x), cos(2^k x), ...) Different from the paper, "x" is also in the output See https://github.com/bmil
model/layers.py:229
Methodforward
x - B, N, D
model/layers.py:260
Methodforward
(self, x)
model/layers.py:290
Methodforward
(self, x)
model/layers.py:319
Methodforward
fpbpn: [batch_size, nfpbp=250, 4]
model/floorplan_encoder.py:24
Methodforward
fpoc : [batch_size, maxnfpoc, pos=2], with padded 0 beyond the num of floor plan ordered corners for each scene nfpc : [bat
model/floorplan_encoder.py:68
Methodforward
(self, X)
model/floorplan_encoder.py:131
Methodforward
(self, x)
model/models.py:22
Methodforward
Input x is normalized and of dimension [numscene,numobj=7,featperobj=7=pose_d+shape_d]
model/models.py:60
Methodforward
Input x is normalized and of dimension [numscene,numobj=7,featperobj=7=pose_d+shape_d]
model/models.py:115
Methodforward
Input x is normalized and of dimension [numscene,numobj=7,featperobj=7=pose_d+shape_d]
model/models.py:165
Methodforward
Input x is normalized and of dimension [numscene,numobj=7,featperobj=7=pose_d+shape_d]
model/models.py:218
Methodforward
(self, x_pose)
model/models.py:260
Methodforward
(self, x_pose)
model/models.py:298
Methodforward
(self, x)
model/models.py:347
Methodforward
(self, x)
model/models.py:410
Methodforward
(self, x)
model/models.py:462
Methodforward
(self, pxo)
model/models.py:501
Methodforward
(self, x)
model/transformer.py:77
Methodforward
(self, x, padding_mask=None)
model/transformer.py:96
Methodforward
x : [batch_size, maxnumobj, pos+ang+siz+cla] padding_mask: [batch_size, maxnumobj], for nn.TransformerEncoder (False: not maske
model/transformer.py:211
Methodforward
(self, x, padding_mask)
model/transformer.py:328
Methodforward
(self, x, padding_mask)
model/transformer.py:362
Methodforward
:param x: [source, target] :return: [patches_idx_source, num_incident_points_target] Returns: source patches - B
ConDor_torch/utils/group_points.py:122
Methodforward
(self, x)
ConDor_torch/spherical_harmonics/kernels.py:134
Methodforward
(self, x)
ConDor_torch/spherical_harmonics/kernels.py:341
Methodforward
(self, x)
ConDor_torch/models/layers.py:53
Methodforward
(self, x)
ConDor_torch/models/layers.py:74
Methodforward
Input: x - [B, N, 3] - Point cloud with batch dim as B and num points as N Returns: TFN features - F
ConDor_torch/models/TFN.py:78
Methodforward
x - B, N, 3 - Batch of point clouds that are kdtree indexed for pooling
ConDor_torch/models/ConDor.py:59
Methodgen_3dfront_halfsplit
Half of the generated scene (clean) do not have any noise added, whereas the other half (noisy) does.
data/TDFront.py:631
Functiongen_data_tablechair_circle_allnoisy
allnoisy-specific: In generating the noisy positions, chairs are given greater noise while tables are given less. This is to teach the netw
data/tablechair_circle.py:174
Functiongen_data_tablechair_circle_halfsplit
halfsplit-specific: Clean pos and ang in input has no noise. Different noise levels for tables and chairs.
data/tablechair_circle.py:217
Functiongen_data_tablechair_horizontal_allnoisy
allnoisy-specific: input: {clean scene + gaussian gaussian noise} label: {corresponding clean scenes})
data/tablechair_horizontal.py:265
Functiongen_data_tablechair_horizontal_halfsplit
halfsplit-specific: Clean pos and ang in input has no noise.
data/tablechair_horizontal.py:297
Methodgen_stratified_selection
Only makes sense for augmented dataset. Select at least 1 from each original scene, and the (n_to_select-n_original_scene) scenes are sel
data/TDFront.py:363
Functiongenerate_indices_array
(m,n)
data/utils.py:13
Methodget_conDor_feat
()
data/TDFront.py:397
Methodget_data
(self)
ConDor_torch/datasets/h5_dataset.py:103
Functionget_embedder
(multires, i=0)
model/transformer.py:39
Methodget_num_points
(self)
ConDor_torch/datasets/h5_dataset.py:106
Functionget_obstacle_avoiding_displacement
(input_mat, pos_disp, step_size, pos_d=2, ang_d = 2)
data/utils.py:162
Methodget_preprocess
(self)
ConDor_torch/datasets/h5_dataset.py:109
Methodget_samples
(self)
ConDor_torch/spherical_harmonics/spherical_cnn.py:297
Functionhigher_product_matrix
(p, q)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:443
Functionhigher_tensor_decomposition_unit_test
()
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:517
Functioninvariant_feature
nb = y.get_shape()[0].value nv = y.get_shape()[1].value nq = y.get_shape()[2].value nr = y.get_shape()[3].value nc = y.get_s
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:429
Functionnormalize
Normalize x from [minimum, maximum] to range [-1, 1]. x has shape (pt, d). minimum/maximum have shape (d,)
data/utils.py:29
Functionnp_add_angle_noise
v: has shape [batch_size, numobj, 2], magnitude preserved, each object rotated indepndently. Returns rot_a, which has shape [batch_size, numo
data/utils.py:316
Functionnp_add_gaussian_noise_noiselevel
x: [nobj, d], represents one scene. All elements within this array share one noise level
data/utils.py:267
Functionnp_add_gaussian_noise_scale
(x, sigma)
data/utils.py:263
Functionnp_add_uniform_gaussian_angle_noise
x: [batch_size, maxnumobj, ang_dim=2=[cos(th), sin(th)] ]
data/utils.py:307
Functionnp_add_uniform_gaussian_noise
x: [B, nobj, d]
data/utils.py:273
Functionnp_monom_basis_offset
(d)
ConDor_torch/spherical_harmonics/kernels.py:233
Functionnp_monomial_basis_coeffs
(polynomials, monoms_basis)
ConDor_torch/spherical_harmonics/kernels.py:103
Functionnp_zernike_kernel
(d, n, l)
ConDor_torch/spherical_harmonics/kernels.py:285
Functionnp_zernike_kernel_basis
(d)
ConDor_torch/spherical_harmonics/kernels.py:256
← previousnext →201–300 of 328, ranked by callers