When I open the demo there is an error:
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/home/user/app/app.py", line 20, in
import openshape
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/init.py", line 4, in
from .ppat_rgb import Projected, PointPatchTransformer
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/ppat_rgb.py", line 5, in
from .pointnet_util import PointNetSetAbstraction
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/pointnet_util.py", line 6, in
import dgl.geometry
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/init.py", line 16, in
from .backend import load_backend, backend_name
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 109, in
load_backend(get_preferred_backend())
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 43, in load_backend
from .._ffi.base import load_tensor_adapter # imports DGL C library
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 45, in
_LIB, _LIB_NAME, _DIR_NAME = _load_lib()
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 35, in _load_lib
lib = ctypes.CDLL(lib_path[0])
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
Hello I would like to try your demo application but it seems to be broken: https://huggingface.co/spaces/OpenShape/openshape-demo
When I open the demo there is an error: File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/home/user/app/app.py", line 20, in
import openshape
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/init.py", line 4, in
from .ppat_rgb import Projected, PointPatchTransformer
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/ppat_rgb.py", line 5, in
from .pointnet_util import PointNetSetAbstraction
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/pointnet_util.py", line 6, in
import dgl.geometry
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/init.py", line 16, in
from .backend import load_backend, backend_name
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 109, in
load_backend(get_preferred_backend())
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 43, in load_backend
from .._ffi.base import load_tensor_adapter # imports DGL C library
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 45, in
_LIB, _LIB_NAME, _DIR_NAME = _load_lib()
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 35, in _load_lib
lib = ctypes.CDLL(lib_path[0])
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)