Download src/model/decoder/__init__.py from bill1230/AnySplat: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/bill1230/AnySplat/resolve/main/src/model/decoder/__init__.py
- Command line
-
hf download hf://spaces/bill1230/AnySplat/src/model/decoder/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/bill1230/AnySplat/resolve/main/src/model/decoder/__init__.py
315 Bytes
| from .decoder import Decoder | |
| from .decoder_splatting_cuda import DecoderSplattingCUDA, DecoderSplattingCUDACfg | |
| DECODERS = { | |
| "splatting_cuda": DecoderSplattingCUDA, | |
| } | |
| DecoderCfg = DecoderSplattingCUDACfg | |
| def get_decoder(decoder_cfg: DecoderCfg) -> Decoder: | |
| return DECODERS[decoder_cfg.name](decoder_cfg) | |