You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
north151 commentedon Oct 10, 2024
I had the same problem.

error
The shape of the 2D attn_mask is torch.Size([77, 77]), but should be (1, 1).
AbdelrhmanNile commentedon Nov 29, 2024
did you find a solution?
AbdelrhmanNile commentedon Nov 29, 2024
@jiangzeyinzi can you please help with this?
AbdelrhmanNile commentedon Nov 29, 2024
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
Kinghao0319 commentedon Dec 3, 2024
I meet the same problem after clicking the data preprocess
jinjianzhao commentedon Mar 12, 2025
maybe your question is similar with #48 (comment)