Comments (5)
to show if there is memory leak or not, you need to enable debug in configuration and collect browser logs, without that its just a speculation which is not actionable.
and yes, webworkers require offscreencanvas - there is no way around it.
from human.
Thank you for your response.
I have enabled debug mode and added some console.log statements for debugging.
Regarding the console results, there haven't been any error messages.
In the screenshot I provided (obtained through Mac's Web Inspector), the last console.log message before a forced page refresh is always "human.detect."
This has led me to suspect that it might be an out-of-memory (OOM) issue.
Sometimes, when performance is worse, it will display a message saying "A Problem Repeatedly Occurred onβ¦" before a forced refresh.
I'm not entirely sure if the screenshots I have are what you were referring to. However, I have genuinely conducted numerous tests.
At times, the issue arises with just 5 images, while on other occasions, it can handle up to 18 images without any problems.
My biggest challenge is the lack of additional console information, which led me to this speculation.
However, as I mentioned earlier, when I disable the use of worker mode, the issue doesn't occur on an iPhone SE 2 (iOS 17.2.1).
I have also conducted similar tests on other phones without using worker mode:
iPhone 15 Plus, iOS 17.1 => OK
iPhone SE 3, iOS 16.6 => NG (This might be expected as it doesn't support OffscreenCanvas)
iPhone 11, iOS 17.2.1 => NG
I haven't yet tested it in worker mode, but I will do so.
In any case, thank you for your response.
from human.
Additional supplement
iPhone SE 2 (17.2.1) still automatically refreshes in non-worker mode. Previously, I only uploaded around 20 images, and there were no issues. However, today, when I uploaded more than 20, around 23 or 24, the problem started to occur.β
Thanks.
from human.
some devices/platforms are just not good enough for web-worker mode.
but if it works for 10 image and and break on 20 - there is no reason for that unless you're either submitting them in parallel or not doing cleanups in your code. i'm sorry i cant say more, but i really cannot spend time analyzing your code.
from human.
I think I will double-check my syntax on this end to see if there are any missing cleanups.
Thank you once again for your assistance.
from human.
Related Issues (20)
- Error when run npm run build HOT 2
- Using in a chrome extension HOT 1
- adding custom emotion model & post detection logic HOT 1
- gaze detection logic & comparison HOT 1
- human.match.find function allways return similarity 0 HOT 2
- Error: input error: type not recognized at U2 HOT 1
- human.tf.memory().numTensors after human.load() doesn't give zero HOT 5
- Similarity is above 50% with 2 different persons HOT 5
- npm run build fails HOT 2
- Cant run nodejs demo from commandline - browser is always true HOT 6
- No face detection in Windows 10 Chrome when the app is built with typescript HOT 12
- Nuxt 3 + Vite HOT 1
- Can't install dev-dependencies HOT 1
- Wrong detection issue HOT 5
- Can not import ESM bundle for browser with NextJS 14 HOT 4
- Face IDs shift when a face disappears HOT 1
- About the gaze tracking HOT 1
- Webpack unable to handle @mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html HOT 3
- Human inferencing stops after ~5 mins on Chrome on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from human.