Git Product home page Git Product logo

Comments (6)

nerddd avatar nerddd commented on August 17, 2024

有,是因为tf和caffe 对于padding采用的是不同方式,tf里面的pad分为valid和same两种模式,默认为valid(原ssrnet),但是caffe 采用的是same方式,所以需要重新指定训练,可以采用我提供的SSR-Net目录下的脚本自己重新训练一下,再转化

from ssrnet-caffe.

lwplw avatar lwplw commented on August 17, 2024

非常感谢回复,以为是dense层的问题,想起来tf和caffe的处理机制不同,caffe中的pooling层有个向上取整的操作,刚好feature map大小两边对应不上,最后我改了caffe的源码,就当是ssrnet的定制版了,目前转换已完成。https://blog.csdn.net/lwplwf/article/details/82418110

from ssrnet-caffe.

indolant avatar indolant commented on August 17, 2024

I1112 03:44:32.535120 6105 solver.cpp:414] Test net output #0: accuracy = 0.0179104
I1112 03:44:32.535167 6105 solver.cpp:414] Test net output #1: loss = 38.5024
I1112 03:44:34.301174 6105 solver.cpp:239] Iteration 2100 (49.6661 iter/s, 7.04706s/350 iters), loss = 5.30641
I1112 03:44:34.301216 6105 solver.cpp:258] Train net output #0: accuracy_train = 0.6
I1112 03:44:34.301228 6105 solver.cpp:258] Train net output #1: loss = 5.30641 (* 1 = 5.30641 loss)
大佬请问我的trainloss可以下降,为什么test的loss一直很高反而增加

from ssrnet-caffe.

nerddd avatar nerddd commented on August 17, 2024

可能是过拟合了吧

from ssrnet-caffe.

ReedZyd avatar ReedZyd commented on August 17, 2024

非常感谢回复,以为是dense层的问题,想起来tf和caffe的处理机制不同,caffe中的pooling层有个向上取整的操作,刚好feature map大小两边对应不上,最后我改了caffe的源码,就当是ssrnet的定制版了,目前转换已完成。https://blog.csdn.net/lwplwf/article/details/82418110

May I ask you for your caffe model?Thanks very much.

from ssrnet-caffe.

liangheng avatar liangheng commented on August 17, 2024

非常感谢回复,以为是dense层的问题,想起来tf和caffe的处理机制不同,caffe中的pooling层有个向上取整的操作,刚好feature map大小两边对应不上,最后我改了caffe的源码,就当是ssrnet的定制版了,目前转换已完成。https://blog.csdn.net/lwplwf/article/details/82418110
@lwplw 你好 怎么修改caffe源码 pooling的w、h不要向上取整?可以提供下你修改的截图吗 多谢了

from ssrnet-caffe.

Related Issues (10)

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.