You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/python_api.cu
+1
Original file line number
Diff line number
Diff line change
@@ -443,6 +443,7 @@ PYBIND11_MODULE(pyngp, m) {
443
443
.def("n_params", &Testbed::n_params, "Number of trainable parameters")
444
444
.def("n_encoding_params", &Testbed::n_encoding_params, "Number of trainable parameters in the encoding")
445
445
.def("save_snapshot", &Testbed::save_snapshot, py::arg("path"), py::arg("include_optimizer_state")=false, py::arg("compress")=true, "Save a snapshot of the currently trained model. Optionally compressed (only when saving '.ingp' files).")
.def("load_snapshot", py::overload_cast<const fs::path&>(&Testbed::load_snapshot), py::arg("path"), "Load a previously saved snapshot")
447
448
.def("load_camera_path", &Testbed::load_camera_path, py::arg("path"), "Load a camera path")
448
449
.def("load_file", &Testbed::load_file, py::arg("path"), "Load a file and automatically determine how to handle it. Can be a snapshot, dataset, network config, or camera path.")
0 commit comments