GithubHelp home page GithubHelp logo

Comments (11)

ZZYuting avatar ZZYuting commented on May 18, 2024 1

from ptflops import get_model_complexity_info
flops, params = get_model_complexity_info(model, (3, 10, 25, 2), as_strings=True, print_per_layer_stat=True)
print("%s |%s |%s" % ('MSG3D', flops, params))

from ms-g3d.

ZZYuting avatar ZZYuting commented on May 18, 2024

I think the directions are how to light the model. It seems cost much time.

from ms-g3d.

desertfex avatar desertfex commented on May 18, 2024

@ZZYuting The number of layers has dropped to 3 comparing with the ST-GCN with 10 layers. I have no idea how to light the model without loss of accuracy.

from ms-g3d.

ZZYuting avatar ZZYuting commented on May 18, 2024

@ZZYuting The number of layers has dropped to 3 comparing with the ST-GCN with 10 layers. I have no idea how to light the model without loss of accuracy.
Although it has dropped to 3 compared with the st-gcn, the flops i caculate the model still up to 20G+flops, you can read some paper in cvpr 2020

from ms-g3d.

kenziyuliu avatar kenziyuliu commented on May 18, 2024

My personal opinions:

  • It seems that the performance on NTU RGB+D 60 dataset is getting saturated (e.g. suggested by this preprint, section 4.1) even with model ensembles, which are used by most work on this topic now; I would suggest working on NTU RGB+D 120 and Kinetics Skeleton 400 for future work.
  • One future direction is to look at how to make MS-G3D more efficient (as @ZZYuting has pointed out). Some components that slow down training include the spatial-temporal window graph/feature construction and the use of graph residual masks. Please also check our supplementary material where we discuss some future directions.

from ms-g3d.

desertfex avatar desertfex commented on May 18, 2024

@kenziyuliu Thank you very much indeed.

from ms-g3d.

kenziyuliu avatar kenziyuliu commented on May 18, 2024

I'll close this issue now but please feel free to add more comments to this thread.

from ms-g3d.

Lyndsey-Xing avatar Lyndsey-Xing commented on May 18, 2024

@ZZYuting The number of layers has dropped to 3 comparing with the ST-GCN with 10 layers. I have no idea how to light the model without loss of accuracy.
Although it has dropped to 3 compared with the st-gcn, the flops i caculate the model still up to 20G+flops, you can read some paper in cvpr 2020

Hello, how do you calculate flops in this paper? Is there any way to reduce flops?
Thanks.

from ms-g3d.

ZZYuting avatar ZZYuting commented on May 18, 2024

@ZZYuting The number of layers has dropped to 3 comparing with the ST-GCN with 10 layers. I have no idea how to light the model without loss of accuracy.
Although it has dropped to 3 compared with the st-gcn, the flops i caculate the model still up to 20G+flops, you can read some paper in cvpr 2020

Hello, how do you calculate flops in this paper? Is there any way to reduce flops?
Thanks.
I use the ptflops to calculate flops coarsely. In fact, you can calculate flops on your hand which is more precise. I think it's a good way to learn how to reduce flops if you know which parts is complex.

from ms-g3d.

desertfex avatar desertfex commented on May 18, 2024

@ZZYuting Could you please provide the codes calculating the flops? I know its may be only two or three codes, but I still get "error" from the compiler. Thank you.

from ms-g3d.

desertfex avatar desertfex commented on May 18, 2024

@ZZYuting Thank you very much.

from ms-g3d.

Related Issues (20)

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.