Skip to content

Commit 5df2a9e

Browse files
authored
Merge pull request #52 from 3DOM-FBK/dev
DIM version 1.0.0
2 parents 627a710 + 8c8a3a4 commit 5df2a9e

93 files changed

Lines changed: 34401 additions & 1917 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/run_lint_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: lint_and_format
22

33
on:
44
push:
5-
branches: [master, dev]
5+
branches: "*" # Run on all branches
66
pull_request:
77
branches: [master, dev]
88

.github/workflows/run_test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: run-test
22

33
on:
44
push:
5-
branches: [master, dev]
5+
branches: "*" # Run on all branches
66
pull_request:
77
branches: [master, dev]
88

@@ -29,7 +29,6 @@ jobs:
2929
python -m pip install --upgrade pip
3030
pip install -e .
3131
pip install pycolmap
32-
pip install einops
3332
- name: Test with pytest
3433
run: |
3534
pytest

.github/workflows/run_test_win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: run-test
1+
name: run-test-win
22

33
on:
44
push:
5-
branches: [master, dev]
5+
branches: "*" # Run on all branches
66
pull_request:
77
branches: [master, dev]
88

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ fra_*
1010
sb_*
1111
config.yaml
1212
run_casalbagliano.sh
13+
config/cameras_test.yaml
1314

1415
# VScode
1516
.vscode/

CITATION.cff

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, please cite it as below."
3+
authors:
4+
- family-names: "Morelli"
5+
given-names: "Luca"
6+
orcid: "0000-0001-7180-2279"
7+
- family-names: "Ioli"
8+
given-names: "Francesco"
9+
orcid: "0000-0001-7429-891X"
10+
- family-names: "Maiwald"
11+
given-names: "Ferdinand"
12+
orcid: "0000-0002-2456-9731"
13+
- family-names: "Mazzacca"
14+
given-names: "Gabriele"
15+
- family-names: "Menna"
16+
given-names: "Fabio"
17+
orcid: "0000-0002-5365-8813"
18+
- family-names: "Remondino"
19+
given-names: "Fabio"
20+
orcid: "0000-0001-6097-5342"
21+
title: "DEEP-IMAGE-MATCHING: A TOOLBOX FOR MULTIVIEW IMAGE MATCHING OF COMPLEX SCENARIOS"
22+
version: 0.1.0
23+
doi: 10.5194/isprs-archives-XLVIII-2-W4-2024-309-2024
24+
date-released: 2024-02-15
25+
url: "https://isprs-archives.copernicus.org/articles/XLVIII-2-W4-2024/309/2024"
26+
27+
preferred-citation:
28+
type: article
29+
authors:
30+
- family-names: "Morelli"
31+
given-names: "Luca"
32+
orcid: "0000-0001-7180-2279"
33+
- family-names: "Ioli"
34+
given-names: "Francesco"
35+
orcid: "0000-0001-7429-891X"
36+
- family-names: "Maiwald"
37+
given-names: "Ferdinand"
38+
orcid: "0000-0002-2456-9731"
39+
- family-names: "Mazzacca"
40+
given-names: "Gabriele"
41+
- family-names: "Menna"
42+
given-names: "Fabio"
43+
orcid: "0000-0002-5365-8813"
44+
- family-names: "Remondino"
45+
given-names: "Fabio"
46+
orcid: "0000-0001-6097-5342"
47+
doi: "10.1007/s41064-023-00272-w"
48+
journal: "The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences"
49+
start: 309 # First page number
50+
end: 316 # Last page number
51+
title: "DEEP-IMAGE-MATCHING: A TOOLBOX FOR MULTIVIEW IMAGE MATCHING OF COMPLEX SCENARIOS"
52+
volume: XLVIII-2/W4-2024
53+
year: 2024

Dockerfile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
FROM pytorch/pytorch:2.2.0-cuda12.1-cudnn8-runtime
2+
3+
ARG BRANCH=master
4+
5+
# Set environment variables
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
# Install system dependencies
9+
RUN apt-get update && \
10+
apt-get install -y \
11+
git \
12+
python3.10-venv \
13+
libglib2.0-0 \
14+
ffmpeg \
15+
libsm6 \
16+
libxext6
17+
18+
19+
# Clone repo
20+
RUN git clone https://github.com/3DOM-FBK/deep-image-matching.git /workspace/dim
21+
WORKDIR /workspace/dim
22+
23+
# Checkout the specified branch
24+
RUN git checkout ${BRANCH}
25+
26+
# Create virtual environment
27+
RUN python3.10 -m venv /venv
28+
ENV PATH=/venv/bin:$PATH
29+
30+
# Install deep-image-matching
31+
RUN python3 -m pip install --upgrade pip
32+
RUN pip3 install setuptools
33+
RUN pip3 install torch torchvision
34+
RUN pip3 install -e .
35+
RUN pip3 install pycolmap
36+
37+
# Running the tests:
38+
RUN python -m pytest

0 commit comments

Comments
 (0)