Comments (6)
This is most definitely due to the pre-trained weights not being loaded before inference. Please ensure that the model files are in the correct location (run the script using bash) and check that the console output indicates the loading of the available weights.
from gazeml.
Thanks swook, that worked!
I'm running a windows system so manually extracted the zip files. The folder structure was indeed incorrect. Its working perfectly now.
I have one more issue where I'm stuck.
Now my question is, how to estimate the gaze point on the screen that user is looking at. Below is some more information that I have:
- Camera is located on top of screen (just like in case of webcam and laptop)
- Person is not at any standard distance from the camera
also please note that I don't want to calibrate at fixed points on screen. Because it would again need human intervention
I was thinking of finding the intersection point of the gaze vector with the plane of camera. This seems doable mathematically. However, I'm not able to find how to define the plane of the Camera.
Could you please direct me in the right direction?
Appreciate your help.
Regards,
Vaibhav
from gazeml.
I'm sorry but it's not most ideal to be poked at 2 different github issues and one e-mail, regarding the exact same question, presumably from you and your colleague. I will address this in #9.
from gazeml.
from gazeml.
No worries, it happens 😄
from gazeml.
Hello,
I've been trying to get this code to run for some time now. When I do, i can only see two red dots at corner of eyes, and no gaze vector or iris landmarks as in the video.
I digged deeper and the issue apparently is in the values of heatmaps.
This is how it looks:
HeatMaps_amax: [0.04515158 0.07932845 0.05255887 0.06401039 0.02747708 0.0497707
0.06598783 0.04077904 0.03464168 0.00753675 0.01112193 0.00911523
0.03209448 0.03100399 0.0287441 0.02697178 0.03532294 0.05629761]None of them are even close to 0.1, and the key conditions require them to atleast greater than 0.7.
So the estimation code block never gets executed.I have downloaded the model files from the BASH script and kept both folders under output directory.
Still there is no improvement in the values.Can you please suggest what could be the issue here.
TIA
Vaibhav
Hello, Could you please tell me where the pre-training weight should be placed in the Windows system?
from gazeml.
Related Issues (20)
- Theta and Phi
- Train-data parameter in elg-demo file
- Video_out is not defined when using record_video for testing elg demo
- Running demo elg using CPU gives overlapping frame of original image and segmented eye image instead of segmented eye image in top-left corner
- Could you share code to test on different data sets?
- can_use_eye, can_use_eyelid and can_use_iris in elg_demo.py are False HOT 1
- Stuck with --from_video option HOT 3
- Could you please tell me where the pre-training weight should be placed in the Windows system?
- The project only has elg demo. how to run dpg demo
- RuntimeError: Error deserializing object of type int64 while deserializing a floating point number.
- Some questions about the 'unityeyes.py'
- iris_centre is not mean of iris_landmarks?
- About train/test data in MPIIGaze.h5
- Collaboration offer to help progress
- Gaze Vector Accuracy HOT 1
- elgo_demo.py stucks after video is closed HOT 1
- python and tensorflow version
- [TUTORIAL] How to save ELG model to .onnx and further to TensorRT .engine HOT 1
- Long proc time when running elg_demo.py on CPU HOT 1
- Can not get pre-trained weights
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 gazeml.