Spaces:
Runtime error
Runtime error
Download src/model/decoder/__init__.py from YAZAVIS092/AnySplat: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/YAZAVIS092/AnySplat/resolve/main/src/model/decoder/__init__.py
- Command line
-
hf download hf://spaces/YAZAVIS092/AnySplat/src/model/decoder/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/YAZAVIS092/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) | |