tangjiapeng / SA-ConvONet

ICCV2021 Oral SA-ConvONet: Sign-Agnostic Optimization of Convolutional Occupancy Networks
MIT License
90 stars 5 forks source link

How can I generate mesh with my own point cloud data #7

Open zhao-you-fei opened 2 years ago

zhao-you-fei commented 2 years ago

@tangjiapeng How can I generate mesh with my own point cloud data, and what are the other input data? Looking forward to your reply!

tangjiapeng commented 2 years ago

Hi,if you want to generate scene meshes from input point clouds,you need to put your own data (after normalization) into 'data/demo/synthetic_room_dataset', and then run

python generate_optim_scene.py configs/pointcloud/demo_syn_room.yaml

or

python scripts/dataset_matterport/make_cropscene_dataset2.py --in_folder data/demo/Matterport3D_processed --out_folder data/demo/Matterport3D_processed_normalize --do_norm (this is the provided data pre-processing script for your scenes), and then run: python generate_optim_largescene.py configs/pointcloud_crop/demo_matterport.yaml

zhao-you-fei commented 2 years ago

您好,请问我仅仅只有点云是不是不可以, 一定要按照data/demo/Matterport3D_processed给出的数据格式做自己的数据集,我没有pointcloud.npz压缩文件中的normals.npy和point.npy

------------------ 原始邮件 ------------------ 发件人: "tangjiapeng/SA-ConvONet" @.>; 发送时间: 2022年10月30日(星期天) 上午6:27 @.>; @.**@.>; 主题: Re: [tangjiapeng/SA-ConvONet] How can I generate mesh with my own point cloud data (Issue #7)

Hi,if you want to generate scene meshes from input point clouds,you need to put your own data (after normalization) into 'data/demo/synthetic_room_dataset', and then run

python generate_optim_scene.py configs/pointcloud/demo_syn_room.yaml

or

python scripts/dataset_matterport/make_cropscene_dataset2.py --in_folder data/demo/Matterport3D_processed --out_folder data/demo/Matterport3D_processed_normalize --do_norm (this is the provided data pre-processing script for your scenes), and then run: python generate_optim_largescene.py configs/pointcloud_crop/demo_matterport.yaml

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tangjiapeng commented 2 years ago

是的,我们方法的出发点就是 不用法向进行点云的表面重建

zhao-you-fei commented 2 years ago

感谢您的回复,意思只有.ply文件是不可行的,是吗,那太可惜了

------------------ 原始邮件 ------------------ 发件人: "tangjiapeng/SA-ConvONet" @.>; 发送时间: 2022年10月30日(星期天) 晚上8:24 @.>; @.**@.>; 主题: Re: [tangjiapeng/SA-ConvONet] How can I generate mesh with my own point cloud data (Issue #7)

是的,我们方法的出发点就是 不用法向进行点云的表面重建

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tangjiapeng commented 2 years ago

有.ply 文件也可以,只要有点云坐标就行了

zhao-you-fei commented 2 years ago

首先我非常非常感谢您,您的工作给我提供了很大的帮助,我现在输入了自己的点云数据正在运行,在评估mesh部分用前面提供的数据集生成的mesh模型(我分别用shapenet的03001627、合成场景的rooms_04和large_scenes评估,但是只有合成场景的rooms_04成功了,不知道为什么会报错,如下图所示)

另外这个数据集的处理虽然不报错但是没有运行结果,数据处理没有成功,下边也就没有生成模型

最后还是感谢您抽时间回复我,希望后续有关这个网络的问题能得到您的解答,谢谢

------------------ 原始邮件 ------------------ 发件人: "tangjiapeng/SA-ConvONet" @.>; 发送时间: 2022年10月30日(星期天) 晚上8:28 @.>; @.**@.>; 主题: Re: [tangjiapeng/SA-ConvONet] How can I generate mesh with my own point cloud data (Issue #7)

有.ply 文件也可以,只要有点云坐标就行了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tangjiapeng commented 2 years ago

你好,我没太理解到报错信息,可以再发一遍吗?

zhao-you-fei commented 2 years ago

我尝试评估M3D那个数据集生成的mesh和shapenet生成的mesh会报错,生成的csv文件是空的

------------------ 原始邮件 ------------------ 发件人: "tangjiapeng/SA-ConvONet" @.>; 发送时间: 2022年10月30日(星期天) 晚上9:47 @.>; @.**@.>; 主题: Re: [tangjiapeng/SA-ConvONet] How can I generate mesh with my own point cloud data (Issue #7)

你好,我没太理解到报错信息,可以再发一遍吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tangjiapeng commented 2 years ago

你有得到生成mesh结果吗?报错信息是啥?

zhao-you-fei commented 2 years ago

就是会报错ValueError:cannot set a frame with no defined columns,右边的csv文件是空的 另外常见点云格式有pcd、ply、txt、obj、las/laz、xyz、bin,这个代码是只读ply格式嘛?我如果有其他格式点云文件是不是用cloudcompare做个点云格式转换

谢谢您的回复!

------------------ 原始邮件 ------------------ 发件人: "tangjiapeng/SA-ConvONet" @.>; 发送时间: 2022年10月30日(星期天) 晚上9:55 @.>; @.**@.>; 主题: Re: [tangjiapeng/SA-ConvONet] How can I generate mesh with my own point cloud data (Issue #7)

你有得到生成mesh结果吗?报错信息是啥?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>