GithubHelp home page GithubHelp logo

Comments (10)

magicds avatar magicds commented on July 19, 2024 1

我后来解决这个问题了。
我出现这个错误是因为训练失败了,在解决训练过程中的错误之后,此处的代码没有问题。
也就是说我没有修改代码,但没有这个错错误了,有相同问题的人可以检查下训练过程中的日志,来排查问题

from facechain.

potoyeee avatar potoyeee commented on July 19, 2024

你好,请问你解决了吗,我遇到了相同的问题

from facechain.

magicds avatar magicds commented on July 19, 2024

same error

from facechain.

jjiikkkk avatar jjiikkkk commented on July 19, 2024

我也是 这个代码好像是不能用的 藏着掖着模型

from facechain.

Puwong avatar Puwong commented on July 19, 2024

你好,请问你解决了吗,我遇到了相同的问题

you can temporary fix the problem ,follow my code

I use this code, but got another problem:

FileNotFoundError: No such file or directory: "/tmp/qw/personalizaition_lorapytorch_lora_weights.safetensors"

from facechain.

Puwong avatar Puwong commented on July 19, 2024

你好,请问你解决了吗,我遇到了相同的问题

you can temporary fix the problem ,follow my code

I use this code, but got another problem:

FileNotFoundError: No such file or directory: "/tmp/qw/personalizaition_lorapytorch_lora_weights.safetensors"

我重新提了一个issue,我用win11跑应该是没有生成模型文件。不知道楼上的修改过哪些?如果有safetensors是生成了模型文件了?

from facechain.

itmuse avatar itmuse commented on July 19, 2024

你好,请问你解决了吗,我遇到了相同的问题

you can temporary fix the problem ,follow my code

I use this code, but got another problem:
FileNotFoundError: No such file or directory: "/tmp/qw/personalizaition_lorapytorch_lora_weights.safetensors"

我重新提了一个issue,我用win11跑应该是没有生成模型文件。不知道楼上的修改过哪些?如果有safetensors是生成了模型文件了?

遇到相同的问题,把facechain/merge_lora.py 文件修改为:

    if(lora_path.endswith('bin')):
        checkpoint = torch.load(os.path.join(lora_path, 'pytorch_lora_weights.bin'), map_location=torch.device(device))
    else:
        checkpoint= load_file(lora_path+'pytorch_lora_weights.safetensors', device=device)  

也是没有解决问题。

from facechain.

Nomination-NRB avatar Nomination-NRB commented on July 19, 2024

我后来解决这个问题了。 我出现这个错误是因为训练失败了,在解决训练过程中的错误之后,此处的代码没有问题。 也就是说我没有修改代码,但没有这个错错误了,有相同问题的人可以检查下训练过程中的日志,来排查问题

是的,我也遇到这个问题了,UI界面上是正确完成训练,我其实在训练过程中显存不够了,所以这个模型文件没有成功保存,就是这个意思

from facechain.

sunbaigui avatar sunbaigui commented on July 19, 2024

@YuyangYin have you solved your problem according the suggestions above.

from facechain.

sunbaigui avatar sunbaigui commented on July 19, 2024

closed, feel free to reopen it, if you have further questions

from facechain.

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.