runtime error
File "/tmp/hf/modules/transformers_modules/NyxKrage/moondream3_hyphen_preview_hyphen_hf/2fa472085b74ee07d0ec8335c321910068aedda7/modeling_moondream3.py", line 1151, in forward
x_center.item() - w.item() / 2,
~~~~~~~~~~~~~^^
RuntimeError: a Tensor with 2 elements cannot be converted to Scalar
Beside this error, I've encounter sereval other issues as well, my project is using transformers==4.57.2, do you have any insights?
Oof, yeah, sorry about that, I haven't been needing the pointing and bounding box detection personally, so they are pretty hackily implemented.
This should be fixed now though.
The main reason I made the port/repo was for allowing more efficient training for myself so the parts that I don't personally need are not as well tested. But please do feel free to expand on what other issues you have hit.