-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
84 lines (56 loc) · 3.62 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
all: meshlab
clean:
@rm -Rf __pycache__
@rm -Rf results/*
meancurv_all: meancurv_armadillo meancurv_bob meancurv_falcon meancurv_max meancurv_neptune meancurv_spot meancurv_witch
meancurv_armadillo: results/meancurvature_armadillo_ni/reconstructions/time_0.0.ply
@echo "Mean Curvature Equation: Armadillo trained and reconstructed"
results/meancurvature_armadillo_ni/models/best.pth: experiments/meancurvature_armadillo_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_armadillo_ni/reconstructions/time_0.0.ply: results/meancurvature_armadillo_ni/models/best.pth
@python tools/reconstruct.py $< $@ -r 256 -t -0.9 -0.5 0.0 0.5 0.9
meancurv_bob: results/meancurvature_bob_ni/reconstructions/
@echo "Mean Curvature Equation: Bob trained and reconstructed"
results/meancurvature_bob_ni/models/best.pth: experiments/meancurvature_bob_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_bob_ni/reconstructions/: results/meancurvature_bob_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.4 0.0 0.5 0.9
meancurv_falcon: results/meancurvature_falcon_ni/reconstructions/
@echo "Mean Curvature Equation: Falcon trained and reconstructed"
results/meancurvature_falcon_ni/models/best.pth: experiments/meancurvature_falcon_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_falcon_ni/reconstructions/: results/meancurvature_falcon_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.05 0.0 0.5 0.9
meancurv_max: results/meancurvature_max_ni/reconstructions/
@echo "Mean Curvature Equation: Max trained and reconstructed"
results/meancurvature_max_ni/models/best.pth: experiments/meancurvature_max_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_max_ni/reconstructions/: results/meancurvature_max_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.4 0.0 0.5 0.9
meancurv_neptune: results/meancurvature_neptune_ni/reconstructions/
@echo "Mean Curvature Equation: Neptune trained and reconstructed"
results/meancurvature_neptune_ni/models/best.pth: experiments/meancurvature_neptune_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_neptune_ni/reconstructions/: results/meancurvature_neptune_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t 0.0 0.5 0.9
meancurv_spot: results/meancurvature_spot_ni/reconstructions/
@echo "Mean Curvature Equation: Spot trained and reconstructed"
results/meancurvature_spot_ni/models/best.pth: experiments/meancurvature_spot_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_spot_ni/reconstructions/: results/meancurvature_spot_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.4 0.0 0.5 0.9
meancurv_witch: results/meancurvature_witch_ni/reconstructions/
@echo "Mean Curvature Equation: Witch trained and reconstructed"
results/meancurvature_witch_ni/models/best.pth: experiments/meancurvature_witch_ni.yaml
@python meancurvature-train.py $<
results/meancurvature_witch_ni/reconstructions/: results/meancurvature_witch_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.9 0.5 0.0 0.5 0.9
morph_spot-bob: results/morph_spot-bob_ni/reconstructions/
@echo "Morph: Morphing of spot=>bob trained and reconstructed"
results/morph_spot-bob_ni/models/best.pth: experiments/morph_spot-bob_ni.yaml
@python morph-train.py $<
results/morph_spot-bob_ni/reconstructions/: results/morph_spot-bob_ni/models/best.pth
python tools/reconstruct.py $< $@ -r 256 -t -0.9 0.5 0.0 0.5 0.9
conda-env:
@conda env create -f environment.yml
.PHONY: all clean conda-env meancurv_all meancurv_armadillo meancurv_bob meancurv_falcon meancurv_max meancurv_neptune meancurv_spot meancurv_witch