Coder Social home page Coder Social logo

Comments (8)

L4HeyXiao avatar L4HeyXiao commented on July 18, 2024 3

那个bin,成了safetensors文件,可以
from safetensors.torch import save_file, load_file
self.net.load_state_dict(
load_file(os.path.join(ckpt_path,'adapter_model.safetensors')),strict =False)

from torchkeras.

whysirier avatar whysirier commented on July 18, 2024

根据例子安装包的版本就好了

from torchkeras.

KKK66661 avatar KKK66661 commented on July 18, 2024

你好 ,我想问一下您们解决了吗,

from torchkeras.

whysirier avatar whysirier commented on July 18, 2024

你好 ,我想问一下您们解决了吗,

解决了,您照着example下的例子就能运行,网上的csdn代码报错应该是包版本不匹配的原因

from torchkeras.

whysirier avatar whysirier commented on July 18, 2024

你好 ,我想问一下您们解决了吗,

解决了,您照着example下的例子就能运行,网上的csdn代码报错应该是包版本不匹配的原因

from torchkeras.

xuxiaoru avatar xuxiaoru commented on July 18, 2024

是哪个包的版本呢,torchkeras吗

from torchkeras.

whysirier avatar whysirier commented on July 18, 2024

是哪个包的版本呢,torchkeras吗

是的

from torchkeras.

whysirier avatar whysirier commented on July 18, 2024

会造成%%chat无法使用。
会造成%%chat无法使用。确实用不了

from torchkeras.

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.