Skip to content

Need help with simple face detection and memory management #106

Discussion options

You must be logged in to vote

i just run your code in 1k loop, i don't see a tensor leak - can you show what your console.log output is?

but you do have one memory issue - you create new options object on each detect call - why? create options object just once at the time of model load.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vladmandic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants