GithubHelp home page GithubHelp logo

nizhf / hoi-prediction-gaze-transformer Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 4.0 492 KB

License: MIT License

Python 91.25% Jupyter Notebook 7.37% Shell 0.38% Makefile 0.01% Cython 0.69% C++ 0.10% Cuda 0.20%

hoi-prediction-gaze-transformer's People

Stargazers

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

Watchers

 avatar  avatar

hoi-prediction-gaze-transformer's Issues

Inference Error

When running python run.py --source path/to/video --out path/to/output_folder --future 0 --hoi-thres 0.3 --print
Some errors occurred:

Traceback (most recent call last):
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\run.py", line 424, in
main(opt)
File "D:\codingSoftware\Anaconda\envs\hoi_gaze_cpu\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\run.py", line 184, in main
object_tracking_module.warmup(frame.to(device), frame0)
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\modules\object_tracking\object_tracking.py", line 81, in warmup
self.object_tracker.track(frame, original_frame)
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\modules\object_tracking\yolov5_deepsort.py", line 166, in track
bbox_detected, label_detected, confidence_detected = self.yolov5_object_detector.detect(frame, original_frame)
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\modules\object_tracking\yolov5_deepsort.py", line 70, in detect
pred = non_max_suppression(pred, self.conf_thres, self.iou_thres, classes=self.classes, time_limit=1.0)
File "D:\pythonWorkPlace\HOI-Tracking\hoi-prediction-gaze-transformer-main\modules\object_tracking\yolov5_deepsort.py", line 227, in non_max_suppression
bs = prediction.shape[0] # batch size
AttributeError: 'list' object has no attribute 'shape'

Question about number of <person, predicate, object> in VidHOI dataset

Thanks a lot for open source your work! I'm having some trouble with the annotation file, as stated in the ST-HOI paper, VidHOI have 557 different combination of <person, predicate, object>, however in your repo vidhoi_related/dataset_info_train.json and vidhoi_related/dataset_info_train.json (and I also counted myself), there are more than 1000 combination HOIs, so how do we explain this conflict? How should I use this information?
To be more specific, what does 'triplet_train_hist', 'triplet_val_hist', 'triplet_val_unique' means? Any help is greatly appreciated!
image

There is no "train_frame_gazes_gt_bbox.dat"

Hi!
When I tried to train a model, the error occurred:
FileNotFoundError: [Errno 2] No such file or directory: 'VidOR/VidHOI_gaze/train_frame_gazes_gt_bbox.dat'
Could you please share the related data?

torchvision==0.11.0 is yanked help!!!

Hello Owner,

When I am using the code:

!conda install mamba -c conda-forge # install mamba in base environment
!mamba create -n hoi_torch110 python=3.9 -c conda-forge
!conda activate hoi_torch110
!mamba install pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 torchtext==0.11.0 cudatoolkit=11.3 matplotlib numpy opencv Pillow PyYAML requests scipy tqdm tensorboard wandb pandas seaborn Cython easydict gdown scikit-learn imageio notebook ipywidgets black -c pytorch -c conda-forge

Its not getting executed as torchvision==0.11.0 is yanked means its not available so there is no use of torch version 1.10.0 so its not getting executed in google colab, please suggest me a different code for this.

Warm Regards,
Tanishq Agarwal

data

Is the training set and validation set somewhere/VidOR/video/? What about the numbering conflict?

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.