Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
balancap committed Jan 9, 2024
1 parent 16bb84d commit 57943c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/mnist/mnist_classifier_from_scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def print_mean_std(name, v):
# Always use np.float32, to avoid floating errors in descaling + stats.
v = jsa.asarray(data, dtype=np.float32)
m, s = np.mean(v), np.std(v)
print(f"{name}: MEAN({m:.4f}) / STD({s:.4f}) / SCALE({scale.dtype})")
print(f"{name}: MEAN({m:.4f}) / STD({s:.4f}) / SCALE({scale:.4f})")


def init_random_params(scale, layer_sizes, rng=npr.RandomState(0)):
Expand Down

0 comments on commit 57943c0

Please sign in to comment.