Skip to content

Conversation

zhima771
Copy link

Problem:

  • The inference script crashes when saving results if the specified results_dir does not exist.

Solution:

  • Automatically create results_dir if it doesn't exist using os.makedirs.
  • Ensures results are saved successfully without manual directory creation.

Test:

  • Verified local inference runs and results are correctly saved to a new directory.

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

Successfully merging this pull request may close these issues.

1 participant