About LARGEN inference on huggingface space
Dear author, thank you for realeasing the code. When I was working with the LARGEN inference on your huggingface space, there was a background error when I use the data preprocessing function. Eventhough I have followed the steps in the instruction, I keep getting the same error when I click on the data preprocess button. Do you have any idea or solution for this problem ? Thanks in advance.
I had the same problem.
error
The shape of the 2D attn_mask is torch.Size([77, 77]), but should be (1, 1).
did you find a solution?
@jiangzeyinzi can you please help with this?
i think the error coming from this line, trying to access a 'background' key
https://github.com/modelscope/scepter/blob/adda36e39d2a4a032df6e49d227db408c283b64d/scepter/studio/inference/inference_ui/largen_ui.py#L292C1-L292C71
I meet the same problem after clicking the data preprocess
maybe your question is similar with https://github.com/modelscope/scepter/issues/48#issuecomment-2399111489