MCPcopy Create free account

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

Functions328 in github.com/QiuhongAnnaWei/LEGO-Net

↓ 1 callersMethodcompute_loss
Computing losses for
ConDor_torch/trainers/ConDor_trainer.py:78
↓ 1 callersFunctionconvert_mesh_to_pointcloud
(mesh_file, num_points)
ConDor_torch/datasets/dataset_from_3D_FRONT.py:45
↓ 1 callersFunctionconvert_mesh_to_pointcloud
(mesh_file, num_points)
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:45
↓ 1 callersFunctionconvert_yzx_to_xyz_basis
(basis)
ConDor_torch/utils/pointcloud_utils.py:8
↓ 1 callersFunctioncreate_color_samples
Creates N distinct colors N x 3 output
ConDor_torch/utils/pointcloud_utils.py:28
↓ 1 callersMethodcreate_embedding_fn
(self)
model/transformer.py:10
↓ 1 callersFunctioncreate_splits
(args)
ConDor_torch/datasets/create_training_splits.py:20
↓ 1 callersMethoddecompose
(self, x)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:221
↓ 1 callersFunctiondecompose_
(x, Q)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:159
↓ 1 callersFunctiondenoise_1scene
Deals with actual optimization process and visualization of results. Optimize from generated noisy scene to clean position based on network pre
train.py:190
↓ 1 callersFunctiondenoise_batch
Wrapper around denoise_1scene, dealing with stats and data logging. scenepaths, fpoc, nfpc, fpmask, fpbpn: for 3dfront
train.py:279
↓ 1 callersFunctiondiameter
(x, axis=-2, keepdims=True)
ConDor_torch/utils/pointcloud_utils.py:81
↓ 1 callersFunctiondist2gt_from_npz
(data_type, fp, use_emd=True)
eval/denoise_res_eval.py:20
↓ 1 callersMethodembed
(self, inputs)
model/transformer.py:35
↓ 1 callersFunctionevaluate_denoise_results
Evaluate final denoised scenes stored in npz files saved from denoise_meta() in train.py. denoise method: one of {direct_map_once, direct_ma
eval/integer_relations.py:257
↓ 1 callersFunctionevaluate_gen_data
Evaluate linear relations of 3DFRONT secens. n_sampledsubset: if None, check on all subsets; otherwise, check on the given number of subsets
eval/integer_relations.py:166
↓ 1 callersFunctionfp_line_normal
fpoc: [numpt, 2] np array, in scale [-3, 3]/[-6, 6], scene_data's floor_plan_ordered_corners. Returns normalized floor plan line normals.
data/preprocess_TDFront.py:93
↓ 1 callersFunctiongenerate_directory
(args)
ConDor_torch/datasets/dataset_from_3D_FRONT.py:55
↓ 1 callersFunctiongenerate_directory
(args)
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:55
↓ 1 callersFunctionget_arguments
()
ConDor_torch/datasets/create_training_splits.py:7
↓ 1 callersFunctionget_arguments
()
ConDor_torch/datasets/dataset_from_3D_FRONT.py:91
↓ 1 callersFunctionget_arguments
()
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:114
↓ 1 callersFunctionget_model_files
(dataset_root, category_file, parts = 100, model_file_name = "normalized_model.obj")
ConDor_torch/datasets/dataset_from_3D_FRONT.py:16
↓ 1 callersFunctionget_model_files
(dataset_root, category_file, parts = 100, model_file_name = "normalized_model.obj")
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:16
↓ 1 callersFunctionget_obstacle_avoiding_displacement_bbox
(input_mat, pos_disp, step_size, pos_d=2, ang_d = 2)
data/utils.py:197
↓ 1 callersFunctionh5_to_dictionary
(h5_file_path)
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:95
↓ 1 callersFunctionhigher_product
(R, X, p, q, Q)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:472
↓ 1 callersFunctioninitialize_parser
()
train.py:530
↓ 1 callersFunctionlogsavedir_from_args
Construct name of directory (logsavedir) to save results to.
train.py:501
↓ 1 callersFunctionmean_center
x - B, N, 3 x_mean - B, N, 3 Mean center point cloud
ConDor_torch/utils/train_utils.py:20
↓ 1 callersFunctionnp_clebsch_gordan_decomposition
(j1, j2, matrix_shape=True, l_max=None, dtype=np.float32)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:137
↓ 1 callersFunctionnp_monomial_basis_coeffs
(polynomials, monoms_basis)
ConDor_torch/spherical_harmonics/spherical_cnn.py:44
↓ 1 callersFunctionnp_polyhedrons
(poly)
ConDor_torch/spherical_harmonics/spherical_cnn.py:122
↓ 1 callersFunctionnp_real_clebsch_gordan_projector
(j1, j2, J, matrix_shape=True, dtype=np.float32)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:85
↓ 1 callersFunctionnp_rotate_center
Rotate counterclockwise by a given angle around a given origin. The angle should be given in radians. vs : [numpt, 2], length p
data/utils.py:334
↓ 1 callersFunctionorthonormalize_basis
Returns orthonormal basis vectors basis - B, 3, 3 out - B, 3, 3
ConDor_torch/utils/train_utils.py:42
↓ 1 callersFunctionparse_parameters
()
eval/integer_relations.py:298
↓ 1 callersFunctionpatches_radius
(radius, sq_norm)
ConDor_torch/utils/group_points.py:6
↓ 1 callersFunctionperform_rotation
Perform rotation on point cloud R - B, 3, 3 x - B, N, 3 out - B, N, 3
ConDor_torch/utils/train_utils.py:30
↓ 1 callersFunctionprocess_floorplan_iterative_closest_point
Returns mapped_corner: numpy array of shape [numpt, 2], scaled in [-3,3] (not normalized) tdf: an instance of TDFDataset
data/preprocess_TDFront.py:17
↓ 1 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
model/layers.py:83
↓ 1 callersFunctionread_category_file
(category_file)
ConDor_torch/datasets/dataset_from_3D_FRONT.py:9
↓ 1 callersFunctionread_category_file
(category_file)
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:9
↓ 1 callersFunctionreal_D_wigner_from_euler
(l_max, a, b, c)
ConDor_torch/spherical_harmonics/wigner_matrix.py:309
↓ 1 callersFunctionreal_tensor_decomposition_unit_test__
(j, k, a, b, c)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:553
↓ 1 callersFunctionreal_to_complex_sh
(l)
ConDor_torch/spherical_harmonics/wigner_matrix.py:24
↓ 1 callersFunctionreal_wigner_matrix_unit_test_
(l, a, b, c, X)
ConDor_torch/spherical_harmonics/wigner_matrix.py:460
↓ 1 callersFunctionrun
(cfg)
ConDor_torch/tester.py:13
↓ 1 callersFunctionrun
(cfg)
ConDor_torch/main.py:13
↓ 1 callersMethodrun_test
Run test pass on the dataset
ConDor_torch/trainers/ConDor_trainer.py:200
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
model/layers.py:105
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
model/layers.py:142
↓ 1 callersMethodsave_outputs
Save outputs to file
ConDor_torch/trainers/ConDor_trainer.py:183
↓ 1 callersFunctionsave_pointcloud
Save point cloud to the destination given in the filename x can be list of inputs (Nx3) capsules or numpy array of N x 3
ConDor_torch/utils/pointcloud_utils.py:48
↓ 1 callersFunctionscene_sample_fpbp
fpoc: =scene_data["floor_plan_ordered_corners"]=output of process_floorplan_iterative_closest_point() [numpt, 2] np array, scaled in [-
data/preprocess_TDFront.py:109
↓ 1 callersFunctionset_sphere_weights
(in_channel, out_channel, types)
ConDor_torch/models/layers.py:33
↓ 1 callersFunctionsparse_decompose_
(x, coeffs, idx)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:176
↓ 1 callersFunctionsparse_matrix
(M, eps=0.00001)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:110
↓ 1 callersFunctionspherical_harmonics_3D_monomial_basis
(l, monoms_basis)
ConDor_torch/spherical_harmonics/kernels.py:201
↓ 1 callersFunctionsquare_distance
Calculate Euclid distance between each two points. src^T * dst = xn * xm + yn * ym + zn * zm; sum(src^2, dim=-1) = xn*xn + yn*yn + zn*zn
model/layers.py:16
↓ 1 callersFunctiontable_to_chair
Data is to be in range [-1, 1] for x and y, and there are 2 tables of table_width and table_height. table: table center coordinates, num
data/tablechair_shape.py:29
↓ 1 callersFunctiontablechair_circle_success
Returns True if scene passes validity check, False otherwise. scene: [nobj, pos+ang+siz+cla=8] dist_moved: scalar
eval/denoise_res_eval.py:205
↓ 1 callersFunctiontablechair_horizontal_success
Returns True if scene passes validity check, False otherwise. scene: [nobj, pos+ang+siz+cla=8] dist_moved: scalar
eval/denoise_res_eval.py:149
↓ 1 callersFunctiontablechair_shape_success
Returns True if scene passes validity check, False otherwise. scene: [nobj, pos+ang+siz+cla=8] dist_moved: scalar
eval/denoise_res_eval.py:266
↓ 1 callersFunctiontablechair_success
fp: fp: leads to a npz file saved from denoise_meta() in train.py. Example: 'pos0.1_ang15_train50000.npz'.
eval/denoise_res_eval.py:314
↓ 1 callersFunctiontdfront_success
Checks the porportion of objects that intersect with the floor plan boundaries in final predicted result. For comparing two methods of floor
eval/denoise_res_eval.py:57
↓ 1 callersFunctiontensor_decomposition_unit_test__
(j, k, a, b, c)
ConDor_torch/spherical_harmonics/clebsch_gordan_decomposition.py:400
↓ 1 callersFunctiontorch_angle
v1: [batch_size, numobj, 2], along the last dim = (cos(th), sin(th)) Returns angles in [-pi, pi] from positive x-axis to v, of shape [batch_s
data/utils.py:436
↓ 1 callersFunctiontorch_angle_between
v1 and v2: [batch_size, numobj, 2], last dim = (cos(th), sin(th)) Returns angles in [-pi, pi] from v1 to v2 (order matters), of shape [batch_
data/utils.py:424
↓ 1 callersFunctiontorch_eval_monom_basis
evaluate monomial basis up to degree d x - B, N, K, 3 y - B, N, K, 20
ConDor_torch/spherical_harmonics/kernels.py:290
↓ 1 callersFunctiontorch_eval_monoms_3D
(x, d, axis=-1)
ConDor_torch/spherical_harmonics/spherical_cnn.py:26
↓ 1 callersFunctiontorch_monomial_basis_coeffs
(polynomials, monoms_basis, dtype=torch.float32)
ConDor_torch/spherical_harmonics/spherical_cnn.py:53
↓ 1 callersFunctiontorch_normalize
Returns a copy of v normalized along the last dimension, same shape as input.
data/utils.py:419
↓ 1 callersFunctiontorch_rotate
vs : [numpt, 2], length perserved. rads: [numpt, 1], in radians, counterclockwise Rotates each vs[i] by rads[i] with respect to the
data/utils.py:373
↓ 1 callersFunctiontorch_spherical_harmonics_
(l, matrix_format=True)
ConDor_torch/spherical_harmonics/spherical_cnn.py:56
↓ 1 callersFunctiontorch_spherical_harmonics_basis
(l_max, concat=False)
ConDor_torch/spherical_harmonics/kernels.py:275
↓ 1 callersFunctiontrain
Variables defined in main
train.py:83
↓ 1 callersMethodupdate_dictionary
(self, output_dict, out_dict)
ConDor_torch/trainers/ConDor_trainer.py:227
↓ 1 callersMethodval_dataloader
(self)
ConDor_torch/trainers/ConDor_trainer.py:43
↓ 1 callersFunctionvisualize_2d_pointcloud_3d
final_pos: numpy array with shape (numpt,2), containing trajectory of objects. Called in train.py as default case.
data/utils.py:610
↓ 1 callersFunctionvisualize_chair_denoise
Graph trajectory of each point. traj: numpy array with shape (iter,numpt,2), containing trajectory of objects. Called in train.py as
data/utils.py:566
↓ 1 callersFunctionvisualize_tablechair_circle
scene: shape [nobj, pos_d+ang_d+siz_d+cla_d], where first 2 rows are tables. Difference from visualize functinos in utils.py: more c
data/tablechair_circle.py:272
↓ 1 callersFunctionvisualize_tablechair_denoise
Graph trajectory of tables and chairs. For "tablechair_horizontal", "tablechair_circle", "tablechair_shape" traj: numpy array with shape (ite
data/utils.py:695
↓ 1 callersFunctionvisualize_tablechair_horizontal
scene: [nobj, pos_d+ang_d+siz_d+cla_d], where first 2 rows are tables. Difference from visualize functinos in utils.py: more coherent with t
data/tablechair_horizontal.py:342
↓ 1 callersFunctionvisualize_tablechair_shape
scene has shape [nobj, pos_d+ang_d+sha_d+cla_dim], where first 2 rows are tables. traj, if given, has shape [iter, nobj, pos_d+ang_d]
data/tablechair_shape.py:144
↓ 1 callersFunctionwigner_d_matrix
(l, b, dtype=np.float32)
ConDor_torch/spherical_harmonics/wigner_matrix.py:231
↓ 1 callersFunctionwigner_d_matrix_coeffs
(l, j, k, b)
ConDor_torch/spherical_harmonics/wigner_matrix.py:200
↓ 1 callersFunctionwrite_dict_to_h5
(dictionary, path)
ConDor_torch/datasets/dataset_from_3D_FRONT.py:79
↓ 1 callersFunctionwrite_dict_to_h5
(dictionary, path)
ConDor_torch/datasets/dictionary_from_3D_FRONT.py:83
↓ 1 callersFunctiony_rot
(a)
ConDor_torch/spherical_harmonics/wigner_matrix.py:52
↓ 1 callersFunctionzernike_kernel_3D
(n, l, m, x, y, z)
ConDor_torch/spherical_harmonics/kernels.py:70
↓ 1 callersFunctionzernike_polynomial_radial
(n, l, D, r2)
ConDor_torch/spherical_harmonics/kernels.py:56
Method__getitem__
Get item for Pytorch dataset "pc", "labels"
ConDor_torch/datasets/h5_dataset.py:70
Method__init__
(self, radius, nsample, in_channel, mlp, group_all, subtract_feats = False)
model/layers.py:163
Method__init__
(self, in_channels)
model/layers.py:249
Method__init__
(self, input, output, normalize = True, activation = None)
model/layers.py:279
Method__init__
(self, input, mlp_units = [20, 40, 60], normalize = True, activation = None)
model/layers.py:305
Method__init__
feat_units[0] should be 4 (x, y, nx, ny for fpbpn) (in_dim) feat_units[0] should be transformer_input_d-1 (out_dim) maxpool h
model/floorplan_encoder.py:8
Method__init__
corner_feat_units[0] should be pos_dim (in_dim) line_feat_units[0] should be corner_feat_units[-1]*2 fp_units[0] should be li
model/floorplan_encoder.py:41
Method__init__
(self)
model/models.py:12
← previousnext →101–200 of 328, ranked by callers