Comments (6)
@IvanKwokKC It's because the input data has been normalized. You may want to check out the official release of the code here.
from eye-tracker.
I find the normalization function in the code:
def normalize(data):
shape = data.shape
data = np.reshape(data, (shape[0], -1))
data = data.astype('float32') / 255. # scaling
data = data - np.mean(data, axis=0) # normalizing
return np.reshape(data, shape)
I am not good in statistics. I think this is zero mean normalization.
data = data - np.mean(data, axis=0) # normalizing
Does it possible convert normalized data back to original one?
I have no idea.
from eye-tracker.
@IvanKwokKC I think you can just keep the original data.
from eye-tracker.
I think the output is strange. The input has been normalized using a zero-mean function. However, the output always stay a small or negative number.
from eye-tracker.
train_y and val_y is actually the xy offset from your mobile phones camera. According to this dataset, the offset ranges from 0~20 centimeters. You normalize the input data but your did not normalize the output of the network. The problem is not the normalization.
from eye-tracker.
@Vampire-Vx Thank you for providing additional information. I wondered if the output has already been normalized by the original authors when releasing the dataset. The dataset I was using was a small sampling from the whole dataset. Please refer to #4 for more about this dataset. You may want to contact the original authors to get the raw output.
from eye-tracker.
Related Issues (20)
- Thanks for the wonderful code for eye tracking and detection,and I want to know how to prepare own dataset into the *.npz file, HOT 1
- 请教下数据集合中y的含义? HOT 3
- python code to extract face, left eye, right eye and face grid from multiple images HOT 1
- Prediction of itracker_nets HOT 1
- 关于标签y HOT 2
- 你好,请问facemask在预测的时候传入的是什么格式的?比如其它特征是64x64的矩阵格式。多谢博主 HOT 6
- How i can train the dataset HOT 1
- What is the tensorflow version required for this Eye-Tracker HOT 3
- I have a question regarding input_data HOT 1
- Dropout in Eye-Tracker
- Link for smaller dataset
- enquiry of nature of smaller data set
- 如何使用gazecapture数据集进行训练 HOT 1
- about http://hugochan.net/download/eye_tracker_train_and_val.npz HOT 2
- Training on Custom Dataset HOT 4
- about the better prediction error HOT 4
- Hi,hugochan! Thanks for your excellent work, I am a green hand of DL, There for I am asking for your help, could you share your preproccessing codes with me?Because I want to process the original data to the format just like your smaller dataset is, but I have no idea with it. Thank in advance! HOT 1
- using the trained model HOT 23
- how to use? HOT 1
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 eye-tracker.