Giter VIP home page Giter VIP logo

Comments (4)

poppinace avatar poppinace commented on July 29, 2024

Hi @yinmustark,
I just run the code on my computer. The model parameter is indeed 8.15M and GFLOPs is 6.2988.
When setting use_nonlinear=False, use_context=False, #Param=4.27M, GFLOPs=4.34; when use_nonlinear=False, use_context=True, #Param=5.12M, GFLOPs=5.82.

Maybe double check your code.

from indexnet_matting.

kungtalon avatar kungtalon commented on July 29, 2024

Hi @yinmustark,
I just run the code on my computer. The model parameter is indeed 8.15M and GFLOPs is 6.2988.
When setting use_nonlinear=False, use_context=False, #Param=4.27M, GFLOPs=4.34; when use_nonlinear=False, use_context=True, #Param=5.12M, GFLOPs=5.82.

Maybe double check your code.

Thanks for your reply!
I redownloaded your repo and ran the hlmobilenetv2.py file. I only changed "decoder='indexnet'". The result of "nonlinear+context" is still what I posted,, while the other two results are totally correct.
I think the model itself is nothing wrong because the pretrained model can be loaded successfully.

from indexnet_matting.

poppinace avatar poppinace commented on July 29, 2024

@yinmustark,
I figure out the problem. You're right.
In my original research code, I doubled the number of channels of the second convolutional layer in the index block under the m2o-depthwise-nonlinear-context setting, which is where I report the #parameters.
Afterwards, I find that this intermediate layer does not affect the performance, so I keep the dimension the same in the final version, but forget to modify the #Param.
This is not a big problem. But still thanks for mentioning this to others.

from indexnet_matting.

kungtalon avatar kungtalon commented on July 29, 2024

Problem solved.
Thanks anyway : )

from indexnet_matting.

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.