Coder Social home page Coder Social logo

Compare Models about pytorch-retinanet HOT 1 OPEN

JoshVarty avatar JoshVarty commented on August 10, 2024
Compare Models

from pytorch-retinanet.

Comments (1)

JoshVarty avatar JoshVarty commented on August 10, 2024

Network Stem

Detectron

INFO net.py: 259: data                        : (2, 3, 512, 896)     => conv1                       : (2, 64, 256, 448)    ------- (op: Conv)
                Args:[name: "kernel"i: 7, name: "order"s: "NCHW", name: "pad"i: 3, name: "stride"i: 2, name: "exhaustive_search"i: 0]
INFO net.py: 259: conv1                       : (2, 64, 256, 448)    => conv1                       : (2, 64, 256, 448)    ------- (op: AffineChannel)
INFO net.py: 259: conv1                       : (2, 64, 256, 448)    => conv1                       : (2, 64, 256, 448)    ------- (op: Relu)
                Args:[name: "order"s: "NCHW", name: "cudnn_exhaustive_search"i: 0]
INFO net.py: 259: conv1                       : (2, 64, 256, 448)    => pool1                       : (2, 64, 128, 224)    ------- (op: MaxPool)
                Args:[name: "order"s: "NCHW", name: "cudnn_exhaustive_search"i: 0, name: "kernel"i: 3, name: "pad"i: 1, name: "stride"i: 2]

PyTorch

✓(conv1): Conv2d(3, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3))
✓(affineChannel): AffineChannel()
✓(relu): ReLU()
✓(maxpool): MaxPool2d(kernel_size=3, stride=2, padding=1, dilation=1, ceil_mode=False)

Differences:

  • PyTorch doesn't seem to have a ReLU
  • What is AffineChannel? Is it BatchNorm?
    • Op source
    • math::AffineChannel source
    • I think it's just saying "Define a learnable scale and bias parameter for each channel. Multiply each input channel by the corresponding scale and add bias.

from pytorch-retinanet.

Related Issues (6)

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.