DETRtime icon indicating copy to clipboard operation
DETRtime copied to clipboard

runtime error, who can help me?

Open senliontec opened this issue 1 year ago • 0 comments

In file matcher.py

line 69:

cost_bbox = torch.cdist(out_bbox, tgt_bbox, p=1)

when debug the code, the shape of out_bbox is (640,1), however the shape of tgt_bbox is (299,2), when the code runs, it will occur error like this: " RuntimeError: X1 and X2 must have the same number of columns. X1: 1 X2: 2"

Any one can help to solve this problem ?

thanks alot for your help.

senliontec avatar Apr 16 '25 06:04 senliontec