DSNeRF icon indicating copy to clipboard operation
DSNeRF copied to clipboard

How to generate all of the other necessary files for run_nerf.py?

Open TylerRust-1 opened this issue 3 years ago • 11 comments

When I run my images through COLMAP, I get a Sparse directory and can run imgs2poses which generates poses_bounds.npy.

How do I go about converting my test and training images to .npy format and how do I generate bds.npy, test_poses.py, train_poses.py, etc...

Thanks for any assistance.

TylerRust-1 avatar Dec 05 '22 16:12 TylerRust-1

You can just rescale and normalize your images and save them to .npy. I also failed to figure out how to generate poses and bds, also looking for suggestions.

xiyichen avatar Dec 06 '22 09:12 xiyichen

Did you guys figure out how to generate the remaining npy files?

Dhruval360 avatar Jan 09 '23 20:01 Dhruval360

@TylerRust-1 @xiyichen any updates?

Harsh188 avatar Feb 02 '23 17:02 Harsh188

6,给哥们卡在数据准备这块了,你麻麻的哥们看了半天各种资料花了好几个小时,就尼玛离谱,整了半天敢情您是连预处理流程的代码都不愿意放完整版的啊?有点低能了,呃呃了😅劳资去看原生nerf了,蚌埠住了,集美们避雷这个DSNeRF😅

yuunnn-w avatar Jun 27 '23 06:06 yuunnn-w

I'm sorry for the confusion and late reply.

After you run img2poses.py, you can directly set dataset_type as llff in the config file, and the code here will post-process the dataset for you. This is actually noted in the readme here. Related issue: #81. Those extra npy files are just dumped versions of the post-processed data in this mode for convenience. Let me know if you have any more questions.

dunbar12138 avatar Jun 27 '23 07:06 dunbar12138

6,给哥们卡在数据准备这块了,你麻麻的哥们看了半天各种资料花了好几个小时,就尼玛离谱,整了半天敢情您是连预处理流程的代码都不愿意放完整版的啊?有点低能了,呃呃了😅劳资去看原生nerf了,蚌埠住了,集美们避雷这个DSNeRF😅

我也给卡住了,根本就没有他说的那些文件

Shichao123123 avatar Jul 01 '23 11:07 Shichao123123

6,给哥们卡在数据准备这块了,你麻麻的哥们看了半天各种资料花了好几个小时,就尼玛离谱,整了半天敢情您是连预处理流程的代码都不愿意放完整版的啊?有点低能了,呃呃了😅劳资去看原生nerf了,蚌埠住了,集美们避雷这个DSNeRF😅

我也给卡住了,根本就没有他说的那些文件

确实,作者回复的意思是在readme里面说了,直接运行run_nerf.py就能预处理,但是我整了半天也只发现里面只有生成llf格式数据的代码,没找到生成npy文件的代码,整不会了,反正我已经跑通原生的nerf了,完成导师任务就行了,拜拜了您嘞🤭

yuunnn-w avatar Jul 11 '23 03:07 yuunnn-w

npy文件数据集里面有,要自己稍微改一下名称,应该是跑的通的

Shichao123123 avatar Jul 11 '23 03:07 Shichao123123

Let’s have a friendly discussion! Happy to answer any other questions.

dunbar12138 avatar Jul 24 '23 03:07 dunbar12138

I am very sorry for this and thank you very much for your work and the code you provided

------------------ 原始邮件 ------------------ 发件人: "dunbar12138/DSNeRF" @.>; 发送时间: 2023年7月24日(星期一) 中午11:38 @.>; @.@.>; 主题: Re: [dunbar12138/DSNeRF] How to generate all of the other necessary files for run_nerf.py? (Issue #79)

Let’s have a friendly discussion! Happy to answer any other questions.

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

Shichao123123 avatar Jul 24 '23 04:07 Shichao123123

6,给哥们卡在数据准备这块了,你麻麻的哥们看了半天各种资料花了好几个小时,就尼玛离谱,整了半天敢情您是连预处理流程的代码都不愿意放完整版的啊?有点低能了,呃呃了😅劳资去看原生nerf了,蚌埠住了,集美们避雷这个DSNeRF😅

你自己好好看看作者的回复,你config文件里面把colmapllff改成llff格式就行了,别你那numb bro

TianYinchen56 avatar Jul 21 '24 08:07 TianYinchen56