code stringlengths 3 6.57k |
|---|
np.transpose(img_numpy, [1, 2, 0]) |
np.transpose(img_numpy, [1, 2, 0]) |
img_numpy.astype(np.uint8) |
enumerate(strides) |
img_numpy.copy() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cls_numpy.nonzero() |
print(len(ys) |
zip(cs, xs, ys) |
cv2.imshow(str(c) |
cpu() |
numpy() |
copy() |
int(realy - height/2) |
int(realx) |
int(realy + height/2) |
int(realx) |
int(top_x - height * 0.1) |
int(top_y) |
int(down_x + height * 0.1) |
cv2.rectangle(img_now, top_left, down_right, (255, 255, 5*int(c) |
img_nows.append(img_now) |
cv2.imshow(str(i) |
cv2.waitKey(0) |
show_input_debug_caltech(self, img, classification_maps, scale_maps, offset_maps) |
range(img.shape[0]) |
img.cpu() |
numpy() |
copy() |
np.transpose(img_numpy, [1, 2, 0]) |
img_numpy.astype(np.uint8) |
enumerate(strides) |
img_numpy.copy() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cv2.imshow('ignore', ignore_numpy) |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cls_numpy.nonzero() |
print(len(ys) |
zip(xs, ys) |
cv2.imshow(str(c) |
cpu() |
numpy() |
copy() |
int(realy - height/2) |
int(realx) |
int(realy + height/2) |
int(realx) |
int(top_x - height * 0.1) |
int(top_y) |
int(down_x + height * 0.1) |
cv2.rectangle(img_now, top_left, down_right, (255, 255, 125) |
img_nows.append(img_now) |
cv2.imshow(str(i) |
cv2.waitKey(0) |
show_input_debug_head(self, img, classification_maps, scale_maps, offset_maps) |
range(img.shape[0]) |
img.cpu() |
numpy() |
copy() |
np.transpose(img_numpy, [1, 2, 0]) |
img_numpy.astype(np.uint8) |
enumerate(strides) |
img_numpy.copy() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cv2.imshow('ignore', ignore_numpy) |
exp() |
cpu() |
numpy() |
copy() |
cpu() |
numpy() |
copy() |
cls_numpy.nonzero() |
zip(xs, ys) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.