This line in seggpt.check_dependencies changes the working directory of the Python process, but never reverts to the original working directory once the dependency check is complete. This lack of revert causes paths to be incorrectly resolved in programs that import seggpt.
This line in
seggpt.check_dependencies
changes the working directory of the Python process, but never reverts to the original working directory once the dependency check is complete. This lack of revert causes paths to be incorrectly resolved in programs that importseggpt
.https://github.com/autodistill/autodistill-seggpt/blob/ad60a7a221ec68ddfed43df2fbf06408767c4fd8/autodistill_seggpt/seggpt.py#L16