π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix sphinx build issue
edgarribab0224971babe
diff --git a/docs/source/conf.py b/docs/source/conf.pyindex fe30ebc0d..54bc355e9 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -7,7 +7,8 @@ import sphinx_rtd_theme# add these directories to sys.path here. If the directory is relative to the# documentation root, use os.path.abspath to make it absolute, like shown here.#-sys.path.insert(0, os.path.abspath('../..'))+base_path = os.path.abspath(os.path.join(__file__, "..", "..", "..", "torchgeometry"))+sys.path.append(base_path)# -- General configuration ------------------------------------------------diff --git a/torchgeometry/utils/__init__.py b/torchgeometry/utils/__init__.pyindex 909f82355..d8b971891 100644--- a/torchgeometry/utils/__init__.py+++ b/torchgeometry/utils/__init__.py@@ -2,7 +2,7 @@ from .one_hot import one_hotfrom .grid import create_meshgridfrom .image import tensor_to_image, image_to_tensor-import torchgeometry.utils.metrics as metrics+from torchgeometry.utils.metrics import *__all__ = ["one_hot",