Skip to content

'Segmentation fault (core dumped)' #32

Open

Description

@buchylx

Hi mate, when I was using tool_transfer_control.py, I got the segmentation fault error, all the models were downloaded from official link.
Do you have any idea to solve it?

Activity

  1. haofanwang commented on Mar 14, 2023

    @haofanwang
    Owner

    Could you provide your full scripts?

  2. maobenz commented on Mar 27, 2023

    @maobenz

    actually i have met the same problem. I think we can put the tensor to gpu to solve the problem. It is because the cpu resource is too tight.

    p_new = p.cuda() + input_state_dict[sd15_key_name].cuda() - sd15_state_dict[sd15_key_name].cuda()

    Then I can solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions