Giter VIP home page Giter VIP logo

smsop's Introduction

Statistically-motivated Second-order Pooling (ECCV2018)

Code for our work on ECCV2018. Paper URL: https://arxiv.org/abs/1801.07492

It is implemented in Keras with Tensorflow as backend.

Requirements:

  • Tensorflow: 1.4.0
  • Keras 2.1.2

Notes

The first version of the code is put in snapshot folder, which containing only the implementation of SMSOP structure. You can obtain these by calling get_cov_block(option) function in the main.py.

def get_cov_block(cov_branch):
    if cov_branch == 'smsop':
        covariance_block = covariance_block_newn_wv
    elif cov_branch == "smsop-equ":
        covariance_block = covariance_block_pv_equivelent
    else:
        raise ValueError('covariance cov_mode not supported')

    return covariance_block

smsop's People

Contributors

kcyu2014 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

smsop's Issues

Scripts?

Hi Kaicheng,

It's very interesting to read the paper, entitled Statistically Motivated Second Order Pooling. I would like to try to use it for my own research. Can you please share the code? Thanks! If it's not ready, I would appreciate it if you can share the the pooling layer by email.

Thanks and best,
Jun

About supporting safe_sign_sqrt

Thank you for support the smsop gitbub.
Could you please sunport the function safe_sign_sqrt for normalization step of class SignedSqrt(Layer).
and in elif output_normalization == 'cubicroot':
x = PowLayer(scale=0.5, center=np.power(49. / 2 - 1.0 / 3, 1.0 / 3))(x)
, what is the meaning of the number 49. / 2 - 1.0 / 3
Thank you,
Truc

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.