PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.81k stars 2.89k forks source link

[BUG]SNIPER训练BUG #4658

Closed lg93lggt closed 2 years ago

lg93lggt commented 2 years ago

PaddleDetection team appreciate any suggestion or problem you delivered~

Checklist:

  1. 查找历史相关issue寻求解答/I have searched related issues but cannot get the expected help.
  2. 翻阅FAQ /I have read the FAQ documentation but cannot get the expected help.
  3. 确认bug是否在新版本里还未修复/The bug has not been fixed in the latest version.

描述问题/Describe the bug

1.训练SNIPER模型, 先训练了rpn+proposal部分,可以运行,继续训练rcnn主干网络则有warning之后自动退出.(重新训练主干正常) 2.负样本proposal.json是在哪部分使用到了呢?

复现/Reproduction

  1. 您使用的命令是?

python tools/train.py -c "xxx\configs\sniper\faster_rcnn_r50_fpn_1x_sniper_visdrone.yml" -r "xxx\output\model_final.pdparams" --use_vdl True --vdl_log_dir "xxx\log\vdl"

  1. 您是否更改过代码或配置文件?您是否理解您所更改的内容?还请您提供所更改的部分代码

  2. . 否

  3. 您使用的数据集是?

coco

  1. 请提供您出现的报错信息及相关log。

loading annotations into memory... Done (t=0.01s) creating index... index created! [11/23 09:35:38] sniper_coco_dataset INFO: Init AnnoCropper... [11/23 09:35:40]ppdet.utils.checkpoint INFO: Finish resuming model weights: xxx\output\model_final.pdparams E:\Anaconda\envs\paddle\lib\site-packages\paddle\framework\io.py:415: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working if isinstance(obj, collections.Iterable) and not isinstance(obj, (

环境/Environment

paddle-cpu 2.2, paddledet-latest

  1. 如您在使用PaddleDetection的同时还在使用其他产品,如PaddleServing、PaddleInference等,请您提供其版本号

  1. 请提供您使用的操作系统信息,Win10X64:

  2. 请问您使用的Python版本是?38.

  3. 请问您使用的CUDA/cuDNN的版本号是?none.

lyuwenyu commented 2 years ago
  1. 直接退出 没有报错信息?
  2. https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.3/ppdet/data/source/sniper_coco.py#L44
lg93lggt commented 2 years ago
  1. 直接退出 没有报错信息?
  2. https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.3/ppdet/data/source/sniper_coco.py#L44

嗯没有报error

shunchuan commented 2 years ago

我在按照quick_start进行操作时,遇到了同样的问题。 image

paddle-bot-old[bot] commented 2 years ago

Since this issue has not been updated for more than three months, it will be closed, if it is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于该问题超过三个月未更新,将会被关闭,若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。