Spaces:
Runtime error
Runtime error
debugging
Browse files
app.py
CHANGED
|
@@ -21,6 +21,8 @@ def image_guided_detection(img, query_img, score_threshold, nms_threshold):
|
|
| 21 |
print(type(img), type(query_img))
|
| 22 |
print(img.shape)
|
| 23 |
print(query_img.shape)
|
|
|
|
|
|
|
| 24 |
inputs = processor(query_images=query_img, images=img, return_tensors="pt").to(device)
|
| 25 |
print(inputs)
|
| 26 |
print()
|
|
|
|
| 21 |
print(type(img), type(query_img))
|
| 22 |
print(img.shape)
|
| 23 |
print(query_img.shape)
|
| 24 |
+
print(processor)
|
| 25 |
+
print()
|
| 26 |
inputs = processor(query_images=query_img, images=img, return_tensors="pt").to(device)
|
| 27 |
print(inputs)
|
| 28 |
print()
|