Hi!
First let me thank you for your hard work. I was looking for a tool like this for quite a while. When testing it I've faced some problems:
- installation's documentation doesn't specify the torch version, but when installing pointtree I get an error message about highest version of torch being <2.5. Unfortunately it doesn't work with any of rtx 5000 series gpus. Would you consider adding support for newer cards and more up to date versions of cuda?
- I try to overcome the first issue by installing the package directly from the repository, without its dependencies:
python3 -m venv .venv
cd .venv
git clone /repo_url # change to actual url
source .venv/bin/activate
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128
cd pointtree
pip install . --no-deps
cd ..
pip install (libraries from .toml file)
Then I install all the packages from pointtree/pyproject.toml. It does let me import pointtree, but:
from pointtree.instance_segmentation import TreeXAlgorithm
gives me following error:
File "adress/.../treesegm_test.py", line 5, in <module>
from pointtree.instance_segmentation import TreeXAlgorithm
File "adress/.../.venv/lib/python3.12/site-packages/pointtree/instance_segmentation/__init__.py", line 5, in <module>
from ._tree_x_algorithm import *
File "adress/.../.venv/lib/python3.12/site-packages/pointtree/instance_segmentation/_tree_x_algorithm.py", line 10, in <module>
from circle_detection import MEstimator, Ransac
ImportError: cannot import name 'MEstimator' from 'circle_detection' (adress/.../.venv/lib/python3.12/site-packages/circle_detection/__init__.py)
circle_detection==0.2.0 (required in .toml file as circle_detection>=0.1.0,<2.0.0 - the latest visible for me is 0.2.0) package does not have MEstimator nor Ransac methods. Its only method is detect_circles().
It is possible that I have installed an incorrect library. Please let me know if there's something I've missed.
Thank you and best regards!
Hi!
First let me thank you for your hard work. I was looking for a tool like this for quite a while. When testing it I've faced some problems:
Then I install all the packages from
pointtree/pyproject.toml. It does let me import pointtree, but:gives me following error:
circle_detection==0.2.0 (required in .toml file as
circle_detection>=0.1.0,<2.0.0- the latest visible for me is 0.2.0) package does not haveMEstimatornorRansacmethods. Its only method isdetect_circles().It is possible that I have installed an incorrect library. Please let me know if there's something I've missed.
Thank you and best regards!