Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#

import os
import sys
import logging
from argparse import ArgumentParser
import shutil
Expand All @@ -27,6 +28,7 @@
colmap_command = '"{}"'.format(args.colmap_executable) if len(args.colmap_executable) > 0 else "colmap"
magick_command = '"{}"'.format(args.magick_executable) if len(args.magick_executable) > 0 else "magick"
use_gpu = 1 if not args.no_gpu else 0
exit = lambda code: sys.exit(code if code <= 255 else 1)

if not args.skip_matching:
os.makedirs(args.source_path + "/distorted/sparse", exist_ok=True)
Expand Down