Giter Site home page Giter Site logo

Comments (5)

GewelsJI avatar GewelsJI commented on August 12, 2024

你好,你把keys中的module前缀去掉即可加载在单卡上了。

from fsnet.

zp19990818 avatar zp19990818 commented on August 12, 2024

感谢学长的建议!我在func.py最后面修改去掉了module,现在运行起来了,这应该是读取到了预训练的单分支权重了吧,我怕啥都没读取到就开始finetune了,因为我看CSDN有人这样干,这也不报错但是也没加载到预训练的权重。我的截图如下:
image

from fsnet.

zp19990818 avatar zp19990818 commented on August 12, 2024

学长,我再补一张图
image

from fsnet.

GewelsJI avatar GewelsJI commented on August 12, 2024

我初步看是没问题的,具体你可以把加载前后的key-value数值对,检查并对比一下

from fsnet.

zp19990818 avatar zp19990818 commented on August 12, 2024

我初步看是没问题的,具体你可以把加载前后的key-value数值对,检查并对比一下

明白!谢谢学长的帮助🌹

from fsnet.

Related Issues (19)

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.