New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌟 PP-PicoDet已发布,欢迎大家试用&讨论 #4420
Comments
PaddlePaddle=2.2.0明天才发布对吧,找了半天好像没地方安装 |
@Xwmiss 嗯嗯,今天刚打tag,这两天发布安装包后我再同步,可以先使用dev版本Paddle:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/develop/install/pip/linux-pip.html |
好的好的👍 |
|
@Xwmiss 应该先训练好模型,再配置slim_config中的pretain_weights为训好的fp32模型,再进行量化训练。 现在默认的指令会下载训好的COCO上的预训练模型 进行量化训练。 |
十分感谢您的回复!👍 |
训练报错 报错行 |
picodet有VOC格式配置文件吗 |
@ChinaRush ppdet支持的 这个和模型关系不是很大可以自己配一下的datasets 或者 转成coco跑 在tools里有工具 |
训练后报错提示: |
@gaorui999 这个问题已解,请更新最新代码就行。 |
训练 自己的数据集,训练完后eval ap50精度只有0.224, 配置文件也只改了num_classes, 是还有哪里需要改的吗 |
@yu937861 您自己的数据集多大呢?默认的预训练只有Backbone在Imagenet上的,由于移动端模型收敛较慢,如果您数据集较小,建议pretrain_weights直接加载COCO上训好的权重,这样迁移学习会加快模型的收敛。 |
为什么 picodet_l 的 epoch=250,而 CosineDecay 的 max_epochs=300,二者不应该是相同的吗 |
好的我再试一下,谢谢 |
@Xiaoyw1998 PicoDet-l的模型较大,会提前收敛到最优mAP,所以总得epoch调小成250。 |
想问一下,cycle-epochs应该是一个经验值,那如果训练轮数不再是250,而是150或者更少的话,适合多少呢,这一设置是否有明显的影响对于结果? |
你好,picodet_s_coco,转换为openvino成功,但是使用third_engine/demo_openvino调用,报错如下: |
@zwhua006 cycle_epoch这个参数是控制Cycle-EMA中的reset的epoch间隔数,我们实验中证明40是一个不错的设置。训练轮数的话需要看模型的收敛情况,在COCO上我们默认设置了300或250epoch. |
@thenighthunter0 我们openvino的问题再认真排查下~ |
@17076372880 先读入的是EvalReader中COCO 验证集,然后读入训练集,确认下dataset/coco/annotations/train_anno.json是否存在。 |
这个是存在的,数据集和配置文件(coco_detection.yml)都是之前跑2.1版本的yolo v3的,之前是没啥问题的。 |
大家好,我用pp训练了PicoDet,然后导出模型进行sering部署,但预测时出现主要的错误: {'err_no': 8, 'err_msg': "(data_id=0 log_id=0) [ppyolo|0] Failed to postprocess: 'transpose_17.tmp_0.lod'", 'key': [], 'value': [], 'tensors': []} serving_server 中的 serving_server_conf.prototxt : 我配置的config.yml:
rpc_port: 9998 请问 fetch_list: 要配置成什么样的? |
python tools/export_model.py -c configs/picodet/picodet_L_640_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/pretrained/ESNet_x1_25_pretrained.pdparams --output_dir=inference_model TestReader.inputs_def.image_shape=[3,640,640] |
另外,想请教下,看了下cfg文件, 数据增强只用了这个吗- RandomFlip: {prob: 0.5} |
@sdreamforchen 数据增强包含crop和flip还有RandomDistort 导出未修改的模型预测结果正常吗?需要看下你修改的位置,改了什么激活函数。 |
您好,我改了hard sigmoid和hard swish(基于relu6实现),因为我的下游嵌入式对这两个函数支持也存在一定的问题; 改了后用eval.py测试了下,各方面都是对的,就是延迟厉害,Titan RTX才17帧,l-640模型。 |
之所以改激活函数,是因为转换后的onnx的hardsigmoid函数。下游嵌入式会报错。 今天用netron确认了问题,查看了转换的alpha不是0.2是0.166667 |
|
Hello, yghstill Should i ask some question of PaddleDetection-PP-PicoDet with Pytouch to TensorRT? I found some information about Pytouch to TensorRT.
Thank you.
|
@tb5874 PP-PicoDet is a mobile model, and it is not planned to support TensorRT, but the upcoming PP-YOLOE model will support the function of TensorRT, welcome to pay attention. |
So good! 想请问下,nccl想过的提示是,让我们安装nccl2.这个和conda install -c anaconda nccl是不一样的吗?还是必须用https://docs.nvidia.com/deeplearning/nccl/install-guide/index.html这个方法是安装nccl? |
@yghstill Thank you for your kind explanation. I have AMD Ryzen5 5600G( 6 core, 3.9GHz ) with RTX3060. ( but i have another GPU(RTX3090). So i will test it. ) Target is low computing power, Like above environment. Should i ask some best recommend of PaddleDetection Object Detector. like above environment ? Thank you. |
@tb5874 It is also recommended that you use the PP-YOLOE model. We tested it on Jetson Xavier NX and it performs well |
@yghstill Thank you ! If that is not mean PP-YOLOE, should i pre-test PP-YOLOE ? Thank you. |
@tb5874 PP-YOLOE is another paper, and it is coming soon. |
您好!您的来信我已经收到,我会尽快查阅并回复您的!
|
picodet 转成MNN最新版本输出的是transpose,以前版本输出的是save_infer_model/scale_4.tmp_1这种,现在demo mnn推理存在问题,能否帮忙看一下 |
@cv-nlp 好的我们修复下此问题。 |
使用picodet_640_l训练模型之后, 使用动态图的文件进行预测结果没有问题, 但是当导出模型之后其中top, bottom 始终为inf是为什么呢? |
您好!您的来信我已经收到,我会尽快查阅并回复您的!
|
您好!您的来信我已经收到,我会尽快查阅并回复您的!
|
您好!您的来信我已经收到,我会尽快查阅并回复您的!
|
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮箱已经收到,谢谢
|
您好!您的来信我已经收到,我会尽快查阅并回复您的!
|
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮箱已经收到,谢谢
|
PP-PicoDet是轻量级实时移动端目标检测模型,我们提出了从小到大的一系列模型,包括S、M、L等,超越现有SOTA模型。
模型特色:
链接:
欢迎大家试用,有疑问欢迎讨论盖楼~
和其他模型对比:
FAQ汇总: (持续更新中)
__base__
中配置,picodet_x_coco.yml中的所有设置会覆盖__base__
中配置,所以修改picodet_x_coco.yml的配置即可。为了方便大家交流沟通,欢迎扫码添加微信群,继续交流有关PP-PicoDet的使用及建议~
The text was updated successfully, but these errors were encountered: