微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

训练损失在检测器2中没有减少

如何解决训练损失在检测器2中没有减少

我正在使用detectron2来训练自定义模型来检测文档的布局,其中包括['header','title','text','form','footer','table','list','数字']。训练超过 15000 次迭代后,损失并没有减少。 我有大约 3000 个训练样本的数据。

我的配置文件看起来像-

"use strict";
const functions = require("firebase-functions");
const admin = require("firebase-admin");
const fetch = require("node-fetch")
exports.sendslackrep = functions.https.onRequest(async(req,res)=>{

    
    res.status(200).send('Got It!'); //can't do this,this will signal termination
    res.write('SUCCESS') //this doesn't seem to work either 
    
    //do intense processing here (4-7s) and resond via response_url from req.body
    return fetch(response_url,messageDetails)
  });

我该如何解决这个问题?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。