Download pointcept/models/__init__.py from dfki-av/BIMStruct3D-segmentation: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/dfki-av/BIMStruct3D-segmentation/resolve/7ab05dd198d38ea08e60bb1e4f3f04aa369975c2/pointcept/models/__init__.py
- Command line
-
hf download hf://dfki-av/BIMStruct3D-segmentation@7ab05dd198d38ea08e60bb1e4f3f04aa369975c2/pointcept/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/dfki-av/BIMStruct3D-segmentation/resolve/7ab05dd198d38ea08e60bb1e4f3f04aa369975c2/pointcept/models/__init__.py
580 Bytes
| # Trimmed for inference-only use: this delivery only ever builds a PT-v3m1 | |
| # backbone wrapped in DefaultSegmentorV2, so the other backbones/heads | |
| # (which pull in extra heavy/compiled deps like torchsparse, pointgroup_ops, | |
| # pointops, transformers) aren't imported. Add back whichever of these you | |
| # need if you point `model.backbone.type`/`model.type` at something else. | |
| from .builder import build_model | |
| from .default import DefaultSegmentor, DefaultSegmentorV2, DefaultClassifier | |
| # Backbone actually used by the bundled checkpoint (PT-v3m1) | |
| from .point_transformer_v3 import * | |