3e5f5ba7605ff6eb246540d30018ce483e5d4005,examples/ssd/demo.py,,main,#,14
Before Change
bboxes, labels, scores = model.predict(img[np.newaxis])
bbox = cuda.to_cpu(bboxes[0])
label = cuda.to_cpu(labels[0])
score = cuda.to_cpu(scores[0])
vis_bbox(
img, bbox, label, score, label_names=voc_detection_label_names)
plot.show()
After Change
img = utils.read_image(args.image, color=True)
bboxes, labels, scores = model.predict(img[np.newaxis])
bbox, label, score = bboxes[0], labels[0], scores[0]
vis_bbox(
img, bbox, label, score, label_names=voc_detection_label_names)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: chainer/chainercv
Commit Name: 3e5f5ba7605ff6eb246540d30018ce483e5d4005
Time: 2017-05-22
Author: Hakuyume@users.noreply.github.com
File Name: examples/ssd/demo.py
Class Name:
Method Name: main
Project Name: chainer/chainercv
Commit Name: 90b78b1379b3423aa3b4b5d0de7313f88bda23ab
Time: 2019-02-17
Author: yuyuniitani@gmail.com
File Name: chainercv/utils/mask/mask_to_bbox.py
Class Name:
Method Name: mask_to_bbox
Project Name: chainer/chainercv
Commit Name: 17f63334903566e87e462f43f3462f0bc34de4b5
Time: 2017-06-14
Author: yuyuniitani@gmail.com
File Name: tests/links_tests/model_tests/vgg_tests/test_vgg16.py
Class Name: TestVGG16LayersPredict
Method Name: check_predict
Project Name: chainer/chainercv
Commit Name: 4e25beb116336c4c7c1462b752f38937cae1a2db
Time: 2017-05-13
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/faster_rcnn/faster_rcnn.py
Class Name: FasterRCNNBase
Method Name: __call__