-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Hello, this is a great job to help me using quantitized birefnet easier.
In my using cases, the BiRefNet-HRSOD produces better results than general BiRefNet models. So I tried to convert BiRefNet-HRSOD.pth into .gguf model using command "uv run scripts/convert.py birefnet BiRefNet-HRSOD_DHU-epoch_115.pth". However, it failed to convert.
This is the error report.
~/vision.cpp$ uv run scripts/convert.py birefnet BiRefNet-HRSOD_DHU-epoch_115.pth
Converting birefnet
* input: BiRefNet-HRSOD_DHU-epoch_115.pth
* output: models/BiRefNet-HRSOD_DHU-epoch_115.gguf
* birefnet.tensor_data_layout = whcn
Error: Error while deserializing header: header too large
Does it mean that the .pth file size is too large to convert? And what should I do to convert it successfully? Thanks a lot if you could help me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels