Shortcuts

Source code for combustion.points

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from .crop import CenterCrop, center_crop
from .transforms import RandomRotate, Rotate, random_rotate, rotate


# torch-scatter doesn't install correctly unless combustion[points] is installed after combustion
try:
    from .projection import projection_mapping, projection_mask
except ModuleNotFoundError:

[docs] def projection_mask(*args, **kwargs): raise ImportError("Operation requires torch_scatter, please install it with `pip install combustion[points]`")
[docs] def projection_mapping(*args, **kwargs): raise ImportError("Operation requires torch_scatter, please install it with `pip install combustion[points]`")
__all__ = [ "Rotate", "rotate", "random_rotate", "RandomRotate", "center_crop", "CenterCrop", "projection_mask", "projection_mapping", ]

© Copyright 2020, Scott Chase Waggener. Revision 6d81d6b9.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 0.1.0rc2
Versions
latest
docs
0.1.0rc2
v0.1.0rc1
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources