chore: fix typos (#11467)

* chore: fix typos

Signed-off-by: snoppy <michaleli@foxmail.com>

* Apply suggestions from code review

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

---------

Signed-off-by: snoppy <michaleli@foxmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
Snoppy
2024-06-17 21:27:07 +08:00
committed by GitHub
parent 31d1cd8402
commit 1cfca52db7
4 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,7 @@
"""
- - - - - -- - - - - - - - - - - - - - - - - - - - - - -
Name - - CNN - Convolution Neural Network For Photo Recognizing
Goal - - Recognize Handing Writing Word Photo
Goal - - Recognize Handwriting Word Photo
Detail: Total 5 layers neural network
* Convolution layer
* Pooling layer
@ -135,7 +135,7 @@ class CNN:
)
data_featuremap.append(featuremap)
# expanding the data slice to One dimenssion
# expanding the data slice to one dimension
focus1_list = []
for each_focus in data_focus:
focus1_list.extend(self.Expand_Mat(each_focus))
@ -304,7 +304,7 @@ class CNN:
plt.grid(True, alpha=0.5)
plt.show()
print("------------------Training Complished---------------------")
print("------------------Training Complete---------------------")
print((" - - Training epoch: ", rp, f" - - Mse: {mse:.6f}"))
if draw_e:
draw_error()
@ -353,5 +353,5 @@ class CNN:
if __name__ == "__main__":
"""
I will put the example on other file
I will put the example in another file
"""