serizba / cppflow

Run TensorFlow models in C++ without installation and without Bazel
https://serizba.github.io/cppflow/
MIT License
779 stars 177 forks source link

Cppflow runs slow after a time #161

Closed Gert186d closed 2 years ago

Gert186d commented 2 years ago

Hi, I noticed that Cppflow runs slower after a certain of time. I initialize the model ones and feed it in a loop with pictures. works well.

I feed it with auto input And auto output

works fine for about 3-4 hour’s than it becomes slow. should I free the variable somewhere?

serizba commented 2 years ago

I haven't heard of this kind of issue before. Are you continuously creating new tensors?

Gert186d commented 2 years ago

Sorry, It was a problem in the call of an python script from c++. It fills up the storage. Bad python library.

Mit freundlichen Grüßen Dr. Gert Taucher

Am 03.03.2022 um 17:08 schrieb Sergio Izquierdo @.***>:

 I haven't heard of this kind of issue before. Are you continuously creating new tensors?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.