Skip to content

Instantly share code, notes, and snippets.

@DocGarbanzo
DocGarbanzo / Readme.md
Last active February 6, 2023 00:50
Mock up of an alternative parts and car setup for donkeycar.

Mock up of alternative donkeycar parts and car infrastructure.

Here we share a global data bus which allows to remove the explicit input and output arguments for current parts when added to the Vehicle. Each part runs in its own thread with its own frequency. Parts can write to and read from the data bus asynchronously and there is no global vehicle loop any longer. There is some resemblance to ROS whereby parts subscribe to topics. There is currently no control about type safety or allowed types in the data bus but that could be added easily.

@nahakiole
nahakiole / flatastic.js
Created March 27, 2021 09:44
Simple Flatastic API Library for NodeJS
const request = require('request');
exports.Flatastic = function Flatastic(apikey) {
this.apikey = apikey;
Flatastic.prototype.request = function (url, option, cb){
const options = {
@DocGarbanzo
DocGarbanzo / README.md
Last active February 6, 2023 00:50
A demo notebook for tensorflow datasets from generator

Creating training pipelines in tensorflow using generators

Here we show how using generators allows to use large data sets that don't fit into computer memory for training. We focus on models with multiple input and output arrays, where the generator has to provide the data in form of dictionaries to the tf.dataset. This data pipeline is used in the Donkey Car training. The notebook is simply extracting the pipeline mechanics to give a simplified view on the functionality.