2df809d
1
2
3
4
5
6
7
8
9
10
import sys import os import os.path as path def add_path_to_dust3r(ckpt): HERE_PATH = os.path.dirname(os.path.abspath(ckpt)) # workaround for sibling import sys.path.insert(0, HERE_PATH)