diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index fd47680e..e9a75d3e 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -575,9 +575,6 @@ RUN pip install pytorch-ignite \ pip install git+https://github.com/facebookresearch/segment-anything.git && \ /tmp/clean-layer.sh -# Install pycolmap for py3.10 (only the conda version works). -RUN mamba install -y pycolmap - # Download base easyocr models. # https://github.com/JaidedAI/EasyOCR#usage RUN mkdir -p /root/.EasyOCR/model && \ diff --git a/tests/test_pycolmap.py b/tests/test_pycolmap.py deleted file mode 100644 index f824cd51..00000000 --- a/tests/test_pycolmap.py +++ /dev/null @@ -1,13 +0,0 @@ -import unittest - -import numpy as np -import cv2 -import pycolmap - -class TestPycolmap(unittest.TestCase): - def test_sift(self): - img = cv2.cvtColor(cv2.imread('/input/tests/data/face.jpg'), cv2.COLOR_BGR2GRAY) - img = img.astype(np.float32)/255. - sift = pycolmap.Sift() - keypoints, scores, descriptors = sift.extract(img) - self.assertEqual(keypoints.shape, (64, 4)) \ No newline at end of file