You are browsing as a guest. Sign up (or log in) to start making projects!

45m 36s logged

Today I got the Train button actually working. Clicking it runs the network through 3000 epochs(1 epoch is one full pass through of all the data) of training, then redraws the canvas with the updated weights and shows the current loss number, you can now visually see the colors and thickness of the lines changing. I also added a loss counter on the right of the screen to show the amount of loss, and how each time you click train the loss goes down until it reaches near zero(0.0001, it will never reach 0, it will just infinitely go toward zero, but we won’t be able to see the change).The hardest part was that nothing visually changed on screen, and I assumed it was a color/contrast problem with how I was rendering the weights. I spent time tuning the color logic before realizing the bug: I had written using the wrong method leading to it not updating the visuals. Once I fixed that line, the canvas started updating correctly and the color changes I’d built earlier were finally visible. Next I am going to add a reset button and possibly live animation during training instead of only seeing the result after it finishes.

0
10

Comments 0

No comments yet. Be the first!