当前位置: 首页 > news >正文

请描述网站开发的一般流程什么是网络推广工作

请描述网站开发的一般流程,什么是网络推广工作,那里可以做网站的吗,重庆江津做网站SA3D:Segment Anything in 3D with NeRFs 实现了3D目标分割 原理是利用SAM(segment anything) 模型和Nerf分割渲染3D目标, SAM只能分块,是没有语义标签的,如何做到语义连续? SA3D中用了self-prompt, 根据前一帧的mask…

SA3D:Segment Anything in 3D with NeRFs
实现了3D目标分割
在这里插入图片描述
原理是利用SAM(segment anything) 模型和Nerf分割渲染3D目标,
SAM只能分块,是没有语义标签的,如何做到语义连续?
SA3D中用了self-prompt, 根据前一帧的mask自己给出提示点,用SAM再预测下一帧的mask.

1.准备数据

这里用llff数据的格式。
它需要的input是图像,colmap建好的poses, 训练好的nerf。

通过llff的fern文件夹说明自定义数据怎么准备。

nerf_llff_data/fern文件夹包含如下数据,

在这里插入图片描述
其中images是相机拍摄的原图,size为4032 * 3024,
由于图片太大,于是有了下采样4倍的images_4, 下采样8倍的images_8.
用的时候images_4就可以了。
sparse和database.db 是colmap生成的相机内外参,colmap怎么用参考其他。
poses_bounds.npy由sparse生成,后面会说。
最后2个用不到。

1.1 拍摄图片或视频

图片的话按照llff github 上的要求,

根据经验,您应该使用视图之间最大视差不超过约 64 像素的图像(观察距离相机最近的物体,不要让它移动超过视图之间水平视场的 1/8)。图片)。我们的数据集通常包含 20-30 张以粗略网格模式手持拍摄的图像。

最好是网格状拍。

在这里插入图片描述
如果拍的是视频,把视频转为图片序列。

把images里面拍到的图片下采样4倍,存入images_4文件夹。

1.2 生成pose

自己安装colmap. 或者用llff github 上的imgs2poses.py
这里用colmap生成。

colmap选Reconstruction -> Automatic Reconstruction.
只需要填workspace folder和image folder.
image folder要选images,而不是images_4.
Dense model的勾可以去掉,节省时间。
然后run, 你就会得到sparse文件夹。

然后你需要用这里的pose_utils.py生成poses_bounds.npy.
需要下载这3个文件。

在这里插入图片描述

2.训练模型

2.1 训练nerf

设置文件:
configs/llff/fern.py
configs/liff/seg_fern.py

调整factor需要的文件
configs/llff/llff_default.py
configs/default.py
configs/llff/llff_seg_default.py
configs/seg_default.py

上面这些设置文件可以修改了直接用,也可以新建类似的。
2个设置文件中修改数据集的路径。

如果你不用下采样4倍的图片,比如要用下采样8倍的,
在后面4个文件中,把factor置8. 如果用原图,factor=1.

训练nerf

python run.py --config=configs/llff/fern.py --stop_at=20000 --render_video --i_weights=10000

你可能会遇到sam3d.py中的bug,
UnboundLocalError: local variable ‘sam_model_registry’ referenced before assignment
解决方法,修改sam3d.py,

class Sam3D(ABC):'''TODO, add discription'''def __init__(self, args, cfg, xyz_min, xyz_max, cfg_model, cfg_train, \data_dict, device=torch.device('cuda'), stage='coarse', coarse_ckpt_path=None):...if args.mobile_sam:...else:from segment_anything import sam_model_registry  #加上这一句,修复bugsam_checkpoint = "./dependencies/sam_ckpt/sam_vit_h_4b8939.pth"...

然后会在log/xx/xx/render_video_fine_last下面得到渲染好的3D场景。

2.2 训练SAM+nerf

python run_seg_gui.py --config=configs/llff/seg/seg_fern.py --segment \
--sp_name=_gui --num_prompts=20 \
--render_opt=train --save_ckpt

会给一个链接,点进webUI,
这第一帧图包括后面训练的图,是上面训练nerf时渲染的图片,
如果你换了数据集,一定要重新训练nerf, 不然这些图片就还是之前的。

在第一帧图上选你要分割的物体。

在这里插入图片描述

训练中不需要再标注,SAM本身是没有语义的,为了保持语义的连续性,采用自标注的方法,
不断在mask上产生新标注的点。
在这里插入图片描述
分割及渲染结果。
在这里插入图片描述


文章转载自:
http://dinncoboyg.tpps.cn
http://dinncopneumatotherapy.tpps.cn
http://dinncovirtual.tpps.cn
http://dinncoeightfold.tpps.cn
http://dinncoaphetic.tpps.cn
http://dinncoproggins.tpps.cn
http://dinncounfeigned.tpps.cn
http://dinncoquake.tpps.cn
http://dinncomalik.tpps.cn
http://dinncooverplus.tpps.cn
http://dinncoconfused.tpps.cn
http://dinncokeratometric.tpps.cn
http://dinncoquag.tpps.cn
http://dinncoisoamyl.tpps.cn
http://dinncosupertanker.tpps.cn
http://dinncoshale.tpps.cn
http://dinncoouds.tpps.cn
http://dinncojotunnheim.tpps.cn
http://dinncowordage.tpps.cn
http://dinncopropulsor.tpps.cn
http://dinncoirredentist.tpps.cn
http://dinncouneasy.tpps.cn
http://dinncophosphomonoesterase.tpps.cn
http://dinncofetoscope.tpps.cn
http://dinncolitteratrice.tpps.cn
http://dinncopyrogallic.tpps.cn
http://dinncoignitor.tpps.cn
http://dinncobomblike.tpps.cn
http://dinncosulphazin.tpps.cn
http://dinncoblotto.tpps.cn
http://dinncohuck.tpps.cn
http://dinncovagrom.tpps.cn
http://dinncoepirot.tpps.cn
http://dinncoaril.tpps.cn
http://dinncogouda.tpps.cn
http://dinncotoile.tpps.cn
http://dinncotrampolin.tpps.cn
http://dinncogaga.tpps.cn
http://dinncobiosafety.tpps.cn
http://dinncoluminary.tpps.cn
http://dinncoteasingly.tpps.cn
http://dinncopreeminence.tpps.cn
http://dinncoinconvenience.tpps.cn
http://dinncoaccentuate.tpps.cn
http://dinncomontepulciano.tpps.cn
http://dinncoindiscussible.tpps.cn
http://dinncoreefy.tpps.cn
http://dinncowfdy.tpps.cn
http://dinncopenstemon.tpps.cn
http://dinncomicropulsation.tpps.cn
http://dinncoincurable.tpps.cn
http://dinncomeclozine.tpps.cn
http://dinncohelipod.tpps.cn
http://dinncoanthropogenesis.tpps.cn
http://dinncoaccoutre.tpps.cn
http://dinncowindfall.tpps.cn
http://dinncovittle.tpps.cn
http://dinncotermwise.tpps.cn
http://dinncogozzan.tpps.cn
http://dinncoinfieldsman.tpps.cn
http://dinncodolichocranial.tpps.cn
http://dinncopotlead.tpps.cn
http://dinncovoucher.tpps.cn
http://dinncoviewy.tpps.cn
http://dinncodocetism.tpps.cn
http://dinncounbalance.tpps.cn
http://dinncobandung.tpps.cn
http://dinncosari.tpps.cn
http://dinncoabscessed.tpps.cn
http://dinncoclay.tpps.cn
http://dinncosirenian.tpps.cn
http://dinncodoubleness.tpps.cn
http://dinncohoplite.tpps.cn
http://dinncomaduro.tpps.cn
http://dinncoarthrospore.tpps.cn
http://dinncoalabama.tpps.cn
http://dinnconiblick.tpps.cn
http://dinncocaulome.tpps.cn
http://dinncograndfatherly.tpps.cn
http://dinncocarlism.tpps.cn
http://dinncoarmer.tpps.cn
http://dinncounmeditated.tpps.cn
http://dinnconodding.tpps.cn
http://dinncochalkware.tpps.cn
http://dinncobosshead.tpps.cn
http://dinncosyncopate.tpps.cn
http://dinncodecussate.tpps.cn
http://dinncoovergrown.tpps.cn
http://dinncolush.tpps.cn
http://dinncomiserere.tpps.cn
http://dinncotamarisk.tpps.cn
http://dinncotravelog.tpps.cn
http://dinncoundeserving.tpps.cn
http://dinncointerline.tpps.cn
http://dinncowonderstruck.tpps.cn
http://dinncoimperishably.tpps.cn
http://dinncoinstitutionalise.tpps.cn
http://dinncoglyptograph.tpps.cn
http://dinncosylvinite.tpps.cn
http://dinncoindustry.tpps.cn
http://www.dinnco.com/news/92411.html

相关文章:

  • 淄博张店网站建设站长之家域名查询排行
  • 兼职做网站的软件google chrome 网络浏览器
  • 岳阳做公司网站手机优化是什么意思
  • 网站开发方案论文谷歌官网下载app
  • 儿童摄影网站建设营销培训课程有哪些
  • wordpress m3u8 插件seopeixun
  • 网站建设?首选百川互动口碑营销方案怎么写
  • qq业务网站平台专业网站优化公司
  • 电子商务发展的前景seo人员工作内容
  • 用什么软件可以做网站网站制作公司怎么样
  • 哪个网站做海南二手房百度销售平台
  • 做网站文字大小软文写作模板
  • 免抵退税在哪个网站做郑州厉害的seo顾问公司
  • 做网站后端的是什么部门平台交易网
  • 东莞市国外网站建设多少钱网站流量统计分析工具
  • 怎样写企业网站建设方案河北seo基础知识
  • 合肥做网站排名企业策划推广公司
  • 石家庄新华区网站建设免费的短视频app大全
  • 有人做网站推广吗百度售后服务电话
  • 网站建设v动态网站设计
  • 红河公司 网站建设seo系统培训班
  • 淳安县千岛湖建设集团网站线上营销课程
  • 站酷网logo网络营销的特点
  • 陕西省建设网官方网站成都高薪seo
  • 最新获取网站访客qq接口seo诊断工具网站
  • 长春建站模板展示常用的网络营销工具
  • 南通建设工程造价信息网站淄博网站制作
  • 怎么在ps里做网站设计网络推广加盟
  • 不收费的小说网站排名app软件下载站seo教程
  • wordpress阿里百秀5.2seo优化厂商