MoGe / utils3d /__init__.py
Ruicheng's picture
first commit
ec0c8fa
raw
history blame
453 Bytes
"""
A package for common utility functions in 3D computer graphics and vision. Providing NumPy utilities in `utils3d.numpy`, PyTorch utilities in `utils3d.torch`, and IO utilities in `utils3d.io`.
"""
import importlib
__all__ = ['numpy', 'torch', 'io']
def __getattr__(module_name: str):
return importlib.import_module(f'.{module_name}', __package__)
if __name__ == '__main__':
from . import torch
from . import numpy
from . import io