Retraining models

24 views
Skip to first unread message

Aubrey Sherman

unread,
Aug 22, 2025, 5:06:12 PMAug 22
to Machine Learning for Kids
Hi Dale,

If I'm retraining a model for the Rock, Paper, Scissors game, and I have my Scratch project open in another browser tab, will that project stay synced to the latest model? The code currently sets the rock, paper, and scissors variables to the training bucket blocks for each class when the green flag is clicked. Will those training blocks be updated when I press the green flag again?

Thanks!

Dale Lane

unread,
Aug 22, 2025, 5:27:37 PMAug 22
to Machine Learning for Kids
Yes, they will. 

It should be fine, but if the model is large and could take a second to load, you may want to be extra safe and add something like this to your code so the project waits until the model has finished loading before it continues. 

screenshot.png

(If the model has already updated before you click the Green Flag, then this will just continue immediately anyway)

Kind regards

D

Aubrey Sherman

unread,
Sep 5, 2025, 1:05:47 PMSep 5
to Machine Learning for Kids
Thanks! And if I use the 'add training data' block inside my Scratch program, do I still need to go back to my model page and train there so this new data is applied?

Dale Lane

unread,
Sep 5, 2025, 4:52:54 PMSep 5
to Machine Learning for Kids
You do need to train a new model to make use of the new training data. 

You can either do that from inside Scratch (using the train new model block) or go back to the model page and do it from there. It makes no difference - the same thing happens either way, so whichever is most convenient is fine. 

Kind regards

D

Reply all
Reply to author
Forward
0 new messages