Summary
Full Transcript
Here I show how you to save a model that has been trained in ml5.js. You can then load (aka "deploy") that model later ("pre-trained model") in another sketch! Code: https://thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/6-train-your-own-neural-network/3-save-model 🚀 Watch this video ad-free on Nebula https://nebula.tv/videos/the-coding-train-yt-ml5-save-neural-network-trained-model 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/RxDbDKGiG 🎥 Previous: https://youtu.be/q6cwxORPDo8?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y 🎥 Next: https://youtu.be/fFzvwdkzr_c?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y 🎥 All: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y References: 💻 ml5.js Neural Network .save(): https://learn.ml5js.org/#/reference/neural-network?id=save 💻 ml5.js Neural Network .load(): https://learn.ml5js.org/#/reference/neural-network?id=load Timestamps: 0:00 Introduction 1:31 model.save() 2:14 The model files 3:38 model.json file 4:51 model_meta.json file 6:08 model_weights.bin 7:16 model.load() Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: https://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://thecodingtrain.com/discord 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org 🔗 p5.js Web Editor: https://editor.p5js.org/ 🔗 Processing: https://processing.org 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #savingdata #neuralnetwork #machinelearningml #ml5js #p5js
