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
what is the meaning of the parameters in configs? #16
Comments
The resolution of ScanNet images is 1296x968 and we use factor 2 to downsample them. I think you can use factor 1 since your image is smaller. N_rand, N_samples, use_viewdirs and raw_noise_std are the parameters of NeRF and you do not need to change them. |
However, NeRF is for multi-view setting and not support to the stereo. If you only want to use stereo depth to substitute COLMAP depths, you can modify depth_priors.py accordingly. Specifically, you should change the depth in line 69 (depths, masks = load_colmap(image_list, args.datadir, args.depth_H, args.depth_W)) as your stereo depths. |
alright ,thank very much sir. thank you again for taking up so much your time to reply these amateur questions .I will try as your follows.thank you. |
sorry,I give up because I did not fix the problem.
…------------------ 原始邮件 ------------------
发件人: "weiyithu/NerfingMVS" ***@***.***>;
发送时间: 2021年12月21日(星期二) 上午10:55
***@***.***>;
***@***.******@***.***>;
主题: Re: [weiyithu/NerfingMVS] what is the meaning of the parameters in configs? (Issue #16)
The resolution of ScanNet images is 1296x968 and we use factor 2 to downsample them. I think you can use factor 1 since your image is smaller. N_rand, N_samples, use_viewdirs and raw_noise_std are the parameters of NeRF and you do not need to change them.
thank you .and do I need to prepare the depth image of each picture in image folder? because when I run, it occurs the error called : Post-colmap Traceback (most recent call last): File "run.py", line 18, in gen_poses(args.datadir) File "/home/ycj/NerfingMVS/utils/pose_utils.py", line 279, in gen_poses poses, pts3d, perm = load_colmap_data(basedir) File "/home/ycj/NerfingMVS/utils/pose_utils.py", line 14, in load_colmap_data camdata = read_model.read_cameras_binary(camerasfile) File "/home/ycj/NerfingMVS/utils/colmap_read_model.py", line 115, in read_cameras_binary with open(path_to_model_file, "rb") as fid: FileNotFoundError: [Errno 2] No such file or directory: './data/scene0001_01/sparse/0/cameras.bin'
I check my folder and I find like this: there is no depth folder and nothing in the spare folder.
How did you handle this problem?I met it too.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Is there anything wrong when you run COLMAP? |
It happened when run demo.sh,but okay for run.sh.I solved that by this way. |
sorry to bother.but I wanted to try to train my own data.I download the data from the web:https://vision.middlebury.edu/mview/data/
and I found you mentioned in "Run on Your Own Data!" says factor parameter controls the resolution of output depth maps.for example ,the resolution of the data I download is 640*480,so what number should the "factor" be in my configs?by the way ,could you tell me what does the other parameters as follows exactly mean?
N_rand = 1024
N_samples = 64
use_viewdirs = True
raw_noise_std = 1e0
thank you very much~
The text was updated successfully, but these errors were encountered: