Skip to content

Conversation

@DivInstance
Copy link

@DivInstance DivInstance commented Oct 6, 2025

Summary

  • Make training dataset path configurable via `FLOW_STATS_FILE`.
  • If dataset file is missing, log a clear error and safely skip training (prevents `FileNotFoundError`).
  • Added README troubleshooting section documenting how to provide the dataset or set the env var.

Motivation

Users frequently hit `FileNotFoundError` when `FlowStatsfile.csv` is not present in the working directory. This change improves robustness and developer experience.

Notes

…gurable; add troubleshooting docs

Use FLOW_STATS_FILE env var to point to the dataset; if absent, log and skip training to prevent crashes. Docs: added troubleshooting section for FlowStatsfile.csv.
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.

FileNotFoundError: [Errno 2] No such file or directory: 'FlowStatsfile.csv'

1 participant