evilsocket/pwnagotchi

find a way to optimize AI loading times

Open

#166 aperta il 5 ott 2019

Vedi su GitHub
 (6 commenti) (0 reazioni) (1 assegnatario)JavaScript (978 fork)batch import
enhancementhacktoberfesthelp wantedidea

Metriche repository

Star
 (6243 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor