Git Product home page Git Product logo

Comments (2)

leileilei2000 avatar leileilei2000 commented on July 27, 2024

如果可以的话,能否请您分享一份YOLOrs和YOLO Fusion的代码,我的邮箱是[email protected]

from superyolo.

icey-zhang avatar icey-zhang commented on July 27, 2024

我按照论文的结构复现的,这是YOLOrs的yaml文件

#20210318 zjq
#parameters
nc: 8 # number of classes
depth_multiple: 1.0 # model depth multiple
width_multiple: 1.0 # layer channel multiple

#anchors
anchors:

  • [10,13, 16,30, 33,23] # P3/8
  • [30,61, 62,45, 59,119] # P4/16
  • [116,90, 156,198, 373,326] # P5/32

steam:
[[-1, 1, Conv, [32, 3, 1]], # 0
[-1, 1, Conv, [64, 3, 2]], # 1-P1/2
[-1, 1, Bottleneck, [64]],
[-1, 1, Conv, [32, 1, 1]],
]

backbone:
#[from, number, module, args]
[
[-1, 1, Conv, [128, 3, 2]], # 3-P2/4
[-1, 2, Bottleneck, [128]],
[-1, 1, Conv, [256, 3, 2]], # 5-P3/8
[-1, 8, Bottleneck, [256]],
[-1, 1, Conv, [512, 3, 2]], # 7-P4/16
[-1, 8, Bottleneck, [512]],
]

#YOLOv3 head
head:
[ #[-1, 1, Bottleneck, [1024, False]],
[-1, 1, Conv, [256, 1, 1]],
[-1, 1, Conv, [512, 3, 1]],
[-1, 1, Conv, [256, 1, 1]],
[-1, 1, Conv, [512, 3, 1]],
[-1, 1, Conv, [256, 1, 1]],
[-1, 1, Conv, [512, 3, 1]],
[-1, 1, Conv, [14, 1, 1]], # (P4/128-large)

[-2, 1, Conv, [128, 1, 1]],
[-1, 1, nn.Upsample, [None, 2, 'nearest']],
[[-1, 3], 1, Concat, [1]], # cat backbone P3 6
[-1, 1, Conv, [128, 1, 1]],
[-1, 1, Conv, [256, 3, 1]],
[-1, 1, Conv, [128, 1, 1]],
[-1, 1, Conv, [256, 3, 1]],
[-1, 1, Conv, [128, 1, 1]],
[-1, 1, Conv, [256, 3, 1]],
[-1, 1, Conv, [14, 1, 1]], # (P4/64-medium)

[-2, 1, Conv, [64, 1, 1]],
[-1, 1, nn.Upsample, [None, 2, 'nearest']],
[3, 1, nn.Upsample, [None, 2, 'nearest']],
[[-1, -2], 1, Concat, [1]], # cat backbone P3 6
[-1, 1, Conv, [64, 1, 1]],
[-1, 1, Conv, [128, 3, 1]],
[-1, 1, Conv, [64, 1, 1]],
[-1, 1, Conv, [128, 3, 1]],
[-1, 1, Conv, [64, 1, 1]],
[-1, 1, Conv, [128, 3, 1]],
[-1, 1, Conv, [14, 1, 1]], # (P3/32 -small)

[[33, 22, 12], 1, Detect, [nc, anchors]], # Detect(P3, P4, P5) 27 22 15
]

from superyolo.

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.