OpenGait icon indicating copy to clipboard operation
OpenGait copied to clipboard

Final_Output_Size vector? Will it be image with embeddings?

Open ssaikiran123 opened this issue 2 years ago • 4 comments

System information (version)

  • Pytorch => :grey_question:
  • Operating System / Platform => :grey_question:
  • Cuda => :grey_question:

Detailed description

Steps to reproduce

Issue submission checklist

  • [ ] I checked the problem with documentation, FAQ, issues, and have not found solution. 1.Please let me know what is the final output vector size and will it give me the image with embeddings for CASIA B? 2.I went through the paper and know that each frame image is being normalized to 64x44 and 3major process are 1.Local Temporal Aggregation(LTA) 2.Global and Local Feature Extraction(GLFE) 3.Generalize Mean(Gem) Pooling player in Feature Mapping. Final output from the model is Yout from feature mapping which is a vector.
  1. I referred this paper GaitGL(ICCV2021)

ssaikiran123 avatar Jun 18 '22 12:06 ssaikiran123

1.Please let me know what is the final output vector size and will it give me the image with embeddings for CASIA B? 2.I went through the paper and know that each frame image is being normalized to 64x44 and 3major process are 1.Local Temporal Aggregation(LTA) 2.Global and Local Feature Extraction(GLFE) 3.Generalize Mean(Gem) Pooling player in Feature Mapping. Final output from the model is Yout from feature mapping which is a vector.

ssaikiran123 avatar Jun 18 '22 12:06 ssaikiran123

You can check out tensor.size() by yourself.

darkliang avatar Jun 30 '22 05:06 darkliang

As you mentioned, you are interested in the shape of the final vectors, you could check the original implement form https://github.com/bb12346/GaitGL/blob/a169610383d58cfc3fa3f5cc7e293860e705e2c1/model/network/vgg_c3d.py#L196

OpenGait wraps the embedding into a python dictionary format, you can print out the tensor as darkliang said. https://github.com/ShiqiYu/OpenGait/blob/8edfc80326166d38e94300ffd143767882fa4025/opengait/modeling/models/baseline.py#L32-L33

chuanfushen avatar Aug 01 '22 05:08 chuanfushen

OK I will do as suggested and update

ssaikiran123 avatar Aug 01 '22 16:08 ssaikiran123

Stale issue message

github-actions[bot] avatar Oct 01 '22 07:10 github-actions[bot]