Datasets:
Download codes/reconstruction/experiments/ta_deps/nerfacc/__init__.py from shuinb/SP-TransientBench: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/datasets/shuinb/SP-TransientBench/resolve/main/codes/reconstruction/experiments/ta_deps/nerfacc/__init__.py
- Command line
-
hf download hf://datasets/shuinb/SP-TransientBench/codes/reconstruction/experiments/ta_deps/nerfacc/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/shuinb/SP-TransientBench/resolve/main/codes/reconstruction/experiments/ta_deps/nerfacc/__init__.py
1.51 kB
| """ | |
| Copyright (c) 2022 Ruilong Li, UC Berkeley. | |
| """ | |
| import warnings | |
| from .cdf import ray_resampling | |
| from .contraction import ContractionType, contract, contract_inv | |
| from .grid import Grid, OccupancyGrid, query_grid | |
| from .intersection import ray_aabb_intersect | |
| from .losses import distortion as loss_distortion | |
| from .pack import pack_data, pack_info, unpack_data, unpack_info | |
| from .ray_marching import ray_marching | |
| from .version import __version__ | |
| from .vol_rendering import ( | |
| accumulate_along_rays, | |
| render_transmittance_from_alpha, | |
| render_transmittance_from_density, | |
| render_visibility, | |
| render_weight_from_alpha, | |
| render_weight_from_density, | |
| rendering, | |
| ) | |
| # About to be deprecated | |
| def unpack_to_ray_indices(*args, **kwargs): | |
| warnings.warn( | |
| "`unpack_to_ray_indices` will be deprecated. Please use `unpack_info` instead.", | |
| DeprecationWarning, | |
| stacklevel=2, | |
| ) | |
| return unpack_info(*args, **kwargs) | |
| __all__ = [ | |
| "__version__", | |
| "Grid", | |
| "OccupancyGrid", | |
| "query_grid", | |
| "ContractionType", | |
| "contract", | |
| "contract_inv", | |
| "ray_aabb_intersect", | |
| "ray_marching", | |
| "accumulate_along_rays", | |
| "render_visibility", | |
| "render_weight_from_alpha", | |
| "render_weight_from_density", | |
| "rendering", | |
| "pack_data", | |
| "unpack_data", | |
| "unpack_info", | |
| "pack_info", | |
| "ray_resampling", | |
| "loss_distortion", | |
| "unpack_to_ray_indices", | |
| "render_transmittance_from_density", | |
| "render_transmittance_from_alpha", | |
| ] | |