Coder Social home page Coder Social logo

Comments (4)

gjy3035 avatar gjy3035 commented on July 28, 2024

strict=True
才能保证参数被完全加载。
如果改为True报错,可以看看这个问题
#5

from iim.

Veefas avatar Veefas commented on July 28, 2024

strict=True
才能保证参数被完全加载。
如果改为True报错,可以看看这个问题
#5

我是用4核GPU训练的,test的时候试了4核和1核,strict改为True以后还是不行,预测的像素点全是0。。按理说权重加载正确,效果应该和验证集差不多,还是有些费解

from iim.

taohan10200 avatar taohan10200 commented on July 28, 2024

您好,我们刚才已经在SHHB数据集上重新验证了,对于训练过程中保存的模型是可以直接使用test.py进行预测的,请问您是不是clone的最新版本,以及是不是在后续改动过程中引起了新的问题?
训练过程中保存的模型:
image

test.py中添加要测试的模型路径,以及修改数据集名称等相关参数:
image
在测试集上的预测结果:./saved_exp_results/SHHB_HR_Net_test.txt'
image

from iim.

Veefas avatar Veefas commented on July 28, 2024

您好,我早上用SHHB数据集上训练验证,的确没有问题。但之前那一批训练的结果就是预测像素点为0,十分的迷幻,应该是我改动了哪个地方导致的,暂时不纠结这个点了,anyway,感谢作者大大!

from iim.

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.