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

save camera exposure as part of snapshot #448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hturki
Copy link

@hturki hturki commented Apr 7, 2022

Right now the per-image camera exposures aren't saved as part of the snapshot and are lost if you exit the application and subsquently load from a snapshot

src/testbed.cu Outdated
@@ -2224,6 +2224,12 @@ void Testbed::save_snapshot(const std::string& filepath_string, bool include_opt
m_network_config["snapshot"]["nerf"]["rgb"]["measured_batch_size"] = m_nerf.training.counters_rgb.measured_batch_size;
m_network_config["snapshot"]["nerf"]["rgb"]["measured_batch_size_before_compaction"] = m_nerf.training.counters_rgb.measured_batch_size_before_compaction;
m_network_config["snapshot"]["nerf"]["dataset"] = m_nerf.training.dataset;

nlohmann::json::binary_t cam_exposure_json;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: wrong indentation

@Tom94 Tom94 force-pushed the master branch 3 times, most recently from b04280e to c1bd002 Compare January 8, 2023 08:34
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

Successfully merging this pull request may close these issues.

3 participants