Skip to content

Add silent mode to suppress progess and log output#2

Open
serrhiy wants to merge 1 commit into
ratulb:mainfrom
serrhiy:silent-mode
Open

Add silent mode to suppress progess and log output#2
serrhiy wants to merge 1 commit into
ratulb:mainfrom
serrhiy:silent-mode

Conversation

@serrhiy
Copy link
Copy Markdown

@serrhiy serrhiy commented Jan 1, 2026

In some scenarios, logging output is unnecessary or disruptive. It would be helpful to have an option to disable it.

Changes:

  • Add silent parameter to MNISTLoader.init() and from_arff()
  • Create log() helper function that respects silent flag
  • Pass disable=silent to all tqdm progress bars
  • Replace all print() calls with log() calls

In some scenarios, logging output is unnecessary or disruptive.
It would be helpful to have an option to disable it.

Changes:
  - Add `silent` parameter to MNISTLoader.__init__() and from_arff()
  - Create log() helper function that respects silent flag
  - Pass `disable=silent` to all tqdm progress bars
  - Replace all print() calls with log() calls
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