Train and deploy TensorFlow models in Go
summary
Exports a full computation (including a training step) as a tf.SavedModel with explicit learn/predict signatures, then loads and runs those graphs from Go via the TensorFlow C API. Uses a custom fork of the Go bindings plus the simplified tfgo helper to avoid the broken official package, demonstrates incremental training on a wearable activity dataset, prints a steadily decreasing loss during Go-driven training, and notes the need to install the TF C library and expect CGO context-switch overhead.
AI-written summary · about
chapters (12)
- 0:00Introduction and welcome
- 2:09Speaker introduction
- 4:15Machine learning workflow overview
- 9:16SavedModel fundamentals
- 19:59Training step export
- 27:27TensorFlow Go bindings overview
- 34:08Simplified Go API with tfgo
- 38:02Sensor data classification demo
- 46:16Model loading and inference in Go
- 50:51Incremental learning simulation
- 53:42Key takeaways and summary
- 54:36Q&A session
