Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TylerRust-1 opened this issue Dec 5, 2022 · 11 comments
Open

Comments

@TylerRust-1
Copy link

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
Copy link

xiyichen commented Dec 6, 2022

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
Copy link

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

@Harsh188
Copy link

Harsh188 commented Feb 2, 2023

@TylerRust-1 @xiyichen any updates?

@yuunnn-w
Copy link

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

@dunbar12138
Copy link
Owner

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
Copy link

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

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

@yuunnn-w
Copy link

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

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

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

@Shichao123123
Copy link

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

Repository owner deleted a comment from keloee Jul 24, 2023
Repository owner deleted a comment from Shichao123123 Jul 24, 2023
@dunbar12138
Copy link
Owner

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

@Shichao123123
Copy link

Shichao123123 commented Jul 24, 2023 via email

@TianYinchen56
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants