SergeiShumilin / differentiable-voronoi

Differentiable Voronoi tessellation on PyTorch for various tasks
3 stars 0 forks source link

triangulate not found (import) #1

Closed Steven-LeMoal closed 3 months ago

Steven-LeMoal commented 3 months ago

First, great work.

I pip install differentiable_voronoi and tried to import differentiable_voronoi.triangulate but I got that it did not find it.

Solution (for me): modify init.py to include triangulate

from ---> from .differentiable_voronoi import differentiable_voronoi

to ---> from .differentiable_voronoi import differentiable_voronoi, triangulate

SergeiShumilin commented 3 months ago

Steven, thank you very much.

Added in the last commit.