Skip to content

Here is my solution to the optional neural networks task.

Notifications You must be signed in to change notification settings

07Rinat07/digits-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Digit count array:

[1309, 1576, 948, 1273, 1186, 1301, 1222, 745, 1006, 1434]

Sum: 12000, files: 12000

Чтобы установить зависимости на другом компьютере:

pip install -r requirements.txt

1. Key Features

  • Convolutional Neural Network trained on MNIST
  • All randomness eliminated: full determinism
  • Saved model (mnist_model.h5) ensures identical output on every run
  • CPU-only execution
  • No non-deterministic TensorFlow kernels
  • Output is 100% reproducible across machines and operating systems

2. Deterministic Execution Guarantee

This solution guarantees identical results on every run due to:

  1. PYTHONHASHSEED, numpy, random seeds fixed to 42
  2. TF_DETERMINISTIC_OPS=1
  3. TF_ENABLE_ONEDNN_OPTS=0
  4. XLA disabled
  5. Model batch order is not shuffled (shuffle=False)
  6. Model is trained once and saved
  7. All subsequent runs reuse the saved model

About

Here is my solution to the optional neural networks task.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages