Skip to content
#

faster-rcnn

Here are 263 public repositories matching this topic...

taehoonlee
taehoonlee commented Aug 31, 2018

The 2x down-sampling is one of the important operations in reference models. But, a convolution or a pooling with stride=2, padding='SAME' may result in different outputs over different deep learning libraries (e.g., TensorFlow, CNTK, Theano, Caffe, Torch, ...) due to their different padding behaviors.

For example (TensorNets syntax; but can be regarded as pseudo codes for other libraries),

York1996OutLook
York1996OutLook commented Dec 5, 2019

def intersection_area(rect1,rect2):
r1 = cv2.rotatedRectangleIntersection(rect1, rect2)
if r1[1] is None:
return 0
# order_points=cv2.convexHull(r1[1],returnPoints=True)
area = cv2.contourArea(r1[1])
return area
def intersection_area_convex(rect1,rect2):
r1 = cv2.rotatedRectangleIntersection(rect1, rect2)
if r1[1] is None:
return 0
order_p

vascobarbosa
vascobarbosa commented Apr 25, 2019

Mac OSX 10.14.1 (18B75)

Traceback (most recent call last):
File "yolo_opencv.py", line 98, in
draw_prediction(image, class_ids[i], confidences[i], round(x), round(y), round(x+w), round(y+h))
File "yolo_opencv.py", line 39, in draw_prediction
cv2.rectangle(img, (x,y), (x_plus_w,y_plus_h), color, 2)
TypeError: only length-1 arrays can be converted to Python scalars

Improve this page

Add a description, image, and links to the faster-rcnn topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the faster-rcnn topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.