Giter VIP home page Giter VIP logo

Comments (2)

he-y avatar he-y commented on June 14, 2024 2

Please refer to my reply in the other issue.

Assume there are 16 filters.

  1. "filter_large_index" and “filter_small_index” is for norm-based criterion, assume 3 filters selected from 16 filters. Now we have 13 remaining filters.
  2. "similar_large_index" and "similar_small_index" is for FPGM criterion, assume 4 filters selected from 13 filters. Now we have 9 remaining filters.

This function ( similar_index_for_filter = [filter_large_index[i] for i in similar_small_index] ) is about mapping the "9 in 13 index" to "13 in 16 index". Details is shown in the image.

image

from filter-pruning-geometric-median.

zhl95 avatar zhl95 commented on June 14, 2024 1

Please refer to my reply in the other issue.

Assume there are 16 filters.

  1. "filter_large_index" and “filter_small_index” is for norm-based criterion, assume 3 filters selected from 16 filters. Now we have 13 remaining filters.
  2. "similar_large_index" and "similar_small_index" is for FPGM criterion, assume 4 filters selected from 13 filters. Now we have 9 remaining filters.

This function ( similar_index_for_filter = [filter_large_index[i] for i in similar_small_index] ) is about mapping the "9 in 13 index" to "13 in 16 index". Details is shown in the image.

image

Thanks!. Got it. the similar_filter is calculated based on norm filtered weights.

from filter-pruning-geometric-median.

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.