Comments (5)
Hi @bonbonjour , it's simple to get it.
from plyfile import PlyData, PlyElement
scene_full_3d_mesh = PlyData.read(in_raw_scans_folder+scene_name+'/'+scene_name+'_vh_clean_2.ply')
scene_full_3d_pc = np.asarray((scene_full_3d_mesh['vertex'].data).tolist(), dtype=np.float32).reshape([-1, 7]) ## the 7 channels represent [ x-y-z-r-g-b-a]
from 3d-bonet.
thanks for your help! and there is another problem, I have trouble in generating ins label, I use "python export_train_mesh_for_evaluation.py --scan_path /home/data/scannetv2/scans/scene0000_00 --output_file /home/data/scannetv2/output.txt --label_map_file /home/data/scannetv2/scannetv2-labels.combined.tsv --type instance" to get the ins lable, the output.txt is like this(67 lines in all):
pred_mask/output_1.txt 9 1.000000
pred_mask/output_2.txt 9 1.000000
pred_mask/output_3.txt 7 1.000000
pred_mask/output_4.txt 12 1.000000
pred_mask/output_5.txt 38 1.000000
pred_mask/output_6.txt 16 1.000000
pred_mask/output_7.txt 16 1.000000
pred_mask/output_8.txt 14 1.000000
pred_mask/output_9.txt 3 1.000000
pred_mask/output_10.txt 2 1.000000
under pred_mask folder, there are output_1.txt-- output_72.txt.
after obtaining these files, I don't know how to get the final ins label file, can you please help me
from 3d-bonet.
can anybody please help me?
from 3d-bonet.
Hi @bonbonjour , the script "export_train_mesh_for_evaluation.py" is to generate formatted results for ScanNet online evaluation. If you want to generate the ins labels for training the network, check out the script below.
https://github.com/Yang7879/3D-BoNet/blob/master/helper_data_scannet_prepare.py
from 3d-bonet.
thanks very much!
from 3d-bonet.
Related Issues (20)
- No need to remove duplicate bbox? HOT 1
- train net with scannet HOT 4
- 11
- 关于 instance labels HOT 1
- 训练自己数据集的问题 HOT 17
- test results HOT 1
- Questions about the visualization of results HOT 2
- 关于预测结果中的pmask_pred_raw变量 HOT 1
- visualization S3DIS HOT 3
- 在scannet的预测结果 HOT 2
- 数据集转换 HOT 1
- Compiling in Cuda 11.1
- How to separate each instance of point cloud instance segmentation?
- model not found, all weights are initilized train files: 0 test files: 0
- about label
- Wrong test results
- 关于Scannet数据集
- 感觉这份代码对于实际工作几乎没什么意义 HOT 2
- 如何制作自己的数据集 HOT 3
- How to calculate APs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-bonet.