author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
499,310
29.07.2020 12:54:18
-28,800
e8c4f816b24feebb4234c22a49f3f052fd56e9e8
fix cpp precision
[ { "change_type": "MODIFY", "old_path": "deploy/cpp/src/main.cc", "new_path": "deploy/cpp/src/main.cc", "diff": "@@ -94,7 +94,7 @@ void PredictImage(const std::string& image_path,\nstd::vector<PaddleDetection::ObjectResult> result;\ndet->Predict(im, &result);\nfor (const auto& item : result) {\n- pri...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix cpp precision (#1095)
499,313
01.08.2020 20:18:17
-28,800
e9c67639d5f1a0295acfa0cf7cc9de0c0c949ef3
fix ppyolo config iters
[ { "change_type": "MODIFY", "old_path": "configs/ppyolo/ppyolo.yml", "new_path": "configs/ppyolo/ppyolo.yml", "diff": "architecture: YOLOv3\nuse_gpu: true\n-max_iters: 500000\n+max_iters: 250000\nlog_smooth_window: 100\nlog_iter: 100\nsave_dir: output\n@@ -70,13 +70,13 @@ MatrixNMS:\npost_threshold: ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix ppyolo config iters (#1138)
499,313
02.08.2020 21:11:48
-28,800
68ca9401d123c0e840c83695b0b2a3ac392804e9
fix exclude_nms
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/architectures/cascade_mask_rcnn.py", "new_path": "ppdet/modeling/architectures/cascade_mask_rcnn.py", "diff": "@@ -437,4 +437,4 @@ class CascadeMaskRCNN(object):\ndef test(self, feed_vars, exclude_nms=False):\nassert not exclude_nms, \"exclude_n...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix exclude_nms (#1141)
499,313
03.08.2020 15:42:52
-28,800
09d01d175f58bbae8160143f42b9e360845d5f91
fix test_architectures
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/tests/test_architectures.py", "new_path": "ppdet/modeling/tests/test_architectures.py", "diff": "@@ -19,6 +19,7 @@ from __future__ import print_function\nimport unittest\nimport numpy as np\n+import paddle\nimport paddle.fluid as fluid\nimport o...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix test_architectures (#1146)
499,313
04.08.2020 19:00:32
-28,800
ce63a4f510d60eb0376aaf1ee859a4ff08cf26ba
add ppyolo_2x
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/ppyolo/ppyolo_2x.yml", "diff": "+architecture: YOLOv3\n+use_gpu: true\n+max_iters: 500000\n+log_smooth_window: 100\n+log_iter: 100\n+save_dir: output\n+snapshot_iter: 10000\n+metric: COCO\n+pretrain_weights: https://paddle-imagenet-model...
Python
Apache License 2.0
paddlepaddle/paddledetection
add ppyolo_2x (#1155)
499,304
14.08.2020 18:22:32
-28,800
0e40029fa1a16cb06b2d154fd9909945684f3c50
add ssdlite-ghostnet model
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/ssd/ssdlite_ghostnet.yml", "diff": "+architecture: SSD\n+use_gpu: true\n+max_iters: 400000\n+snapshot_iter: 20000\n+log_smooth_window: 20\n+log_iter: 20\n+metric: COCO\n+pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com...
Python
Apache License 2.0
paddlepaddle/paddledetection
add ssdlite-ghostnet model (#1133)
499,304
18.08.2020 13:41:54
-28,800
10212b49f0b1205ce9e7ad177b6d1e58faea9acc
add faster_r34_fpn_1x model
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/faster_rcnn_r34_fpn_1x.yml", "diff": "+architecture: FasterRCNN\n+max_iters: 90000\n+use_gpu: true\n+snapshot_iter: 10000\n+log_smooth_window: 20\n+save_dir: output\n+pretrain_weights: ResNet34_pretrained\n+metric: COCO\n+weights: output...
Python
Apache License 2.0
paddlepaddle/paddledetection
add faster_r34_fpn_1x model (#1230)
499,313
18.08.2020 15:44:52
-28,800
4229a94947870a9ddd054fd94b82ac9d49d9ef9d
fix training hang in PaddleCloud single machine.
[ { "change_type": "MODIFY", "old_path": "tools/train.py", "new_path": "tools/train.py", "diff": "@@ -53,7 +53,9 @@ logger = logging.getLogger(__name__)\ndef main():\nenv = os.environ\n- FLAGS.dist = 'PADDLE_TRAINER_ID' in env and 'PADDLE_TRAINERS_NUM' in env\n+ FLAGS.dist = 'PADDLE_TRAINER_ID' in env...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix training hang in PaddleCloud single machine. (#1232)
499,313
18.08.2020 20:53:18
-28,800
c1c537b77e897a57fc2b6d93b527b1a1ae2557a5
fix diou_loss_yolo.py scale_x_y & eps not set
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/losses/diou_loss_yolo.py", "new_path": "ppdet/modeling/losses/diou_loss_yolo.py", "diff": "@@ -65,9 +65,10 @@ class DiouLossYolo(IouLoss):\neps (float): the decimal to prevent the denominator eqaul zero\n'''\nx1, y1, x2, y2 = self._bbox_transfor...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix diou_loss_yolo.py scale_x_y & eps not set (#1239)
499,333
19.08.2020 11:05:44
-28,800
4fc516d25882727e80d9cd17a45196d8b9433d34
update elementwise api in fcos
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/losses/fcos_loss.py", "new_path": "ppdet/modeling/losses/fcos_loss.py", "diff": "@@ -76,14 +76,14 @@ class FCOSLoss(object):\nReturn:\nloss (Varialbes): location loss\n\"\"\"\n- plw = pred[:, 0] * positive_mask\n- pth = pred[:, 1] * positive_mas...
Python
Apache License 2.0
paddlepaddle/paddledetection
update elementwise api in fcos (#1245)
499,313
19.08.2020 14:50:49
-28,800
a77455bc7267c364251245475f642ace0a46531e
remove useless is_test in yolo_head.py
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/anchor_heads/yolo_head.py", "new_path": "ppdet/modeling/anchor_heads/yolo_head.py", "diff": "@@ -154,7 +154,6 @@ class YOLOv3Head(object):\nstride,\npadding,\nact='leaky',\n- is_test=True,\nname=None):\nconv = fluid.layers.conv2d(\ninput=input,\...
Python
Apache License 2.0
paddlepaddle/paddledetection
remove useless is_test in yolo_head.py (#1250)
499,304
19.08.2020 17:31:38
-28,800
3268ed1f774e3587ffa28d1802d5165c6727e495
fix faceboxes steps in prior_box
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/architectures/faceboxes.py", "new_path": "ppdet/modeling/architectures/faceboxes.py", "diff": "@@ -56,7 +56,7 @@ class FaceBoxes(object):\ndensities=[[4, 2, 1], [1], [1]],\nfixed_sizes=[[32., 64., 128.], [256.], [512.]],\nnum_classes=2,\n- steps...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix faceboxes steps in prior_box (#1255)
499,304
21.08.2020 15:40:12
-28,800
a30abac2c44a33f8a57c4f59007d3cac4d547bf1
fix use_cv2 of SSD in infer
[ { "change_type": "MODIFY", "old_path": "configs/ssd/ssd_mobilenet_v1_voc.yml", "new_path": "configs/ssd/ssd_mobilenet_v1_voc.yml", "diff": "@@ -134,7 +134,7 @@ TestReader:\ninterp: 1\nmax_size: 0\ntarget_size: 300\n- use_cv2: false\n+ use_cv2: true\n- !Permute {}\n- !NormalizeImage\nis_scale: false\...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix use_cv2 of SSD in infer (#1264)
499,313
24.08.2020 12:56:15
-28,800
3bc034aacca0f342ec09797eb0a73817db0caf1d
refine create_parameter to global_var to avoid saving to checkpoints
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/losses/iou_loss.py", "new_path": "ppdet/modeling/losses/iou_loss.py", "diff": "@@ -229,11 +229,7 @@ class IouLoss(object):\nreturn x1, y1, x2, y2\ndef _create_tensor_from_numpy(self, numpy_array):\n- paddle_array = fluid.layers.create_parameter(...
Python
Apache License 2.0
paddlepaddle/paddledetection
refine create_parameter to global_var to avoid saving to checkpoints (#1274)
499,395
27.08.2020 19:58:53
-28,800
e5605dd888b9c16883398eea1794ca1f559dc950
fix the problem of converting labelme to coco
[ { "change_type": "MODIFY", "old_path": "ppdet/data/tools/x2coco.py", "new_path": "ppdet/data/tools/x2coco.py", "diff": "@@ -154,17 +154,19 @@ def deal_json(ds_type, img_path, json_path):\ncategories_list.append(categories(label, labels_list))\nlabels_list.append(label)\nlabel_to_num[label] = len(lab...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix the problem of converting labelme to coco (#1296)
499,313
28.08.2020 12:04:38
-28,800
b9875f212bc5130e0517bccb766c696c36121f16
fix coord conv support h != w
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/anchor_heads/yolo_head.py", "new_path": "ppdet/modeling/anchor_heads/yolo_head.py", "diff": "@@ -125,8 +125,14 @@ class YOLOv3Head(object):\nx_range = self._create_tensor_from_numpy(gi_np.astype(np.float32))\nx_range.stop_gradient = True\n- y_ra...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix coord conv support h != w (#1303)
499,304
30.08.2020 11:59:29
-28,800
29a91f30a7465c3254c56720e4d6ec2de34ace60
fix python path in export_serving_model.py
[ { "change_type": "MODIFY", "old_path": "tools/export_serving_model.py", "new_path": "tools/export_serving_model.py", "diff": "@@ -16,7 +16,11 @@ from __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\n-import os\n+import os, sys\n+# add python ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix python path in export_serving_model.py (#1294)
499,304
31.08.2020 12:32:20
-28,800
a86705361cfecd6cea3f745117d4083634ccb354
fix has_empty condition in Reader
[ { "change_type": "MODIFY", "old_path": "ppdet/data/reader.py", "new_path": "ppdet/data/reader.py", "diff": "@@ -338,17 +338,17 @@ class Reader(object):\nsample[\"curr_iter\"] = self._curr_iter\nself._pos += 1\n- if self._drop_empty and self._fields and 'gt_mask' in self._fields:\n- if _has_empty(_se...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix has_empty condition in Reader (#1281)
499,333
01.09.2020 10:09:12
-28,800
25877ca329117bf9499ae9f831377cbf5ece280f
fix mixup & cutmix in multiprocessing
[ { "change_type": "MODIFY", "old_path": "ppdet/data/reader.py", "new_path": "ppdet/data/reader.py", "diff": "@@ -183,6 +183,7 @@ class Reader(object):\ninputs_def (dict): network input definition use to get input fields,\nwhich is used to determine the order of returned data.\ndevices_num (int): numb...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix mixup & cutmix in multiprocessing (#1319)
499,318
01.09.2020 10:18:58
-28,800
1317022a0b73b53377ac5fa98bdb28b509e77ab4
fix the dtype of loss
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/anchor_heads/retina_head.py", "new_path": "ppdet/modeling/anchor_heads/retina_head.py", "diff": "@@ -404,5 +404,5 @@ class RetinaHead(object):\ninside_weight=bbox_weight,\noutside_weight=bbox_weight)\nloss_bbox = fluid.layers.reduce_sum(loss_bbo...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix the dtype of loss (#1317)
499,304
01.09.2020 19:27:55
-28,800
929c7f202251c6381d709ad6f2a3fc65860f3be9
support depoly infer for fcos
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "@@ -74,7 +74,7 @@ class Resize(object):\nself.arch = arch\nself.use_cv2 = use_cv2\nself.interp = interp\n- self.scale_set = {'RCNN', 'RetinaNet'}\n+ self.scale_set = {'RCNN', 'RetinaNet', ...
Python
Apache License 2.0
paddlepaddle/paddledetection
support depoly infer for fcos (#1331)
499,300
03.09.2020 12:55:50
-28,800
40ff9a639c7136d0f3e6a2db742864de5299683b
Add inference support for efficientdet reuse RetinaNet pipeline for now
[ { "change_type": "MODIFY", "old_path": "tools/export_model.py", "new_path": "tools/export_model.py", "diff": "@@ -78,6 +78,15 @@ def parse_reader(reader_cfg, metric, arch):\nparams['image_shape'] = image_shape[1:]\nif 'target_dim' in params:\nparams.pop('target_dim')\n+ if p['type'] == 'ResizeAndPad...
Python
Apache License 2.0
paddlepaddle/paddledetection
Add inference support for efficientdet (#1345) reuse RetinaNet pipeline for now
499,304
07.09.2020 15:30:14
-28,800
57a02fd635ad03522b6779b71789846538712a1d
fix faster_rcnn_r34 config
[ { "change_type": "MODIFY", "old_path": "configs/faster_rcnn_r34_fpn_1x.yml", "new_path": "configs/faster_rcnn_r34_fpn_1x.yml", "diff": "@@ -4,7 +4,7 @@ use_gpu: true\nsnapshot_iter: 10000\nlog_smooth_window: 20\nsave_dir: output\n-pretrain_weights: ResNet34_pretrained\n+pretrain_weights: https://pad...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix faster_rcnn_r34 config (#1368)
499,304
09.09.2020 19:59:43
-28,800
2ecbbe59259f51987388686eaf2b3b7111c70726
remove unnecessary code and sort out code in deploy/infer
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "@@ -25,6 +25,24 @@ import numpy as np\nimport paddle.fluid as fluid\nfrom visualize import visualize_box_mask\n+# Global dictionary\n+RESIZE_SCALE_SET = {\n+ 'RCNN',\n+ 'RetinaNet',\n+ 'FC...
Python
Apache License 2.0
paddlepaddle/paddledetection
remove unnecessary code and sort out code in deploy/infer (#1378)
499,331
10.09.2020 11:23:46
-28,800
399ed5a0fc9545deda1f2505dc1a3506bb00be90
fix bug of function _make_dataset in ppdet/data/source/dataset.py
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/dataset.py", "new_path": "ppdet/data/source/dataset.py", "diff": "@@ -87,16 +87,16 @@ def _is_valid_file(f, extensions=('.jpg', '.jpeg', '.png', '.bmp')):\nreturn f.lower().endswith(extensions)\n-def _make_dataset(dir):\n- dir = os.path.expan...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix bug of function _make_dataset in ppdet/data/source/dataset.py (#1380)
499,395
11.09.2020 21:42:39
-28,800
d7d3fbeaa9f26a9445b9ae28218f6a016e98686d
modify deploy inference code fix compile error in code modify code for inference
[ { "change_type": "MODIFY", "old_path": "deploy/cpp/include/object_detector.h", "new_path": "deploy/cpp/include/object_detector.h", "diff": "#include <vector>\n#include <memory>\n#include <utility>\n+#include <ctime>\n#include <opencv2/core/core.hpp>\n#include <opencv2/imgproc/imgproc.hpp>\n@@ -74,9 ...
Python
Apache License 2.0
paddlepaddle/paddledetection
modify deploy inference code (#1394) fix compile error in code modify code for inference
499,313
14.09.2020 20:10:13
-28,800
d0a3c56543556baad67ee9a3458a7bb8f240517d
fix ImageMixup with no gt_bbox.
[ { "change_type": "MODIFY", "old_path": "ppdet/data/transform/operators.py", "new_path": "ppdet/data/transform/operators.py", "diff": "@@ -1266,8 +1266,8 @@ class MixupImage(BaseOperator):\nif factor <= 0.0:\nreturn sample['mixup']\nim = self._mixup_img(sample['image'], sample['mixup']['image'], fact...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix ImageMixup with no gt_bbox. (#1404)
499,395
15.09.2020 15:01:47
-28,800
17f4307d96de08a77212c39ea2f4b66d314d58a4
fix create_inputs of deploy/python/infer.py
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "@@ -272,7 +272,7 @@ def create_inputs(im, im_info, model_arch='YOLO'):\nif 'YOLO' in model_arch:\nim_size = np.array([origin_shape]).astype('int32')\ninputs['im_size'] = im_size\n- elif 'R...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix create_inputs of deploy/python/infer.py (#1411)
499,331
15.09.2020 18:59:55
-28,800
0e5f87c3c29d4fde1d915e653c0b0551546ec8dd
Repalce fruit dataset with roadsign dataset, and update QUICK_STARTED, use PP-YOLO as demo, test=document_fix.
[ { "change_type": "ADD", "old_path": "demo/road554.png", "new_path": "demo/road554.png", "diff": "Binary files /dev/null and b/demo/road554.png differ\n" }, { "change_type": "ADD", "old_path": "docs/images/000000014439.jpg", "new_path": "docs/images/000000014439.jpg", "diff": "Bin...
Python
Apache License 2.0
paddlepaddle/paddledetection
Repalce fruit dataset with roadsign dataset, and update QUICK_STARTED, use PP-YOLO as demo, test=document_fix. (#1407)
499,331
16.09.2020 14:55:55
-28,800
915d53706eaf8253158d4c9730ad27732ec62cf6
set use_default_label=False as default
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/dataset.py", "new_path": "ppdet/data/source/dataset.py", "diff": "@@ -41,7 +41,7 @@ class DataSet(object):\nanno_path=None,\nsample_num=-1,\nwith_background=True,\n- use_default_label=None,\n+ use_default_label=False,\n**kwargs):\nsuper(DataS...
Python
Apache License 2.0
paddlepaddle/paddledetection
set use_default_label=False as default (#1409)
499,395
18.09.2020 19:31:20
-28,800
e4f7c2dafae370773c431a269d0ef76071ed1bf1
add usage of tools/anchor_cluster.py in doc
[ { "change_type": "MODIFY", "old_path": "configs/ppyolo/README.md", "new_path": "configs/ppyolo/README.md", "diff": "@@ -82,6 +82,12 @@ Training PP-YOLO on 8 GPUs with following command(all commands should be run und\nCUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python tools/train.py -c configs/ppyolo/ppyolo...
Python
Apache License 2.0
paddlepaddle/paddledetection
add usage of tools/anchor_cluster.py in doc (#1440)
499,331
19.09.2020 21:03:51
-28,800
593b6b9e3e688953b904087c574cffc37e4e92e2
judge dataset file_path exists
[ { "change_type": "MODIFY", "old_path": "ppdet/utils/download.py", "new_path": "ppdet/utils/download.py", "diff": "@@ -239,13 +239,19 @@ def _dataset_exists(path, annotation, image_dir):\nif annotation:\nannotation_path = osp.join(path, annotation)\n+ if not osp.exists(annotation_path):\n+ logger.err...
Python
Apache License 2.0
paddlepaddle/paddledetection
judge dataset file_path exists (#1438)
499,385
21.09.2020 11:13:48
-28,800
bfd3a1e1085bba0a40f849855e2ea01658ecec20
Change README to cn
[ { "change_type": "ADD", "old_path": null, "new_path": "README.md", "diff": "+README_cn.md\n\\ No newline at end of file\n" } ]
Python
Apache License 2.0
paddlepaddle/paddledetection
Change README to cn (#1429)
499,395
21.09.2020 11:46:37
-28,800
37f3955c643f12dde3ac9464a14ef9af2dcf47c3
modify doc for anchor cluster
[ { "change_type": "MODIFY", "old_path": "configs/ppyolo/README.md", "new_path": "configs/ppyolo/README.md", "diff": "@@ -85,7 +85,7 @@ CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python tools/train.py -c configs/ppyolo/ppy\noptional: Run `tools/anchor_cluster.py` to get anchors suitable for your dataset, an...
Python
Apache License 2.0
paddlepaddle/paddledetection
modify doc for anchor cluster (#1445)
499,331
21.09.2020 17:14:27
-28,800
4bb142cffaff9a8c0e5231699f74a30c0975ad56
Add PaddleServing demo.
[ { "change_type": "ADD", "old_path": null, "new_path": "deploy/serving/test_client.py", "diff": "+# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the Licen...
Python
Apache License 2.0
paddlepaddle/paddledetection
Add PaddleServing demo. (#1431)
499,385
22.09.2020 14:42:56
-28,800
caf816a212253644f68c00d33934c21236556869
Fix DebugVisibleImage in ppdet/data/transform/operators.py
[ { "change_type": "MODIFY", "old_path": "ppdet/data/transform/operators.py", "new_path": "ppdet/data/transform/operators.py", "diff": "@@ -2551,9 +2551,7 @@ class DebugVisibleImage(BaseOperator):\nx1 = round(keypoint[2 * j]).astype(np.int32)\ny1 = round(keypoint[2 * j + 1]).astype(np.int32)\ndraw.ell...
Python
Apache License 2.0
paddlepaddle/paddledetection
Fix DebugVisibleImage in ppdet/data/transform/operators.py (#1471)
499,330
25.09.2020 17:33:24
-28,800
23d3ea61d9ac4c584be93e3ff7cd33080cfb56e2
add ips for detection models test=develop
[ { "change_type": "MODIFY", "old_path": "tools/train.py", "new_path": "tools/train.py", "diff": "@@ -255,8 +255,9 @@ def main():\ntrain_stats.update(stats)\nlogs = train_stats.log()\nif it % cfg.log_iter == 0 and (not FLAGS.dist or trainer_id == 0):\n- strs = 'iter: {}, lr: {:.6f}, {}, time: {:.3f}, ...
Python
Apache License 2.0
paddlepaddle/paddledetection
add ips for detection models (#1507) test=develop
499,330
02.10.2020 10:19:23
-28,800
fcfac7544033678b1644d42b70062c618baa5825
refine benchmark log test=develop
[ { "change_type": "MODIFY", "old_path": "tools/train.py", "new_path": "tools/train.py", "diff": "@@ -258,8 +258,8 @@ def main():\nlogs = train_stats.log()\nif it % cfg.log_iter == 0 and (not FLAGS.dist or trainer_id == 0):\nips = float(cfg['TrainReader']['batch_size']) / time_cost\n- strs = 'iter: {}...
Python
Apache License 2.0
paddlepaddle/paddledetection
refine benchmark log (#1512) test=develop
499,313
10.10.2020 19:54:24
-28,800
a90d8be73027bb81d319104993081f9a9e977940
fix eval in distill_pruned_model
[ { "change_type": "MODIFY", "old_path": "slim/extensions/distill_pruned_model/distill_pruned_model.py", "new_path": "slim/extensions/distill_pruned_model/distill_pruned_model.py", "diff": "@@ -319,7 +319,7 @@ def main():\nos.path.join(save_dir, save_name))\n# eval\nresults = eval_run(exe, compiled_ev...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix eval in distill_pruned_model (#1551)
499,360
12.10.2020 11:55:23
-28,800
262dfa3e7a65992f359f2c31c1cba9279ce28cb2
fixed max_size for ResizeImage transformation
[ { "change_type": "MODIFY", "old_path": "configs/rcnn_enhance/cascade_rcnn_dcn_r101_vd_fpn_3x_server_side.yml", "new_path": "configs/rcnn_enhance/cascade_rcnn_dcn_r101_vd_fpn_3x_server_side.yml", "diff": "@@ -168,7 +168,7 @@ EvalReader:\nstd: [0.229, 0.224,0.225]\n- !ResizeImage\ninterp: 1\n- max_siz...
Python
Apache License 2.0
paddlepaddle/paddledetection
fixed max_size for ResizeImage transformation (#1549)
499,304
15.10.2020 11:39:47
-28,800
2e33bc591473c039f8ce72468da2ca30f100dbe1
fix error in train_batch_size sync from load_config
[ { "change_type": "MODIFY", "old_path": "ppdet/core/workspace.py", "new_path": "ppdet/core/workspace.py", "diff": "@@ -139,7 +139,7 @@ def merge_config(config, another_cfg=None):\n# batch size config to global, models can get batch size config\n# from global config when building model.\n# batch size ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix error in train_batch_size sync from load_config (#1567)
499,313
15.10.2020 17:07:25
-28,800
47606f9a330acc21c1e32f7f3937e107ccb1cdbf
add infer_cfg export in slim export_model
[ { "change_type": "ADD", "old_path": null, "new_path": "ppdet/utils/export_utils.py", "diff": "+# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License...
Python
Apache License 2.0
paddlepaddle/paddledetection
add infer_cfg export in slim export_model (#1554)
499,304
20.10.2020 12:54:51
-28,800
625c986302e32eafa12b684a054b686b7da1ebdd
update htc_r50_fpn model
[ { "change_type": "MODIFY", "old_path": "configs/htc/README.md", "new_path": "configs/htc/README.md", "diff": "@@ -23,4 +23,4 @@ The results on COCO 2017val are shown in the below table. (results on test-dev a\n| Backbone | Lr schd | Inf time (fps) | box AP | mask AP | Download |\n|:---------:|:-----...
Python
Apache License 2.0
paddlepaddle/paddledetection
update htc_r50_fpn model (#1580)
499,304
21.10.2020 14:36:09
-28,800
fb516ca404829c0a5e361c21d5c24db254439594
delete pact in eval,infer,export_model
[ { "change_type": "ADD", "old_path": null, "new_path": "slim/quantization/pact.py", "diff": "+# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\...
Python
Apache License 2.0
paddlepaddle/paddledetection
delete pact in eval,infer,export_model (#1584)
499,395
21.10.2020 16:54:30
-28,800
7fd1f891eaad7c484fcabef9ca2d723e2cc41001
modify MkDir function to fix bugs
[ { "change_type": "MODIFY", "old_path": "deploy/cpp/src/main.cc", "new_path": "deploy/cpp/src/main.cc", "diff": "@@ -54,8 +54,7 @@ static bool PathExists(const std::string& path){\n}\nstatic void MkDir(const std::string& path) {\n- std::string path_error(path);\n- path_error += \" mkdir failed!\";\n+...
Python
Apache License 2.0
paddlepaddle/paddledetection
modify MkDir function to fix bugs (#1590)
499,333
23.10.2020 00:16:15
-28,800
3a48c5624a140a3892706a9a2e042b001b26731c
fix cascade series models
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/architectures/cascade_mask_rcnn.py", "new_path": "ppdet/modeling/architectures/cascade_mask_rcnn.py", "diff": "@@ -135,6 +135,7 @@ class CascadeMaskRCNN(object):\nproposals = None\nbbox_pred = None\n+ max_overlap = None\nfor i in range(3):\nif i...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix cascade series models (#1588)
499,304
26.10.2020 20:15:53
-28,800
c3c453384ae43229c1371201a59b925e8ef71ebe
fix save_infer_model in quant export_model
[ { "change_type": "MODIFY", "old_path": "slim/quantization/export_model.py", "new_path": "slim/quantization/export_model.py", "diff": "@@ -30,7 +30,6 @@ from ppdet.utils.cli import ArgsParser\nimport ppdet.utils.checkpoint as checkpoint\nfrom ppdet.utils.export_utils import save_infer_model, dump_inf...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix save_infer_model in quant export_model (#1604)
499,333
29.10.2020 21:27:14
-28,800
6417474551a695da872d4b272a356ca405a1d316
filter invalid segmentation in data source
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/coco.py", "new_path": "ppdet/data/source/coco.py", "diff": "@@ -137,7 +137,12 @@ class COCODataSet(DataSet):\ny1 = max(0, y)\nx2 = min(im_w - 1, x1 + max(0, box_w - 1))\ny2 = min(im_h - 1, y1 + max(0, box_h - 1))\n- if x2 >= x1 and y2 >= y1:\...
Python
Apache License 2.0
paddlepaddle/paddledetection
filter invalid segmentation in data source (#1630)
499,333
30.10.2020 13:02:35
-28,800
eb6d119659220fb3409456327e2bfde85a6ecc37
enhance data check
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/coco.py", "new_path": "ppdet/data/source/coco.py", "diff": "@@ -137,12 +137,14 @@ class COCODataSet(DataSet):\ny1 = max(0, y)\nx2 = min(im_w - 1, x1 + max(0, box_w - 1))\ny2 = min(im_h - 1, y1 + max(0, box_h - 1))\n- if 'segmentation' in inst...
Python
Apache License 2.0
paddlepaddle/paddledetection
enhance data check (#1635)
499,304
02.11.2020 16:48:24
-28,800
957b3d13674fd93a2baab0b053944f61dfee4e88
fix quant train TrainReader error
[ { "change_type": "MODIFY", "old_path": "slim/quantization/train.py", "new_path": "slim/quantization/train.py", "diff": "@@ -60,7 +60,10 @@ def main():\n\"Currently only supports `--eval==True` while training in `quantization`.\"\n)\nenv = os.environ\n- FLAGS.dist = 'PADDLE_TRAINER_ID' in env and 'PA...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix quant train TrainReader error (#1638)
499,304
03.11.2020 18:20:03
-28,800
83b7a748fb9aac5ae08c3df4fbd3ddc925b78040
fix some solov2 inference error
[ { "change_type": "MODIFY", "old_path": "configs/solov2/README.md", "new_path": "configs/solov2/README.md", "diff": "@@ -12,17 +12,17 @@ SOLOv2 (Segmenting Objects by Locations) is a fast instance segmentation framewo\n## Model Zoo\n-| Backbone | Multi-scale training | Lr schd | Inf time (V100) | Mas...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix some solov2 inference error (#1648)
499,304
05.11.2020 19:49:36
-28,800
0239a6f10ae5f051aa8391a1ca9f050096e076c6
fix some video inference bug in deploy
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "@@ -71,10 +71,11 @@ class Detector(object):\ndef preprocess(self, im):\npreprocess_ops = []\nfor op_info in self.config.preprocess_infos:\n- op_type = op_info.pop('type')\n+ new_op_info = ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix some video inference bug in deploy (#1655)
499,313
06.11.2020 17:48:09
-28,800
6f15306d96c58f615dff9ee0be99e4ad16046d8b
update map_fps.png
[ { "change_type": "MODIFY", "old_path": "README_en.md", "new_path": "README_en.md", "diff": "@@ -13,8 +13,8 @@ image object detection, and automatic inspection with its practical features suc\nand multi-platform deployment.\n[PP-YOLO](https://arxiv.org/abs/2007.12099), which is faster and has higer p...
Python
Apache License 2.0
paddlepaddle/paddledetection
update map_fps.png (#1669)
499,304
10.11.2020 13:26:09
-28,800
f8f91d043f910ef67b83de5c5721c48ba6578ba8
remove segmentation field in voc2coco
[ { "change_type": "MODIFY", "old_path": "tools/x2coco.py", "new_path": "tools/x2coco.py", "diff": "@@ -246,7 +246,6 @@ def voc_get_coco_annotation(obj, label2id):\n'bbox': [xmin, ymin, o_width, o_height],\n'category_id': category_id,\n'ignore': 0,\n- 'segmentation': [] # This script is not for segmen...
Python
Apache License 2.0
paddlepaddle/paddledetection
remove segmentation field in voc2coco (#1667)
499,333
10.11.2020 15:54:19
-28,800
53da7ffdf834eff0fee9edc33fafc0e4f735c1d0
remove segm filter
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/coco.py", "new_path": "ppdet/data/source/coco.py", "diff": "@@ -137,13 +137,6 @@ class COCODataSet(DataSet):\ny1 = max(0, y)\nx2 = min(im_w - 1, x1 + max(0, box_w - 1))\ny2 = min(im_h - 1, y1 + max(0, box_h - 1))\n- if 'segmentation' in inst:...
Python
Apache License 2.0
paddlepaddle/paddledetection
remove segm filter (#1682)
499,304
19.11.2020 18:15:16
-28,800
6ffa0c6cf29ccee195a396919a29da24f9322292
set deploy python path
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n-import os\n+from __future__ import absolute_import\n+from __future__ import divisi...
Python
Apache License 2.0
paddlepaddle/paddledetection
set deploy python path (#1723)
499,313
19.11.2020 18:57:02
-28,800
3edc7d50718c25cd339c84a5726bd401d993c457
fix remove weights on re-download
[ { "change_type": "MODIFY", "old_path": "ppdet/utils/download.py", "new_path": "ppdet/utils/download.py", "diff": "@@ -213,7 +213,10 @@ def get_path(url, root_dir, md5sum=None, check_exist=True):\nlogger.debug(\"Found {}\".format(fullpath))\nreturn fullpath, True\nelse:\n+ if osp.isdir(fullpath):\nsh...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix remove weights on re-download (#1721)
499,304
20.11.2020 19:15:53
-28,800
96f0b94f3fc3b90b86668e344b525eb4b3737c4f
fix htc inference & deploy
[ { "change_type": "MODIFY", "old_path": "configs/htc/htc_r50_fpn_1x.yml", "new_path": "configs/htc/htc_r50_fpn_1x.yml", "diff": "@@ -212,3 +212,14 @@ TestReader:\n- !ResizeImage\ninterp: 1\nmax_size: 1333\n+ target_size: 800\n+ use_cv2: true\n+ - !Permute\n+ channel_first: true\n+ to_bgr: false\n+ ba...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix htc inference & deploy (#1729)
499,304
24.11.2020 10:20:23
-28,800
19f551fdc467ccf3114414435061dc4a83ad97c2
fix smoe model paddle version check
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/anchor_heads/solov2_head.py", "new_path": "ppdet/modeling/anchor_heads/solov2_head.py", "diff": "@@ -24,8 +24,6 @@ from paddle.fluid.regularizer import L2Decay\nfrom ppdet.modeling.ops import ConvNorm, DeformConvNorm, MaskMatrixNMS, DropBlock\nf...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix smoe model paddle version check (#1748)
499,304
25.11.2020 18:05:33
-28,800
0f15fc2019f1f153add2ea051eea4d481bd88bbf
fix misspelled word and image exif_transpose
[ { "change_type": "MODIFY", "old_path": "deploy/python/infer.py", "new_path": "deploy/python/infer.py", "diff": "@@ -341,7 +341,7 @@ class Config():\ndef print_config(self):\nprint('----------- Model Configuration -----------')\nprint('%s: %s' % ('Model Arch', self.arch))\n- print('%s: %s' % ('Use Pa...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix misspelled word and image exif_transpose (#1754)
499,304
03.12.2020 10:14:39
-28,800
6ef76039013c9a21262f1bb565712386fc8e8d2f
update solov2 model confrontation
[ { "change_type": "MODIFY", "old_path": "configs/solov2/README.md", "new_path": "configs/solov2/README.md", "diff": "@@ -16,12 +16,19 @@ SOLOv2 (Segmenting Objects by Locations) is a fast instance segmentation framewo\n## Model Zoo\n-| Backbone | Multi-scale training | Lr schd | V100 FP32(FPS) | Mask...
Python
Apache License 2.0
paddlepaddle/paddledetection
update solov2 model confrontation (#1798)
499,331
03.12.2020 16:15:02
-28,800
58f7e85b2ee06823f9e3e10ccb0dcf935c754f43
Remove CN comments in roadsign config. * Update QUICK_STARTED_cn.md fix typo * cherry-pick and test=document_fix
[ { "change_type": "ADD", "old_path": "docs/images/000000014439_640x640.jpg", "new_path": "docs/images/000000014439_640x640.jpg", "diff": "Binary files /dev/null and b/docs/images/000000014439_640x640.jpg differ\n" }, { "change_type": "ADD", "old_path": "docs/images/visualdl_roadsign.png",...
Python
Apache License 2.0
paddlepaddle/paddledetection
Remove CN comments in roadsign config. (#1791) * Update QUICK_STARTED_cn.md (#1757) fix typo * cherry-pick #1757 and #1473, test=document_fix
499,331
03.12.2020 23:32:44
-28,800
22b365d2bb76d38c459697c1a398472fc188fa6f
remove stride param in anchor_generator, stride does not work when using FPN
[ { "change_type": "MODIFY", "old_path": "configs/faster_rcnn_r50_fpn_1x.yml", "new_path": "configs/faster_rcnn_r50_fpn_1x.yml", "diff": "@@ -34,7 +34,6 @@ FPNRPNHead:\nanchor_generator:\nanchor_sizes: [32, 64, 128, 256, 512]\naspect_ratios: [0.5, 1.0, 2.0]\n- stride: [16.0, 16.0]\nvariance: [1.0, 1.0...
Python
Apache License 2.0
paddlepaddle/paddledetection
remove stride param in anchor_generator, stride does not work when using FPN (#1801)
499,304
04.12.2020 13:45:32
-28,800
f0226a1cbec2793f41f40acb40f1b7ed542aff1f
fix ssdlite_ghostnet weights link
[ { "change_type": "MODIFY", "old_path": "docs/MODEL_ZOO.md", "new_path": "docs/MODEL_ZOO.md", "diff": "@@ -202,7 +202,7 @@ results of image size 608/416/320 above. Deformable conv is added on stage 5 of\n| MobileNet_v3 large | 320 | 64 | Cosine decay(40w) | - | 23.3 | [model](https://paddlemodels.bj....
Python
Apache License 2.0
paddlepaddle/paddledetection
fix ssdlite_ghostnet weights link (#1813)
499,331
06.12.2020 19:03:53
-28,800
857b17b8991bca3333c67fdf363d5f3c24baf88f
set batch_size=1 when eval, and fix bug of cpp build on winodows
[ { "change_type": "MODIFY", "old_path": "configs/yolov3_mobilenet_v1_roadsign.yml", "new_path": "configs/yolov3_mobilenet_v1_roadsign.yml", "diff": "@@ -144,7 +144,7 @@ EvalReader:\n- !Permute\nto_bgr: false\nchannel_first: True\n- batch_size: 8\n+ batch_size: 1\ndrop_empty: false\nworker_num: 4\nbuf...
Python
Apache License 2.0
paddlepaddle/paddledetection
set batch_size=1 when eval, and fix bug of cpp build on winodows (#1822)
499,385
07.12.2020 19:44:53
-28,800
16735ddbc85fefe5c12a2267e2665a6e9ac5abb8
Add SOLOv2 link in README test=document_fix
[ { "change_type": "MODIFY", "old_path": "README_en.md", "new_path": "README_en.md", "diff": "@@ -244,6 +244,8 @@ All these models can be get in [Model Zoo](#ModelZoo)\n- [PP-YOLO](configs/ppyolo/README_cn.md)\n- [676 classes of object detection](docs/featured_model/LARGE_SCALE_DET_MODEL.md)\n- [Two-s...
Python
Apache License 2.0
paddlepaddle/paddledetection
Add SOLOv2 link in README (#1833) test=document_fix
499,333
11.12.2020 10:51:12
-28,800
b6cd99eb82caa49e9d9c124af069fdc59e0830cf
fix condition when segm is empty
[ { "change_type": "MODIFY", "old_path": "ppdet/data/reader.py", "new_path": "ppdet/data/reader.py", "diff": "@@ -346,7 +346,8 @@ class Reader(object):\n# 'drop this sample'.format(\n# sample['im_file'], sample['gt_bbox']))\ncontinue\n- if self._drop_empty and self._fields and 'gt_poly' in sample:\n+ ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix condition when segm is empty (#1864)
499,304
15.12.2020 20:33:33
-28,800
ef65c7e165cd893f04fded82a9200c8e1deb3b5a
adapt keypoint detection for deploy
[ { "change_type": "MODIFY", "old_path": "configs/face_detection/blazeface_keypoint.yml", "new_path": "configs/face_detection/blazeface_keypoint.yml", "diff": "@@ -9,6 +9,7 @@ save_dir: output\nweights: output/blazeface_keypoint/model_final.pdparams\n# 1(label_class) + 1(background)\nnum_classes: 2\n+...
Python
Apache License 2.0
paddlepaddle/paddledetection
adapt keypoint detection for deploy (#1899)
499,304
17.12.2020 13:08:31
-28,800
83e9e08fbf891d1bc7213a52fa4396061dfff381
fix im_info in solov2 deploy infer
[ { "change_type": "MODIFY", "old_path": "deploy/python/preprocess.py", "new_path": "deploy/python/preprocess.py", "diff": "@@ -86,6 +86,9 @@ class Resize(object):\n\"\"\"\nim_channel = im.shape[2]\nim_scale_x, im_scale_y = self.generate_scale(im)\n+ im_info['resize_shape'] = [\n+ im_scale_x * float(i...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix im_info in solov2 deploy infer (#1910)
499,395
19.12.2020 00:10:45
-28,800
490886aee7926b064e186c3609c1a83b73cef9e9
fix problems in export_model, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/tools/export_model.py", "new_path": "dygraph/tools/export_model.py", "diff": "@@ -57,8 +57,10 @@ def parse_args():\ndef dygraph_to_static(model, save_dir, cfg):\nif not os.path.exists(save_dir):\nos.makedirs(save_dir)\n+ image_shape = None\n+ if 'input...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix problems in export_model, test=dygraph (#1934)
499,304
31.12.2020 14:28:30
-28,800
379b731a6b95dcba4234366eb7f5ab170bda1070
fix record empty error in coco reader
[ { "change_type": "MODIFY", "old_path": "ppdet/data/source/coco.py", "new_path": "ppdet/data/source/coco.py", "diff": "@@ -146,6 +146,8 @@ class COCODataSet(DataSet):\n'x1: {}, y1: {}, x2: {}, y2: {}.'.format(\nimg_id, x1, y1, x2, y2))\nnum_bbox = len(bboxes)\n+ if num_bbox <= 0:\n+ continue\ngt_bbox...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix record empty error in coco reader (#1960)
499,395
06.01.2021 18:01:15
-28,800
2e8b4e149f00fa912980510c1964b1c2970e8222
modify coco.py to avoid problem due to string img_id
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/data/source/coco.py", "new_path": "dygraph/ppdet/data/source/coco.py", "diff": "@@ -65,7 +65,7 @@ class COCODataSet(DetDataset):\n'and load image information only.'.format(anno_path))\nfor img_id in img_ids:\n- img_anno = coco.loadImgs(img_id)[0]...
Python
Apache License 2.0
paddlepaddle/paddledetection
modify coco.py to avoid problem due to string img_id (#2008)
499,333
07.01.2021 13:36:49
-28,800
f0d695317e4bce2957776dcfc2aaf54eabddf59b
fix mask_fpn coverge, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/architectures/mask_rcnn.py", "new_path": "dygraph/ppdet/modeling/architectures/mask_rcnn.py", "diff": "@@ -87,7 +87,7 @@ class MaskRCNN(BaseArch):\n# compute targets here when training\nrois = self.proposal(self.inputs, self.rpn_head_out...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix mask_fpn coverge, test=dygraph (#2015)
499,304
07.01.2021 16:24:06
-28,800
4511b8793f1343d5f1d22143f63d53449409c005
fix hrnet comment
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/backbones/hrnet.py", "new_path": "ppdet/modeling/backbones/hrnet.py", "diff": "@@ -39,12 +39,12 @@ class HRNet(object):\n\"\"\"\nHRNet, see https://arxiv.org/abs/1908.07919\nArgs:\n- depth (int): ResNet depth, should be 18, 34, 50, 101, 152.\n+ ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix hrnet comment (#2020)
499,304
11.01.2021 09:51:56
-28,800
7042801c7d7dc1f8425bdf729e477bcc15ad3631
fix save_model bug and remove inputs[mode] in rcnn
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/architectures/cascade_rcnn.py", "new_path": "dygraph/ppdet/modeling/architectures/cascade_rcnn.py", "diff": "@@ -99,6 +99,7 @@ class CascadeRCNN(BaseArch):\nself.inputs,\nself.rpn_head_out,\nself.anchor_out,\n+ self.training,\ni,\nrois,\...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix save_model bug and remove inputs[mode] in rcnn (#2031)
499,304
11.01.2021 15:12:34
-28,800
11a059c90c63c4ff269b49ad6727b501a21577d9
fix dygraph to static model error, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/export_utils.py", "new_path": "dygraph/ppdet/engine/export_utils.py", "diff": "@@ -99,7 +99,8 @@ def _dump_infer_config(config, path, image_shape, model):\n'Architecture: {} is not supported for exporting model now'.format(\ninfer_arch))\n...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix dygraph to static model error, test=dygraph (#2037)
499,304
12.01.2021 22:29:59
-28,800
8dfbd86a4e0cb8a9892b9a25994a04491416d154
fix condition of coco segmention
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/data/source/coco.py", "new_path": "dygraph/ppdet/data/source/coco.py", "diff": "@@ -128,7 +128,7 @@ class COCODataSet(DetDataset):\n# check RLE format\nif 'segmentation' in box and box['iscrowd'] == 1:\ngt_poly[i] = [[0.0, 0.0], ]\n- elif 'segmen...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix condition of coco segmention (#2046)
499,304
13.01.2021 17:39:35
-28,800
5afa83e570e61eb14686d98b03f3acb567bd5623
fix framework warning in solov2
[ { "change_type": "MODIFY", "old_path": "ppdet/core/workspace.py", "new_path": "ppdet/core/workspace.py", "diff": "@@ -24,6 +24,11 @@ import yaml\nimport copy\nimport collections\n+try:\n+ collectionsAbc = collections.abc\n+except AttributeError:\n+ collectionsAbc = collections\n+\nfrom .config.schem...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix framework warning in solov2 (#2052)
499,304
13.01.2021 21:48:49
-28,800
b5f0e5b52a43c1793fbf6359e5d46e9355c0cc2f
fix framework warning
[ { "change_type": "MODIFY", "old_path": "ppdet/modeling/backbones/fpn.py", "new_path": "ppdet/modeling/backbones/fpn.py", "diff": "@@ -18,7 +18,6 @@ from __future__ import print_function\nfrom collections import OrderedDict\nimport copy\n-import paddle\nfrom paddle import fluid\nfrom paddle.fluid.par...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix framework warning (#2058)
499,304
14.01.2021 14:11:10
-28,800
49b6a0ec43d6eb97a136063a868bbf0f857e2d99
fix hard_sigmoid api
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/backbones/mobilenet_v3.py", "new_path": "dygraph/ppdet/modeling/backbones/mobilenet_v3.py", "diff": "@@ -20,7 +20,6 @@ import paddle\nimport paddle.nn as nn\nimport paddle.nn.functional as F\nfrom paddle import ParamAttr\n-from paddle.nn...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix hard_sigmoid api (#2065)
499,331
15.01.2021 16:42:57
-28,800
6a46b3c4211d3d67429d88d63199f1eba41e8f3a
fix build error when using paddle_inference_lib 2.0rc1 on windows in dygraph mode
[ { "change_type": "MODIFY", "old_path": "dygraph/deploy/cpp/CMakeLists.txt", "new_path": "dygraph/deploy/cpp/CMakeLists.txt", "diff": "@@ -3,8 +3,10 @@ project(PaddleObjectDetector CXX C)\noption(WITH_MKL \"Compile demo with MKL/OpenBlas support,defaultuseMKL.\" ON)\noption(WITH_GPU \"Compile demo wi...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix build error when using paddle_inference_lib 2.0rc1 on windows in dygraph mode (#2042)
499,333
18.01.2021 14:53:58
-28,800
99ad5a84ae1f63881a9a6e1cc2bfa5b30494eac2
fix_eval, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -97,8 +97,8 @@ class Trainer(object):\ndef _init_metrics(self):\nif self.mode == 'eval':\nif self.cfg.metric == 'COCO':\n- mask_resolution = self.model.mask_post_proce...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix_eval, test=dygraph (#2082)
499,304
18.01.2021 19:08:18
-28,800
e7dbeb06b4972995920e9a2c3f563f67544ca5a3
fix dygraph solov2 configs, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/solov2/solov2_r50_fpn_1x_coco.yml", "new_path": "dygraph/configs/solov2/solov2_r50_fpn_1x_coco.yml", "diff": "_BASE_: [\n- '../_base_/datasets/coco_instance.yml',\n- '../_base_/runtime.yml',\n+ '../datasets/coco_instance.yml',\n+ '../runtime.ym...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix dygraph solov2 configs, test=dygraph (#2086)
499,304
18.01.2021 20:07:56
-28,800
2bdb9a862a12eb1e2d043236ef13c01278f6adaa
fix dygraph re5_head bug, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/backbones/resnet.py", "new_path": "dygraph/ppdet/modeling/backbones/resnet.py", "diff": "@@ -530,14 +530,15 @@ class ResNet(nn.Layer):\n@register\nclass Res5Head(nn.Layer):\n- def __init__(self, feat_in=1024, feat_out=512):\n+ def __init...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix dygraph re5_head bug, test=dygraph (#2088)
499,304
19.01.2021 11:18:29
-28,800
05e4883b46f71c4f546051001a150f636f61edef
fix paddle.shape in export model
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/layers.py", "new_path": "dygraph/ppdet/modeling/layers.py", "diff": "@@ -536,7 +536,7 @@ class RCNNBox(object):\n# TODO: Updata box_clip\norigin_h = paddle.unsqueeze(origin_shape[:, 0] - 1, axis=1)\norigin_w = paddle.unsqueeze(origin_sha...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix paddle.shape in export model (#2091)
499,304
26.01.2021 20:20:33
-28,800
13f0b561ae243eb98eb73119a77035c5afa6fdf8
fix background_label in nms
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/fcos/_base_/fcos_r50_fpn.yml", "new_path": "dygraph/configs/fcos/_base_/fcos_r50_fpn.yml", "diff": "@@ -57,4 +57,3 @@ FCOSPostProcess:\nkeep_top_k: 100\nscore_threshold: 0.025\nnms_threshold: 0.6\n- background_label: -1\n" }, { "change_...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix background_label in nms (#2125)
499,304
27.01.2021 16:06:57
-28,800
52438b300c597d46a43ea5227a67b610b4c71f2d
fix dygraph getting_started doc
[ { "change_type": "MODIFY", "old_path": "dygraph/requirements.txt", "new_path": "dygraph/requirements.txt", "diff": "@@ -4,5 +4,3 @@ visualdl>=2.0.0b\nopencv-python\nPyYAML\nshapely\n-llvmlite==0.33\n-numba==0.50\n" }, { "change_type": "MODIFY", "old_path": "dygraph/tools/eval.py", "n...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix dygraph getting_started doc (#2128)
499,298
29.01.2021 11:07:36
-28,800
d48b3ff7b8f86663b0f1c8c0cc720eeeeb246f85
fit for fcos
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/fcos/_base_/fcos_r50_fpn.yml", "new_path": "dygraph/configs/fcos/_base_/fcos_r50_fpn.yml", "diff": "@@ -17,11 +17,9 @@ ResNet:\nnum_stages: 4\nFPN:\n- in_channels: [256, 512, 1024, 2048]\nout_channel: 256\n- min_level: 1\n- max_level: 5\n- spat...
Python
Apache License 2.0
paddlepaddle/paddledetection
fit for fcos (#2133)
499,333
30.01.2021 11:24:37
-28,800
3cd9e8571aecbfa36ff765f432a2998652eb24b3
fix batch size > 1, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/data/transform/batch_operator.py", "new_path": "dygraph/ppdet/data/transform/batch_operator.py", "diff": "@@ -115,8 +115,8 @@ class PadBatchOp(BaseOperator):\ngt_num_max = max(gt_num)\nfor i, data in enumerate(samples):\n- gt_box_data = np.zeros(...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix batch size > 1, test=dygraph (#2141)
499,395
30.01.2021 13:13:40
-28,800
c466de67fc381947f9b7e4411cb13d9a8240c87b
fix bug while training in single gpu
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -167,6 +167,8 @@ class Trainer(object):\nif self._nranks > 1:\nmodel = paddle.DataParallel(self.model)\n+ else:\n+ model = self.model\nself.status.update({\n'epoch_id'...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix bug while training in single gpu (#2140)
499,298
30.01.2021 19:14:41
-28,800
6d92ef310233184690ed5db2e1a52f0271618568
fix res5head config
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/faster_rcnn/faster_rcnn_r101_1x_coco.yml", "new_path": "dygraph/configs/faster_rcnn/faster_rcnn_r101_1x_coco.yml", "diff": "@@ -10,5 +10,5 @@ ResNet:\ndepth: 101\nnorm_type: bn\nfreeze_at: 0\n- return_idx: [0,1,2,3]\n- num_stages: 4\n+ return_i...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix res5head config (#2138)
499,313
30.01.2021 20:32:56
-28,800
bf700a8e700b69149c65d849cf942ba2959b19ab
fix ssd background to last
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -165,6 +165,7 @@ class Trainer(object):\nif not self._weights_loaded:\nself.load_weights(self.cfg.pretrain_weights)\n+ model = self.model\nif self._nranks > 1:\nmodel ...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix ssd background to last (#2145)
499,304
01.02.2021 16:46:44
-28,800
83f11ba02da50dc12d4ceef91be4968fea31fd5e
fix init_metrics and prune
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -110,6 +110,9 @@ class Trainer(object):\nself._compose_callback = None\ndef _init_metrics(self):\n+ if self.mode == 'test':\n+ self._metrics = []\n+ return\nif self.cf...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix init_metrics and prune (#2153)
499,395
02.02.2021 15:37:13
-28,800
524f56f96a11133e0f55fb76bc3d556d37e805a0
fix bias problem while training
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -115,9 +115,10 @@ class Trainer(object):\nreturn\nif self.cfg.metric == 'COCO':\n# TODO: bias should be unified\n+ bias = 1 if 'bias' in self.cfg else 0\nself._metrics...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix bias problem while training (#2161)
499,333
02.02.2021 16:26:28
-28,800
bfbffe698653d93be26c183f6cf64556ccc743eb
update check_version
[ { "change_type": "MODIFY", "old_path": "ppdet/utils/check.py", "new_path": "ppdet/utils/check.py", "diff": "@@ -94,6 +94,8 @@ def check_version(version='1.7.0'):\nfor i in six.moves.range(length):\nif version_installed[i] > version_split[i]:\nreturn\n+ if len(version_installed[i]) == 1 and len(versi...
Python
Apache License 2.0
paddlepaddle/paddledetection
update check_version (#2157)
499,395
05.02.2021 14:06:00
-28,800
9a4fae6d49c8e49e7c3168d69d94d77dfbb41785
fix hard code bias in eval
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/engine/trainer.py", "new_path": "dygraph/ppdet/engine/trainer.py", "diff": "@@ -115,7 +115,7 @@ class Trainer(object):\nreturn\nif self.cfg.metric == 'COCO':\n# TODO: bias should be unified\n- bias = 1 if 'bias' in self.cfg else 0\n+ bias = self....
Python
Apache License 2.0
paddlepaddle/paddledetection
fix hard code bias in eval (#2186)
499,313
06.02.2021 15:38:21
-28,800
2686dce87376d2e04ee857f28e626a4a454a203f
fix ssd export
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/modeling/architectures/ssd.py", "new_path": "dygraph/ppdet/modeling/architectures/ssd.py", "diff": "@@ -43,9 +43,8 @@ class SSD(BaseArch):\nself.inputs['gt_bbox'],\nself.inputs['gt_class'])\nelse:\n- boxes, scores, anchors = self.ssd_head(body_fe...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix ssd export (#2176)
499,298
07.02.2021 16:12:31
-28,800
bda64b5d7244be5d986b6848b7c116418a8f9c9c
fix bs and voc_metrics, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/ppdet/metrics/metrics.py", "new_path": "dygraph/ppdet/metrics/metrics.py", "diff": "@@ -149,9 +149,9 @@ class VOCMetric(Metric):\nself.detection_map.reset()\ndef update(self, inputs, outputs):\n- bboxes = outputs['bbox'].numpy()\n- scores = outputs['sc...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix bs and voc_metrics, test=dygraph (#2195)
499,333
10.02.2021 15:23:06
-28,800
ed6b5e9972f17de7fda5641cfb267bc4f966527b
fix mask rcnn, test=dygraph
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/faster_rcnn/_base_/faster_rcnn_r50.yml", "new_path": "dygraph/configs/faster_rcnn/_base_/faster_rcnn_r50.yml", "diff": "@@ -34,7 +34,7 @@ RPNHead:\nnms_thresh: 0.7\npre_nms_top_n: 12000\npost_nms_top_n: 2000\n- topk_after_collect: True\n+ topk_...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix mask rcnn, test=dygraph (#2208)
499,304
11.02.2021 14:32:37
-28,800
609db8baec85d61fbdad17f5965cab27c0ffa5be
fix solov2 with_background & from_config
[ { "change_type": "MODIFY", "old_path": "dygraph/configs/solov2/_base_/solov2_r50_fpn.yml", "new_path": "dygraph/configs/solov2/_base_/solov2_r50_fpn.yml", "diff": "@@ -9,7 +9,6 @@ SOLOv2:\nmask_head: SOLOv2MaskHead\nResNet:\n- # index 0 stands for res2\ndepth: 50\nnorm_type: bn\nfreeze_at: 0\n@@ -17...
Python
Apache License 2.0
paddlepaddle/paddledetection
fix solov2 with_background & from_config (#2205)