dunbar12138 / DSNeRF

Code release for DS-NeRF (Depth-supervised Neural Radiance Fields)
https://www.cs.cmu.edu/~dsnerf/
MIT License
746 stars 126 forks source link

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

Open TylerRust-1 opened 1 year ago

TylerRust-1 commented 1 year ago

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.

xiyichen commented 1 year ago

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.

Dhruval360 commented 1 year ago

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

Harsh188 commented 1 year ago

@TylerRust-1 @xiyichen any updates?

yuunnn-w commented 1 year ago

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

dunbar12138 commented 1 year ago

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.

Shichao123123 commented 1 year ago

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

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

yuunnn-w commented 1 year ago

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

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

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

Shichao123123 commented 1 year ago

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

dunbar12138 commented 1 year ago

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

Shichao123123 commented 1 year ago

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: @.***>

TianYinchen56 commented 1 month ago

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

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