Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seggpt.check_dependencies permanently changes working directory #1

Closed
ethanmusser opened this issue Aug 24, 2023 · 1 comment
Closed

Comments

@ethanmusser
Copy link

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.

os.chdir(autodistill_dir)

@andrew-healey
Copy link
Contributor

You're right, thanks for reporting this! This issue is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants