Giter Club home page Giter Club logo

Comments (5)

suexin27 avatar suexin27 commented on September 26, 2024

hi,请问您复现MRE的时候有没有遇到过这个bug?打印了一下weights.size(),似乎是最后一个batch的weights.size()是23,不可以被4整除,但是不知道该如何修改,可以帮忙解答一下吗🙏
image
image

from tmr.

jiaweidoris avatar jiaweidoris commented on September 26, 2024

hi,请问您复现MRE的时候有没有遇到过这个bug?打印了一下weights.size(),似乎是最后一个batch的weights.size()是23,不可以被4整除,但是不知道该如何修改,可以帮忙解答一下吗🙏 image image

我还没遇到过这种情况,我猜测您可以检查一下Sentence_re.py看看最后return的res是否存在问题

from tmr.

thecharm avatar thecharm commented on September 26, 2024

请问论文里代码结果在多模态关系抽取(MRE),随机种子的设置是多少呀?目前无法复现出论文的结果?其他设置与github的表述一致。谢谢

我们修改了代码里的一些错误,目前的结构与论文以及NER保持一致。你可以直接进行训练, 目前的结果会略高于论文report的结果,我们也稍后将checkpoint release 出来。给你复现带来不便,深感抱歉。

from tmr.

thecharm avatar thecharm commented on September 26, 2024

The link of our RE model has been updated! Please see the README file in detail.

from tmr.

jiaweidoris avatar jiaweidoris commented on September 26, 2024

请问论文里代码结果在多模态关系抽取(MRE),随机种子的设置是多少呀?目前无法复现出论文的结果?其他设置与github的表述一致。谢谢

我们修改了代码里的一些错误,目前的结构与论文以及NER保持一致。你可以直接进行训练, 目前的结果会略高于论文report的结果,我们也稍后将checkpoint release 出来。给你复现带来不便,深感抱歉。

您好,在您修改的代码中,sentence_re.py文件中result, correct_category, org_category, n_category, data_pred_t, data_pred_f, id_list, feature_list = self.eval_model( self.test_loader)为什么验证的时候要修改成使用test_loader呢?不应该像原来一样使用val_loader吗?

from tmr.

Related Issues (9)

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.