Code Monkey home page Code Monkey logo

Comments (6)

ShenghaiLiao avatar ShenghaiLiao commented on September 26, 2024

use strict = False mode when loading the pretrained model.
i change line 180 in file "test_cenet.py" as follows:
self.net.load_state_dict(model, strict = False)

it works !

from ce-net.

lzw3232 avatar lzw3232 commented on September 26, 2024

I can't find the pretrained model (CE-Net_DRIVE_auc_0.9819.th), where do you get it???

from ce-net.

ShenghaiLiao avatar ShenghaiLiao commented on September 26, 2024

from ce-net.

lzw3232 avatar lzw3232 commented on September 26, 2024

You should train on  the  dataset.

---原始邮件--- 发件人: "lzw3232"<[email protected]> 发送时间: 2020年10月22日(周四) 下午5:36 收件人: "Guzaiwang/CE-Net"<[email protected]>; 抄送: "ShenghaiLiao"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [Guzaiwang/CE-Net] 预测时出现错误 (#21) I can't find the pretrained model (CE-Net_DRIVE_auc_0.9819.th), where do you get it??? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

image
They release a pretrained model, which achieves 0.9819 in the AUC scor in the DRIVE dataset. I want to compare my model with CE-Net model,

from ce-net.

YAOSL98 avatar YAOSL98 commented on September 26, 2024

i don't think you should use 'strict = False', please click this link
https://blog.csdn.net/xiakejiang/article/details/93001512?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163852170816780269813209%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=163852170816780269813209&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allbaidu_landing_v2~default-1-93001512.first_rank_v2_pc_rank_v29&utm_term=missing+keys+in+state_dict&spm=1018.2226.3001.4187

from ce-net.

YAOSL98 avatar YAOSL98 commented on September 26, 2024

i don't think you should use 'strict = False', please click this link
https://blog.csdn.net/xiakejiang/article/details/93001512?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163852170816780269813209%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=163852170816780269813209&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allbaidu_landing_v2~default-1-93001512.first_rank_v2_pc_rank_v29&utm_term=missing+keys+in+state_dict&spm=1018.2226.3001.4187

from ce-net.

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.