Coder Social home page Coder Social logo

rgbd-gaze's People

Contributors

dongzelian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rgbd-gaze's Issues

Gaze Point Coordinate System

Hello,
thank you for sharing the STG+ dataset. Currently I'm working on a similar gaze estimation task and therefore would like to use your dataset for training.

My question relates to the gaze_point entries in the (train|val)_meta.csv. They link to serialized numpy arrays and I'm able to load them as expected. But I have no clue what these values mean.

  • The values are two dimensional (xy or yaw,pitch or ...)
  • The values range from 3.11 to 56.66 on the first dimension and from 0.16 to 33.46 in the second dimension

Please help me clarify what these values are:

  • Are they coordinates on the screen in pixels (seems unlikely because of the value range)?
  • Are they coordinates on the screen in centimeters?
  • Are they angles in degrees (seems also unlikely because no negative values exist)?
  • In which coordinate system are they (camera, screen)?
  • Is there any possibility to calculate gaze angles from these values? (maybe using extrinsic camera parameters provided by this repository?)

Thanks in advance! :)

the file ”train_meta.csv“ in the data set and found that there is no such item ”left_eye_coord“、”right_eye_coord“.

Hi,
1.when I run trainer_aaai.py,I meet this problem
Traceback (most recent call last):
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 602, in
trainer.train_headpose(10, lr=2e-1)
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 143, in train_headpose
self._train_headpose_epoch()
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 422, in _train_headpose_epoch
for i, batch in enumerate(self.temps.train_loader):
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 517, in next
data = self._next_data()
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/data/gaze_dataset.py", line 58, in getitem
le_coor = np.load(self.le_coord_list[idx])
AttributeError: 'GazePointAllDataset' object has no attribute 'le_coord_list'.

2.If I uncomment line 38th and 39th in gaze_dataset.py,this problem occurs
38 #self.le_coord_list = (root_dir + "/" + self.anno["left_eye_coord"]).tolist()
39 #self.re_coord_list = (root_dir + "/" + self.anno["right_eye_coord"]).tolist()
$ /home/workspace/feifeizhang/anconda/bin/python /home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py
<GazeTrainer.train_headpose:INFO> preparing for headpose training loop.
Traceback (most recent call last):
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'left_eye_coord'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 602, in
trainer.train_headpose(10, lr=2e-1)
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 128, in train_headpose
self.temps.train_loader = self._get_trainloader()
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/trainer_aaai.py", line 201, in _get_trainloader
info=True, eye_bbox=True, face_bbox=True, eye_coord=True)
File "/home/workspace/feifeizhang/GAZE/RGBD-Gaze-master/code/data/gaze_dataset.py", line 38, in init
self.le_coord_list = (root_dir + "/" + self.anno["left_eye_coord"]).tolist()
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in getitem
indexer = self.columns.get_loc(key)
File "/home/workspace/feifeizhang/anconda/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'left_eye_coord'
3.
I checked the file ”train_meta.csv“ in the data set and found that there is no such item ”left_eye_coord“、”right_eye_coord“.

license need

Hi SVIP-Lab,

could you add license to your dataset on the OneDrive?
due to the Ethics issue, i cannot use your datasets without license and ethics approval from uni.

best

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.