-
Notifications
You must be signed in to change notification settings - Fork 0
/
evaluate.py
16 lines (11 loc) · 906 Bytes
/
evaluate.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import subprocess
cmd = []
cmd.append("python ./data/metrics.py -p1 ./data/bunny-pcd/bunny-pcd-1.ply -p2 ./result/bunny-registration/pcd-2-registrated.ply")
cmd.append("python ./data/metrics.py -p1 ./data/bunny-pcd/bunny-pcd-1.ply -p2 ./result/bunny-registration/pcd-3-registrated.ply")
cmd.append("python ./data/metrics.py -p1 ./data/room-pcd/room-pcd-1.ply -p2 ./result/room-registration/pcd-2-registrated.ply")
cmd.append("python ./data/metrics.py -p1 ./data/room-pcd/room-pcd-1.ply -p2 ./result/room-registration/pcd-3-registrated.ply")
cmd.append("python ./data/metrics.py -p1 ./data/temple-pcd/temple-pcd-1.ply -p2 ./result/temple-registration/pcd-2-registrated.ply")
cmd.append("python ./data/metrics.py -p1 ./data/temple-pcd/temple-pcd-1.ply -p2 ./result/temple-registration/pcd-3-registrated.ply")
if __name__ == "__main__":
for i in range(len(cmd)):
subprocess.run(cmd[i])