evilsocket/pwnagotchi

find a way to optimize AI loading times

Open

#166 ouverte le 5 oct. 2019

Voir sur GitHub
 (6 commentaires) (0 réactions) (1 assigné)JavaScript (978 forks)batch import
enhancementhacktoberfesthelp wantedidea

Métriques du dépôt

Stars
 (6 243 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

TensorFlow takes minutes to import on a Raspberry Pi Zero W and that's probably because of the huge .so file with native primitives it has to load, among other things. Given the nature of the project, that stuff is imported only once, so caching it in memory wouldn't speed things up. Switching frameworks is not feasible, unless we have the same exact features (unlikely given that stable-baselines is TF based). For instance, there's no stable-baselines port for TF-lite.

Guide contributeur