Skip to content

Commit

Permalink
Merge pull request #2 from PatrickSpeicher/patch-1
Browse files Browse the repository at this point in the history
Update solution_3_0.py
  • Loading branch information
Kayzaks authored Nov 26, 2019
2 parents 2f347d2 + c107fc2 commit 8a09375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3_BruteForcing/solution_3_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
originalImage[0][xx][yy][0] = float(image[xx][yy]) / 255

max_intensity = 10
successes = 0

for intensity in range(max_intensity):
successes = 0
for i in range(runs):
# Adding some Noise to the image
noise = np.random.random([1, 28, 28, 1]) * float(intensity) * 0.1
Expand Down

0 comments on commit 8a09375

Please sign in to comment.