zkmkarlsruhe / ofxTensorFlow2

TensorFlow 2 AI/ML library wrapper for openFrameworks
Other
109 stars 16 forks source link

ThreadedModel async loading #1

Closed danomatika closed 3 years ago

danomatika commented 3 years ago

The ofxTF2::ThreadedModel inherits the load() function from ofxTF2::Model which is a simple, blocking load. On slower systems, this can be relatively expensive as it will generally happen on the main thread.

We could look into adding asynchronous model loading on the background thread, possibly by an additional loadAsync() function.

bytosaur commented 3 years ago

added in 1.1.0