IDEA-Research / GroundingDINO

[ECCV 2024] Official implementation of the paper "Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection"
https://arxiv.org/abs/2303.05499
Apache License 2.0
6.89k stars 697 forks source link

Error occurred when executing GroundingDinoSAMSegment (segment anything)I’m #243

Open GoDJr opened 1 year ago

GoDJr commented 1 year ago

Im getting the following error was wondering if any of you guys had encountered it.

Error occurred when executing GroundingDinoSAMSegment (segment anything): upper bound and larger bound inconsistent with step sign

terminal shows me this: groundingdino/models/GroundingDINO/bertwarper.py", line 252, in generate_masks_with_special_tokens_and_transfer_map position_ids[row, previous_col + 1 : col + 1] = torch.arange( ^^^^^^^^^^^^^ RuntimeError: upper bound and larger bound inconsistent with step sign

Im trying to use the reposer plus workflow nerdyrodent posted. im running comfyui with --force-fp16 on an Intel mac pro 2019 with a AMD Radeon Pro 580X 8 GB and 48 gb of ram.

wangwenqiao666 commented 11 months ago

Is this problem solved?

ShadwDrgn commented 6 months ago

any update on this? I'm impacted by this on rocm6 but my old pyhon 3.10 install on rocm 5.7 was not impacted by this.