compound model (wip) (#427)

* compound model now uses compound field, passing num_images in the config, working on passing image indices through ngp sampler

* renaming cuda func, adding torch compound support

* removing unused imports

* getting num images from dataloader instead of config

* fixing pylint and adding todo

* undoing base config change

* adding cone angle and near plane to compound model config
This commit is contained in:
Terrance Wang authored and GitHub committed 2022-09-16 14:38:25 -07:00
1 parent 2495cfe1ee
commit 84024a4e73
10 files changed
+170 -31

No files matched your search

+6
View File
@@ -59,6 +59,12 @@ std::vector<torch::Tensor> volumetric_rendering_backward(
torch::Tensor opacities
) {};
torch::Tensor get_camera_indices(
const int* packed_info,
const int* camera_indices,
torch::Tensor mapping
) {};
std::vector<torch::Tensor> occupancy_query(
// samples
const torch::Tensor positions,