通过深度 3D 卷积网络进行点云语义分割 神经网络
This code implements a deep neural network for 3D point cloud semantic segmentation. It comes as a baseline for the benchmark http://www.semantic3d.net/ (reproduces DeepNet entry in reduced-8 track). It is written in C++/lua and is supposed to simplify starting to work with the benchmark.
The code requires at least 8 Gb RAM and an Nvidia GPU (at least 6 Gb of memory, tested for Nvidia Titan X GPU).
If you use this code or the benchmark in your research, please cite it as
@article{hackel2017semantic3d,
title={Semantic3D.net: A new Large-scale Point Cloud Classification Benchmark},
author={Hackel, Timo and Savinov, Nikolay and Ladicky, Lubor and Wegner, Jan and Schindler, Konrad and Pollefeys, Marc},
journal={arXiv preprint arXiv:1704.03847},
year={2017}
}Each point in the point cloud is to be classified into one of the semantic classes like building/car/vegetation/etc. It is done by considering a range of neighbourhoods for the point, computing occupancy grids for them and applying 3D convolutional neural network on those grids. A more detailed description can be found in this presentation.
The changeable constants are in lib/point_cloud_util/data_loader_constants.h and in src/point_cloud_constants.lua
Explanation of them:
const int kWindowSize = 16; // neighbourhood of the point is voxelized into kWindowSize ^ 3 voxels
const int kBatchSize = 100; // since batch is constructed on cpp side, we need specify its size here
const int kNumberOfClasses = 8; // integer labels 1, ..., 8 are considered
const int kDefaultNumberOfScales = 5; // each sample in the batch is constructed as stacked multiples scales. in the deep net architecture fully connected layer outputs are concatenated
const int kDefaultNumberOfRotations = 1; // optional implemenation of TI-pooling on top of multi-scale architecture. check the repository or read the paper for more details
const float kSpatialResolution = 0.025; // voxel side in meters
const int kBatchResamplingLimit = 100; // after this number of batches, the coordinate system is rotated by a random angle and the voxelized representations are recalculated from scratch (augmentation).
opt.number_of_filters = 16 -- number of filters in the first convolutional layer, other layers size is also proportional to this constant.
opt.kLargePrintingInterval = 100 -- how often to evaluate model and dump solution to disk
opt.kWarmStart = false -- restart with the saved model
opt.kModelDumpName = '../dump/model_dump' -- where the model is saved
opt.kOptimStateDumpName = '../dump/optim_state_dump' -- where the optimization progress is saved
opt.kStreamingPath = '../data/benchmark/sg28_station4_intensity_rgb_train.txt' -- from which file training data is sampled
Data is randomly sampled from the training set, all the classes are made equally probable via this sampling. Thus it is required that the training file contains at least one sample of each class.
暂无开放 Issues,或尚未同步最近议题。