PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.3k stars 5.62k forks source link

自己建的模型配置文件没有预训练权重怎么办? #35622

Closed zmdcs closed 2 years ago

zmdcs commented 3 years ago

yolov4的主干网络替换成mobilenetv3,可是官网没有这个的预训练权重,我用yolo4的或者yolo3_mobilenetv3的预训练权重都不行,请问怎么能不设置预训练权重呢?

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

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

ceci3 commented 3 years ago

不填的话应该就不设置了

zmdcs commented 3 years ago

可是会报错,必须有预训练权重

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年9月10日(星期五) 中午1:57 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [PaddlePaddle/Paddle] 自己建的模型配置文件没有预训练权重怎么办? (#35622)

不填的话应该就不设置了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

wangxinxin08 commented 3 years ago

没有pretrain_weights的话可以填成空字符串,即'',或者python tools/train.py -c configs/my_config.yml -o pretrain_weights=''