PaddleSeg训练报错

sq1bmfud  于 5个月前  发布在  其他
关注(0)|答案(5)|浏览(53)

请提出你的问题 Please ask your question

使用服务器上的这个预训练模型pretrained: https://paddlelite-demo.bj.bcebos.com/models/deeplab_mobilenet_fp32_fluid.tar.gz,训练显示The pretrained model directory is not Found: /home/qq/.paddleseg/pretrained_model/deeplab_mobilenet_fp32_fluid/model.pdparams

vxqlmq5t

vxqlmq5t1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网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!

oiopk7p5

oiopk7p52#

以下是我训练使用的完整的yml文件

batch_size: 4
iters: 1000

train_dataset:
type: OpticDiscSeg
dataset_root: data/cc
transforms:

  • type: Resize
    target_size: [513, 513]
  • type: RandomHorizontalFlip
  • type: Normalize
    mode: train

val_dataset:
type: OpticDiscSeg
dataset_root: data/cc
transforms:

  • type: Resize
    target_size: [513, 513]
  • type: Normalize
    mode: val

optimizer:
type: sgd
momentum: 0.9
weight_decay: 4.0e-5

lr_scheduler:
type: PolynomialDecay
learning_rate: 0.01
end_lr: 0
power: 0.9

loss:
types:

  • type: CrossEntropyLoss
    coef: [1]

distill_loss is used for distillation

distill_loss:
types:

  • type: KLLoss
    coef: [3]

model:
type: DeepLabV3P
backbone:
type: MobileNetV2_x1_0
pretrained: https://paddlelite-demo.bj.bcebos.com/models/deeplab_mobilenet_fp32_fluid.tar.gz

f5emj3cl

f5emj3cl3#

@Shixiaowei02 大佬,您好,能抽空帮忙看一下这个问题吗?

w1jd8yoj

w1jd8yoj4#

您好,看起来是文件路径没有设置正确,按照路径字符串找不到所需的文件

pbpqsu0x

pbpqsu0x5#

@Shixiaowei02 您好,我把这个 https://paddlelite-demo.bj.bcebos.com/models/deeplab_mobilenet_fp32_fluid.tar.gz
文件下载下来之后,里面没有model.pdparams这个文件,请问是怎么回事呀?

相关问题