Skip to content

Issue When Trying to Load My FineTuned Model #1

@adamfils2

Description

@adamfils2

I get this error when using a dreambooth finetuned model.


RuntimeError Traceback (most recent call last)
in
----> 1 magic_mix('corgi.webp', 'cat', total_steps=50, guidance_scale=12)

7 frames
/usr/local/lib/python3.7/dist-packages/torch/nn/modules/conv.py in _conv_forward(self, input, weight, bias)
452 _pair(0), self.dilation, self.groups)
453 return F.conv2d(input, weight, bias, self.stride,
--> 454 self.padding, self.dilation, self.groups)
455
456 def forward(self, input: Tensor) -> Tensor:

RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.cuda.HalfTensor) should be the same

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