Giter Club home page Giter Club logo

vitpose-pytorch's People

Contributors

gpastal avatar gpastal24 avatar

Stargazers

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

Watchers

 avatar

vitpose-pytorch's Issues

Format of detections for VitPose?

Are the bounding boxes when extracting the image patches to be inputs into vit in the form x1,y1,x2,y2 or aare they converted to tlwh format?

Also what is the purpose of the correction factor in the pose_utils.py file?

2D Keypoints

Hello thank you for this amazing work. Please I would like to know if there if a way to generate 2D keypoints intead of 3D ones.

'Parameter' object has no attribute '_trt'

Hi,I am trying to use your code to convert the vitpose model. Andf I meet some errors below

File "convert_to_trt.py", line 8, in
net_trt = torch2trt(pose, [x],max_batch_size=10, fp16_mode=True)
File "/usr/local/python/lib/python3.8/site-packages/torch2trt-0.4.0-py3.8.egg/torch2trt/torch2trt.py", line 736, in torch2trt
outputs = module(*inputs)
File "/usr/local/python/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1120, in _call_impl
result = forward_call(*input, **kwargs)
File "/data/ViTPose-Pytorch/builder/model_builder.py", line 49, in forward
x = self.backbone(x)
File "/usr/local/python/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1120, in _call_impl
result = forward_call(*input, **kwargs)
File "/data/ViTPose-Pytorch/backbones/vit.py", line 302, in forward
x = self.forward_features(x)
File "/data/ViTPose-Pytorch/backbones/vit.py", line 287, in forward_features
x = x + self.pos_embed[:, 1:] + self.pos_embed[:, :1]
File "/usr/local/python/lib/python3.8/site-packages/torch2trt-0.4.0-py3.8.egg/torch2trt/torch2trt.py", line 307, in wrapper
converter"converter"
File "/usr/local/python/lib/python3.8/site-packages/torch2trt-0.4.0-py3.8.egg/torch2trt/converters/getitem.py", line 30, in convert_tensor_getitem
input_trt = input._trt
AttributeError: 'Parameter' object has no attribute '_trt'

Have you meet this error before? Any suggestion? Looking forward to your reply  ̄ω ̄=

ERROR: No matching distribution found for nvidia-tensorrt==8.4.1.5

Thank you for nice work.
I found the issue when I try to install required library.

Environment

OS: MacOS (Intel CPU)
python: 3.8.10 (on virtualenv)
(also happened with python3.11.0)

Script

cd ViTPose-Pytorch
pip install -r requirements.txt

Error message

enevis/dev/ai/ViTPose/ViTPose-Pytorch  
Collecting ffmpeg-python
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting munkres
  Using cached munkres-1.1.4-py2.py3-none-any.whl (7.0 kB)
Collecting numpy<=1.23.0
  Downloading numpy-1.23.0-cp38-cp38-macosx_10_9_x86_64.whl (18.1 MB)
     |████████████████████████████████| 18.1 MB 730 kB/s 
ERROR: Could not find a version that satisfies the requirement nvidia-tensorrt==8.4.1.5 (from versions: 0.0.1.dev4, 0.0.1.dev5)
ERROR: No matching distribution found for nvidia-tensorrt==8.4.1.5
WARNING: You are using pip version 21.1.1; however, version 23.2.1 is available.
You should consider upgrading via the '/Users/xxx/ViTPose/vitpose-env/bin/python -m pip install --upgrade pip' command.

Thank you

Train Scripts?

Do you have any plans to release a train script for this?

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.