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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you share the DVGOv1 source code? #45

Open
martyLY opened this issue Nov 26, 2022 · 3 comments
Open

Can you share the DVGOv1 source code? #45

martyLY opened this issue Nov 26, 2022 · 3 comments

Comments

@martyLY
Copy link

martyLY commented Nov 26, 2022

Thanks for sharing this amazing work !馃憤馃憤

My team is following your work and I need to do a comparative experiment between DVGOv1 and DVGOv2, so can you release or share DVGOv1 source code (w/o cuda and distortion loss)?

Thank for your time and looking forward to your future work!

@sunset1995
Copy link
Owner

Thanks for using our code!
You can git checkout 851af85349 to the initial release.

@lijianyu-sh
Copy link

lijianyu-sh commented Jan 18, 2023

Many thanks for sharing your DVGO code.
I have switched to 851af85349. But I ran into another issue when "python run.py --config configs/nerf/lego.py --render_test" as below. Could you shed some light on this?

File "run.py", line 425, in train
scene_rep_reconstruction(
File "run.py", line 254, in scene_rep_reconstruction
model, optimizer, start = utils.load_checkpoint(
File "/home/jerry/nf_v2/DirectVoxGO/lib/utils.py", line 203, in load_checkpoint
model.load_state_dict(ckpt['model_state_dict'])
File "/home/jerry/anaconda3/envs/nf_v2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1497, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DirectVoxGO:
Missing key(s) in state_dict: "density", "k0".
Unexpected key(s) in state_dict: "act_shift", "mask_cache.mask", "mask_cache.xyz2ijk_scale", "mask_cache.xyz2ijk_shift".

@lijianyu-sh
Copy link

Please forget about my previous question.
After deleting logs/ folder when switching to the older version, the "Unexpected key" issue was fixed.

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

3 participants