SYMBOL INDEX (303 symbols across 39 files) FILE: code/common/Lie_functions.py function for_translation (line 4) | def for_translation(Old_transform,t): function for_rotation (line 12) | def for_rotation(Old_transform): function exponential_map_single (line 21) | def exponential_map_single(vec): function transforms_mul (line 59) | def transforms_mul(T1, T2): FILE: code/common/all_transformer.py function _simple_transformer (line 14) | def _simple_transformer(depth_map, t_mat, k_mat, small_transform): function sparsify_cloud (line 24) | def sparsify_cloud(S): function _3D_meshgrid_batchwise_diff (line 41) | def _3D_meshgrid_batchwise_diff(height, width, depth_img, num_batch, tra... function reverse_all (line 105) | def reverse_all(z): function get_pixel_value (line 117) | def get_pixel_value(img, x, y): function _bilinear_sampling (line 140) | def _bilinear_sampling(img, x_func, y_func): FILE: code/common/cnn_utils_res.py function weight_variable (line 4) | def weight_variable(shape, str): function weight_variable_fc (line 17) | def weight_variable_fc(shape, str): function bias_variable (line 30) | def bias_variable(shape, str): function init_weights (line 36) | def init_weights(W, str, to_train): function init_bias (line 41) | def init_bias(B, layerno, to_train): function conv2d_batchnorm (line 46) | def conv2d_batchnorm(x, W, name, phase, beta_r, gamma_r, mean_r, varianc... function conv2d_batchnorm_init (line 62) | def conv2d_batchnorm_init(x, W, name, phase, stride = [1,1,1,1], relu = ... function conv2d_init (line 73) | def conv2d_init(x, W, name, phase, stride, padding): function conv2d_bias_init (line 81) | def conv2d_bias_init(x, W, b, name): function max_pool (line 88) | def max_pool(x, name): function variable_summaries (line 91) | def variable_summaries(var): FILE: code/common/global_agg_net.py function End_Net_weights_init (line 15) | def End_Net_weights_init(): function End_Net (line 41) | def End_Net(input_x, phase_depth, keep_prob): function End_Net_Out (line 67) | def End_Net_Out(X1, phase_rgb, pooled_input2, phase, keep_prob): FILE: code/common/resnet_depth_model.py class Depthnet (line 11) | class Depthnet: method __init__ (line 13) | def __init__(self, input_y, phase, parameters = parameters): method Net (line 22) | def Net(self): method layer_zero (line 33) | def layer_zero(self, layer_input): method layer (line 54) | def layer(self, layer_input, layer_no): FILE: code/common/resnet_rgb_model.py class Resnet (line 11) | class Resnet: method __init__ (line 13) | def __init__(self, input_x, phase, parameters = parameters): method Net (line 22) | def Net(self): method layer_zero (line 33) | def layer_zero(self, layer_input): method layer (line 53) | def layer(self, layer_input, layer_no): FILE: code/dataset_files/dataset_build_color.py function timestamp_sync (line 54) | def timestamp_sync(path): FILE: code/dataset_files/dataset_build_color_2.py function timestamp_sync (line 54) | def timestamp_sync(path): FILE: code/model_utils.py function pre_load_checkpoint (line 8) | def pre_load_checkpoint(checkpoint_dir): function get_repulsion_loss4 (line 18) | def get_repulsion_loss4(pred, nsample=20, radius=0.07): function get_emd_loss (line 38) | def get_emd_loss(pred, gt): function get_cd_loss (line 48) | def get_cd_loss(pred, gt): FILE: code/nw_loader_color.py function shuffle (line 23) | def shuffle(): function load (line 27) | def load(p_no, mode): FILE: code/tf_ops/CD/render_balls_so.cpp type PointInfo (line 7) | struct PointInfo{ function render_ball (line 14) | void render_ball(int h,int w,unsigned char * show,int n,int * xyzs,float... FILE: code/tf_ops/CD/tf_nndistance.cpp function nnsearch (line 21) | static void nnsearch(int b,int n,int m,const float * xyz1,const float * ... class NnDistanceOp (line 45) | class NnDistanceOp : public OpKernel{ method NnDistanceOp (line 47) | explicit NnDistanceOp(OpKernelConstruction* context):OpKernel(context){} method Compute (line 48) | void Compute(OpKernelContext * context)override{ class NnDistanceGradOp (line 84) | class NnDistanceGradOp : public OpKernel{ method NnDistanceGradOp (line 86) | explicit NnDistanceGradOp(OpKernelConstruction* context):OpKernel(cont... method Compute (line 87) | void Compute(OpKernelContext * context)override{ class NnDistanceGpuOp (line 169) | class NnDistanceGpuOp : public OpKernel{ method NnDistanceGpuOp (line 171) | explicit NnDistanceGpuOp(OpKernelConstruction* context):OpKernel(conte... method Compute (line 172) | void Compute(OpKernelContext * context)override{ class NnDistanceGradGpuOp (line 209) | class NnDistanceGradGpuOp : public OpKernel{ method NnDistanceGradGpuOp (line 211) | explicit NnDistanceGradGpuOp(OpKernelConstruction* context):OpKernel(c... method Compute (line 212) | void Compute(OpKernelContext * context)override{ FILE: code/tf_ops/CD/tf_nndistance.py function nn_distance (line 9) | def nn_distance(xyz1,xyz2): function _nn_distance_grad (line 27) | def _nn_distance_grad(op,grad_dist1,grad_idx1,grad_dist2,grad_idx2): FILE: code/tf_ops/emd/tf_auctionmatch.cpp class AuctionMatchGpuOp (line 27) | class AuctionMatchGpuOp: public OpKernel{ method AuctionMatchGpuOp (line 29) | explicit AuctionMatchGpuOp(OpKernelConstruction* context):OpKernel(con... method Compute (line 30) | void Compute(OpKernelContext * context)override{ FILE: code/tf_ops/emd/tf_auctionmatch.py function auction_match (line 10) | def auction_match(xyz1,xyz2): FILE: code/tf_ops/grouping/query_ball_point.cpp function randomf (line 9) | float randomf(){ function get_time (line 12) | static double get_time(){ function query_ball_point_cpu (line 19) | void query_ball_point_cpu(int b, int n, int m, const float* radius, int ... function group_point_cpu (line 52) | void group_point_cpu(int b, int n, int c, int m, int nsample, const floa... function group_point_grad_cpu (line 70) | void group_point_grad_cpu(int b, int n, int c, int m, int nsample, const... function main (line 86) | int main() FILE: code/tf_ops/grouping/selection_sort.cpp function randomf (line 9) | float randomf(){ function get_time (line 12) | static double get_time(){ function selection_sort_cpu (line 20) | void selection_sort_cpu(int b, int n, int m, int k, const float *dist, i... function main (line 65) | int main() FILE: code/tf_ops/grouping/tf_grouping.cpp class QueryBallPointGpuOp (line 68) | class QueryBallPointGpuOp : public OpKernel { method QueryBallPointGpuOp (line 70) | explicit QueryBallPointGpuOp(OpKernelConstruction* context) : OpKernel... method Compute (line 78) | void Compute(OpKernelContext* context) override { class SelectionSortGpuOp (line 113) | class SelectionSortGpuOp : public OpKernel { method SelectionSortGpuOp (line 115) | explicit SelectionSortGpuOp(OpKernelConstruction* context) : OpKernel(... method Compute (line 120) | void Compute(OpKernelContext* context) override { class GroupPointGpuOp (line 147) | class GroupPointGpuOp: public OpKernel{ method GroupPointGpuOp (line 149) | explicit GroupPointGpuOp(OpKernelConstruction * context):OpKernel(cont... method Compute (line 151) | void Compute(OpKernelContext * context) override { class GroupPointGradGpuOp (line 178) | class GroupPointGradGpuOp: public OpKernel{ method GroupPointGradGpuOp (line 180) | explicit GroupPointGradGpuOp(OpKernelConstruction * context):OpKernel(... method Compute (line 182) | void Compute(OpKernelContext * context) override { FILE: code/tf_ops/grouping/tf_grouping.py function query_ball_point (line 8) | def query_ball_point(radius, nsample, xyz1, xyz2): function select_top_k (line 22) | def select_top_k(k, dist): function group_point (line 33) | def group_point(points, idx): function _group_point_grad (line 43) | def _group_point_grad(op, grad_out): function knn_point (line 48) | def knn_point(k, xyz1, xyz2): FILE: code/tf_ops/grouping/tf_grouping_op_test.py class GroupPointTest (line 5) | class GroupPointTest(tf.test.TestCase): method test (line 6) | def test(self): method test_grad (line 9) | def test_grad(self): FILE: code/tf_ops/interpolation/interpolate.cpp function randomf (line 9) | float randomf(){ function get_time (line 12) | static double get_time(){ function threenn_cpu (line 21) | void threenn_cpu(int b, int n, int m, const float *xyz1, const float *xy... function get_weights_cpu (line 69) | void get_weights_cpu(int b, int n, const float *dist, float *weight) { function interpolate_cpu (line 84) | void interpolate_cpu(int b, int m, int c, int n, const float *points, co... function interpolate_grad_cpu (line 108) | void interpolate_grad_cpu(int b, int n, int c, int m, const float *grad_... function main (line 132) | int main() FILE: code/tf_ops/interpolation/tf_interpolate.cpp function randomf (line 48) | float randomf(){ function get_time (line 51) | static double get_time(){ function threenn_cpu (line 60) | void threenn_cpu(int b, int n, int m, const float *xyz1, const float *xy... function threeinterpolate_cpu (line 107) | void threeinterpolate_cpu(int b, int m, int c, int n, const float *point... function threeinterpolate_grad_cpu (line 131) | void threeinterpolate_grad_cpu(int b, int n, int c, int m, const float *... class ThreeNNOp (line 157) | class ThreeNNOp : public OpKernel { method ThreeNNOp (line 159) | explicit ThreeNNOp(OpKernelConstruction* context) : OpKernel(context) {} method Compute (line 161) | void Compute(OpKernelContext* context) override { class ThreeInterpolateOp (line 191) | class ThreeInterpolateOp: public OpKernel{ method ThreeInterpolateOp (line 193) | explicit ThreeInterpolateOp(OpKernelConstruction * context):OpKernel(c... method Compute (line 195) | void Compute(OpKernelContext * context) override { class ThreeInterpolateGradOp (line 225) | class ThreeInterpolateGradOp: public OpKernel{ method ThreeInterpolateGradOp (line 227) | explicit ThreeInterpolateGradOp(OpKernelConstruction * context):OpKern... method Compute (line 229) | void Compute(OpKernelContext * context) override { FILE: code/tf_ops/interpolation/tf_interpolate.py function three_nn (line 8) | def three_nn(xyz1, xyz2): function three_interpolate (line 19) | def three_interpolate(points, idx, weight): function _three_interpolate_grad (line 30) | def _three_interpolate_grad(op, grad_out): FILE: code/tf_ops/interpolation/tf_interpolate_op_test.py class GroupPointTest (line 5) | class GroupPointTest(tf.test.TestCase): method test (line 6) | def test(self): method test_grad (line 9) | def test_grad(self): FILE: code/tf_ops/interpolation/visu_interpolation.py function fun (line 16) | def fun(xyz1,xyz2,pts2): FILE: code/tf_ops/sampling/tf_sampling.cpp class ProbSampleGpuOp (line 66) | class ProbSampleGpuOp: public OpKernel{ method ProbSampleGpuOp (line 68) | explicit ProbSampleGpuOp(OpKernelConstruction* context):OpKernel(conte... method Compute (line 69) | void Compute(OpKernelContext * context)override{ class FarthestPointSampleGpuOp (line 95) | class FarthestPointSampleGpuOp: public OpKernel{ method FarthestPointSampleGpuOp (line 97) | explicit FarthestPointSampleGpuOp(OpKernelConstruction* context):OpKer... method Compute (line 101) | void Compute(OpKernelContext * context)override{ class GatherPointGpuOp (line 126) | class GatherPointGpuOp: public OpKernel{ method GatherPointGpuOp (line 128) | explicit GatherPointGpuOp(OpKernelConstruction * context):OpKernel(con... method Compute (line 129) | void Compute(OpKernelContext * context)override{ class GatherPointGradGpuOp (line 151) | class GatherPointGradGpuOp: public OpKernel{ method GatherPointGradGpuOp (line 153) | explicit GatherPointGradGpuOp(OpKernelConstruction * context):OpKernel... method Compute (line 154) | void Compute(OpKernelContext * context)override{ FILE: code/tf_ops/sampling/tf_sampling.py function prob_sample (line 13) | def prob_sample(inp,inpr): function gather_point (line 29) | def gather_point(inp,idx): function _gather_point_grad (line 44) | def _gather_point_grad(op,out_g): function farthest_point_sample (line 48) | def farthest_point_sample(npoint,inp): FILE: code/utils/data_prep_util.py function export_ply (line 15) | def export_ply(pc, filename): function get_sampling_command (line 23) | def get_sampling_command(obj_filename, ply_filename): function get_category_names (line 35) | def get_category_names(): function get_obj_filenames (line 41) | def get_obj_filenames(): function batch_mkdir (line 48) | def batch_mkdir(output_folder, subdir_list): function save_h5_data_label_normal (line 60) | def save_h5_data_label_normal(h5_filename, data, label, normal, function save_h5 (line 79) | def save_h5(h5_filename, data, label, data_dtype='uint8', label_dtype='u... function load_h5_data_label_normal (line 92) | def load_h5_data_label_normal(h5_filename): function load_h5_data_label_seg (line 100) | def load_h5_data_label_seg(h5_filename): function load_h5 (line 108) | def load_h5(h5_filename): function load_ply_data (line 119) | def load_ply_data(filename, point_num): function load_ply_normal (line 126) | def load_ply_normal(filename, point_num): function pad_arr_rows (line 134) | def pad_arr_rows(arr, row, pad='edge'): FILE: code/utils/eulerangles.py function euler2mat (line 98) | def euler2mat(z=0, y=0, x=0): function mat2euler (line 198) | def mat2euler(M, cy_thresh=None): function euler2quat (line 271) | def euler2quat(z=0, y=0, x=0): function quat2euler (line 319) | def quat2euler(q): function euler2angle_axis (line 348) | def euler2angle_axis(z=0, y=0, x=0): function angle_axis2euler (line 382) | def angle_axis2euler(theta, vector, is_normalized=False): FILE: code/utils/modelnet_data_prep.py function nonuniform_sampling (line 16) | def nonuniform_sampling(num = 4096, sample_num = 1024): function save_file (line 27) | def save_file(file_path, data): function tmp (line 32) | def tmp(file_path=None): function nonuniformsample_from_pointcloud_fn (line 84) | def nonuniformsample_from_pointcloud_fn(): function possion_sample_fn (line 129) | def possion_sample_fn(file_path): function normal_off_file (line 166) | def normal_off_file(folder='/home/lqyu/workspace/PointSR/data/ModelNet10'): function recalculateNormal_fn (line 202) | def recalculateNormal_fn(file_path): function fix_off_file (line 273) | def fix_off_file(filepath): function possion_sample_fn (line 290) | def possion_sample_fn(phase='train'): function recalculateNormal (line 304) | def recalculateNormal(phase='train'): function nonuniformsample_from_pointcloud (line 311) | def nonuniformsample_from_pointcloud(phase='train'): function save_h52 (line 319) | def save_h52(save_names = ['poisson_4096','poisson_2048']): function save_h5 (line 390) | def save_h5(h5_filename,save_names = ['patch_poisson_4096','patch_poisso... function load_h5 (line 440) | def load_h5(h5_filename): FILE: code/utils/off2obj.py class Mesh (line 19) | class Mesh: method __init__ (line 21) | def __init__(self): method writeToObjFile (line 27) | def writeToObjFile(self, pathToObjFile): method loadFromOffFile (line 49) | def loadFromOffFile(self, pathToOffFile): method edgeList (line 86) | def edgeList(self): FILE: code/utils/pc_util.py function point_cloud_to_volume_batch (line 27) | def point_cloud_to_volume_batch(point_clouds, vsize=12, radius=1.0, flat... function point_cloud_to_volume (line 44) | def point_cloud_to_volume(points, vsize, radius=1.0): function volume_to_point_cloud (line 59) | def volume_to_point_cloud(vol): function read_ply (line 80) | def read_ply(filename): function write_ply (line 88) | def write_ply(points, filename, text=True): function draw_point_cloud (line 100) | def draw_point_cloud(input_points, canvasSize=500, space=240, diameter=10, function point_cloud_three_views (line 174) | def point_cloud_three_views(points,diameter=5): function point_cloud_three_views_demo (line 195) | def point_cloud_three_views_demo(): function pyplot_draw_point_cloud (line 207) | def pyplot_draw_point_cloud(points, output_filename): function pyplot_draw_volume (line 217) | def pyplot_draw_volume(vol, output_filename): FILE: code/utils/plyfile.py function _lookup_type (line 80) | def _lookup_type(type_str): function _split_line (line 91) | def _split_line(line, n): function make2d (line 101) | def make2d(array, cols=None, dtype=None): class PlyParseError (line 121) | class PlyParseError(Exception): method __init__ (line 131) | def __init__(self, message, element=None, row=None, prop=None): method __repr__ (line 148) | def __repr__(self): class PlyData (line 153) | class PlyData(object): method __init__ (line 165) | def __init__(self, elements=[], text=False, byte_order='=', method _get_elements (line 193) | def _get_elements(self): method _set_elements (line 196) | def _set_elements(self, elements): method _get_byte_order (line 202) | def _get_byte_order(self): method _set_byte_order (line 205) | def _set_byte_order(self, byte_order): method _index (line 213) | def _index(self): method _parse_header (line 220) | def _parse_header(stream): method read (line 275) | def read(stream): method write (line 291) | def write(self, stream): method header (line 307) | def header(self): method __iter__ (line 333) | def __iter__(self): method __len__ (line 336) | def __len__(self): method __contains__ (line 339) | def __contains__(self, name): method __getitem__ (line 342) | def __getitem__(self, name): method __str__ (line 345) | def __str__(self): method __repr__ (line 348) | def __repr__(self): function _open_stream (line 355) | def _open_stream(stream, read_or_write): class PlyElement (line 364) | class PlyElement(object): method __init__ (line 379) | def __init__(self, name, properties, count, comments=[]): method count (line 400) | def count(self): method _get_data (line 403) | def _get_data(self): method _set_data (line 406) | def _set_data(self, data): method _check_sanity (line 413) | def _check_sanity(self): method _get_properties (line 418) | def _get_properties(self): method _set_properties (line 421) | def _set_properties(self, properties): method _index (line 428) | def _index(self): method ply_property (line 434) | def ply_property(self, name): method name (line 438) | def name(self): method _check_name (line 441) | def _check_name(self): method dtype (line 446) | def dtype(self, byte_order='='): method _parse_multi (line 458) | def _parse_multi(header_lines): method _parse_one (line 471) | def _parse_one(lines): method describe (line 507) | def describe(data, name, len_types={}, val_types={}, method _read (line 567) | def _read(self, stream, text, byte_order): method _write (line 593) | def _write(self, stream, text, byte_order): method _read_txt (line 611) | def _read_txt(self, stream): method _write_txt (line 643) | def _write_txt(self, stream): method _read_bin (line 656) | def _read_bin(self, stream, byte_order): method _write_bin (line 673) | def _write_bin(self, stream, byte_order): method header (line 684) | def header(self): method __getitem__ (line 701) | def __getitem__(self, key): method __setitem__ (line 704) | def __setitem__(self, key, value): method __str__ (line 707) | def __str__(self): method __repr__ (line 710) | def __repr__(self): class PlyProperty (line 716) | class PlyProperty(object): method __init__ (line 724) | def __init__(self, name, val_dtype): method _get_val_dtype (line 729) | def _get_val_dtype(self): method _set_val_dtype (line 732) | def _set_val_dtype(self, val_dtype): method name (line 738) | def name(self): method _check_name (line 741) | def _check_name(self): method _parse_one (line 747) | def _parse_one(line): method dtype (line 770) | def dtype(self, byte_order='='): method _from_fields (line 778) | def _from_fields(self, fields): method _to_fields (line 786) | def _to_fields(self, data): method _read_bin (line 793) | def _read_bin(self, stream, byte_order): method _write_bin (line 804) | def _write_bin(self, data, stream, byte_order): method __str__ (line 811) | def __str__(self): method __repr__ (line 815) | def __repr__(self): class PlyListProperty (line 820) | class PlyListProperty(PlyProperty): method __init__ (line 827) | def __init__(self, name, len_dtype, val_dtype): method _get_len_dtype (line 832) | def _get_len_dtype(self): method _set_len_dtype (line 835) | def _set_len_dtype(self, len_dtype): method dtype (line 840) | def dtype(self, byte_order='='): method list_dtype (line 847) | def list_dtype(self, byte_order='='): method _from_fields (line 856) | def _from_fields(self, fields): method _to_fields (line 867) | def _to_fields(self, data): method _read_bin (line 881) | def _read_bin(self, stream, byte_order): method _write_bin (line 895) | def _write_bin(self, data, stream, byte_order): method __str__ (line 907) | def __str__(self): method __repr__ (line 912) | def __repr__(self): FILE: code/utils/pointnet_util.py function sample_and_group (line 16) | def sample_and_group(npoint, radius, nsample, xyz, points, tnet_spec=Non... function sample_and_group_all (line 67) | def sample_and_group_all(xyz, points, use_xyz=True): function pointnet_sa_module (line 95) | def pointnet_sa_module(xyz, points, npoint, radius, nsample, mlp, mlp2, ... function pointnet_sa_module_msg (line 154) | def pointnet_sa_module_msg(xyz, points, npoint, radius_list, nsample_lis... function pointnet_fp_module (line 193) | def pointnet_fp_module(xyz1, xyz2, points1, points2, mlp, is_training, b... FILE: code/utils/provider.py function shuffle_data (line 20) | def shuffle_data(data, labels): function rotate_point_cloud (line 33) | def rotate_point_cloud(batch_data): function rotate_point_cloud_by_angle (line 54) | def rotate_point_cloud_by_angle(batch_data, rotation_angle): function rotate_perturbation_point_cloud (line 74) | def rotate_perturbation_point_cloud(batch_data, angle_sigma=0.06, angle_... function jitter_point_cloud (line 99) | def jitter_point_cloud(batch_data, sigma=0.01, clip=0.05): function shift_point_cloud (line 112) | def shift_point_cloud(batch_data, shift_range=0.1): function random_scale_point_cloud (line 126) | def random_scale_point_cloud(batch_data, scale_low=0.8, scale_high=1.25): function getDataFiles (line 139) | def getDataFiles(list_filename): function load_h5 (line 142) | def load_h5(h5_filename): function loadDataFile (line 148) | def loadDataFile(filename): FILE: code/utils/show3d.py function onmouse (line 44) | def onmouse(*args): function showpoints (line 52) | def showpoints(xyz,c0=None,c1=None,c2=None,waittime=0,showrot=False,magn... FILE: code/utils/tf_util.py function _variable_on_cpu (line 10) | def _variable_on_cpu(name, shape, initializer, use_fp16=False): function _variable_with_weight_decay (line 23) | def _variable_with_weight_decay(name, shape, stddev, wd, use_xavier=True): function conv1d (line 51) | def conv1d(inputs, function conv2d (line 113) | def conv2d(inputs, function conv2d_transpose (line 173) | def conv2d_transpose(inputs, function conv3d (line 253) | def conv3d(inputs, function fully_connected (line 312) | def fully_connected(inputs, function max_pool2d (line 351) | def max_pool2d(inputs, function avg_pool2d (line 376) | def avg_pool2d(inputs, function max_pool3d (line 402) | def max_pool3d(inputs, function avg_pool3d (line 427) | def avg_pool3d(inputs, function batch_norm_template (line 456) | def batch_norm_template(inputs, is_training, scope, moments_dims, bn_dec... function batch_norm_for_fc (line 505) | def batch_norm_for_fc(inputs, is_training, bn_decay, scope): function batch_norm_for_conv1d (line 519) | def batch_norm_for_conv1d(inputs, is_training, bn_decay, scope): function batch_norm_for_conv2d (line 535) | def batch_norm_for_conv2d(inputs, is_training, bn_decay, scope): function batch_norm_for_conv3d (line 550) | def batch_norm_for_conv3d(inputs, is_training, bn_decay, scope): function dropout (line 564) | def dropout(inputs, FILE: code/utils/tf_util2.py function lrelu (line 3) | def lrelu(x, alpha=0.2): function instance_norm (line 13) | def instance_norm(net, train=True,weight_decay=0.00001): function conv2d (line 28) | def conv2d(inputs, function fully_connected (line 89) | def fully_connected(inputs, FILE: code/utils/write_result2html.py function write_result (line 7) | def write_result(): function write_result2html_benchmark (line 53) | def write_result2html_benchmark(): function write_result2html_ModelNet (line 130) | def write_result2html_ModelNet():