Giter VIP home page Giter VIP logo

Comments (4)

HonglinChu avatar HonglinChu commented on May 26, 2024

from siamtrackers.

Rongmiq avatar Rongmiq commented on May 26, 2024

class SiamFCTransforms(object):

def __init__(self, exemplar_sz=127, instance_sz=255, context=0.5):
    self.exemplar_sz = exemplar_sz
    self.instance_sz = instance_sz
    self.context = context 

    self.transforms_z = Compose([
        RandomStretch(),
        CenterCrop(instance_sz - 8),      #255-8
        RandomCrop(instance_sz - 2 * 8),  #255-16
        CenterCrop(exemplar_sz),          #127
        ToTensor()])
    self.transforms_x = Compose([
        RandomStretch(),
        CenterCrop(instance_sz - 8),    # 247
        RandomCrop(instance_sz - 2 * 8),  #239
        ToTensor()])

请问fc在训练时对于搜索分支x为什么不crop成 255x255 的,而是使用 239x239 的大小,这也导致搜索分支输出20x20 以及最后的得分图大小不是 17x17,而是15x15?

from siamtrackers.

HonglinChu avatar HonglinChu commented on May 26, 2024

这个你也可以改成255x255的试试,instance-sz是255大小,随机裁剪之就是255-8*2=239。我的理解是这里主要是为了进一步增强泛化能力。你也可以不进行这个操作进行对比,毕竟是非官方代码,不一定和原文一致的。

from siamtrackers.

HonglinChu avatar HonglinChu commented on May 26, 2024

用alexnet训练后,在otb和vot2018上进行测试,然后改成resnet22训练,再在otb和vot2018上测试,得到的结果没有变,一个数字都没变,这是为什么。

from siamtrackers.

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.