当前位置:网站首页>PointNet/Pointnet++训练及测试
PointNet/Pointnet++训练及测试
2022-06-29 08:20:00 【马少爷】
1、安装Anaconda
source ~/.bashrc更新环境变量
然后可以输入conda list 测试是否成功
2、创建PyTorch环境
conda create -n myPytorch python=3.7
conda activate mypytorch
conda install pytorch1.1.0 torchvision0.3.0 -c pytorch
3、安装cloudcompare软件
snap install cloudcompare
安装meshlab软件
meshlab2020.07-linux.AppImage
4、复制pointnet项目
git clone github网址
5、完成形状分类任务
下载数据集:modelnet40_normal_resampled
解压后放在data文件夹下
python train_cls.py --model pointnet2_cls_msg --normal --log_dir pointnet2_cls_msg
使用法向量信息
若显存溢出,设置batch_size
python train_cls.py --model pointnet2_cls_msg --normal --log_dir pointnet2_cls_msg batch_size 8
对训练好的网络进行测试
python test_cls.py --normal --log_dir pointnet2_cls_msg
6、物体部件分割
使用数据集:shapenetcore_partanno_segmentation_benchmark_v0_normal
将数据集解压到data文件夹
训练命令:
python train_partseg.py --model pointnet2_part_seg_msg --normal --log_dir pointnet2_part_seg_msg
测试命令:
python test_partseg.py --normal --log_dir pointnet2_part_seg_msg
7、场景语义分割
数据集:Stanford3dDataset_v1.2_Aligned_Version
解压到:
data/s3dis/Stanford3dDataset_v1.2_Aligned_Version/
训练:
cd data_utils
python collect_indoor3d_data.py
处理后的数据保存到
data/stanford_indoor3d/
执行训练命令:
python train_semseg.py --model pointnet2_sem_seg --test_area 5 --log_dir
pointnet2_sem_seg
可视化结果保存在
log/sem_seg/pointnet2_sem_seg/visual/
执行测试命令:
python test_semseg.py --log_dir pointnet2_sem_seg --test_area 5 --visual
边栏推荐
- Matlab usage
- TypeScript 變量聲明 —— 類型斷言
- hostname -f与uname -n的返回值可能不同
- mongoDB 持久化
- 重磅发布 | 《FISCO BCOS应用落地指南》
- Déclaration de la variable Typescript - - assertion de type
- 操作系统产品密钥查看方法
- 各种级数(调和、几何)总结
- 15 things to learn in a year of internship in famous enterprises, so you can avoid detours.
- Robcogen tutorial of robot code generator
猜你喜欢

首次触电,原来你是这样的龙蜥社区 | 龙蜥开发者说第8期

2022年7月系统集成项目管理工程师认证招生简章

Self attention mechanism

Oracle subquery

Differences between x86 and x64

Résumé des différentes séries (harmoniques, géométriques)
![Speech synthesis: overview [generation task of unequal length sequence relation modeling]](/img/13/bd9def50f0efde49b622d139f63a83.png)
Speech synthesis: overview [generation task of unequal length sequence relation modeling]

laravel 8 实现 订单表按月份水平分表

How to recite words in tables

Huawei equipment is configured with medium-sized network WLAN basic services
随机推荐
名企实习一年要学会的15件事,这样你就省的走弯路了。
Application of mediastreamer2 and GStreamer in embedded field
编程语言
NP3 格式化输出(一)
【最全】PS各个版本下载安装及小试牛刀教程(PhotoShop CS3 ~~ PhotoShop 2022)
壁纸小程序源码双端微信抖音小程序
(pytorch进阶之路三)encoder self attention mask
2022第六季完美童模 海口赛区 选拔赛圆满落幕
《乔布斯传》英文原著重点词汇笔记(八)【 chapter six 】
The sixth season of 2022 perfect children's model Qingyuan competition area audition came to a successful conclusion
工作好多年,回忆人生--高中三年
单例模式的理解
Operating system product key viewing method
Paddlenlp general information extraction model: UIE [information extraction {entity relationship extraction, Chinese word segmentation, accurate entity markers, emotion analysis, etc.}, text error cor
积分商城运营要如何做才能获取到利润
(III) encoder self attention mask
js for in循环 for of循环的区别以及用法
实战回忆录从webshell开始突破边界
关于父母离婚后子女姓名变更有关问题的批复
La finale de la zone de compétition Hefei de la sixième saison 2022 a été couronnée de succès.