-
Notifications
You must be signed in to change notification settings - Fork 150
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
您好,请问训练过后如何在benchmark数据库上检测训练结果的准确率? #46
Comments
这两个文件就是用eva.py生成的文件。你可以查看 https://www.jianshu.com/p/6e5f7925f207 |
谢谢您的分享~暂时还没运行出结果 |
谢谢提醒,感谢分享@yangxue0827 这是旧版的评分: 这是faster rcnn输出的坐标,这里有问题吗??:
修改之后的代码如下:
|
你这个代码有问题,首先用的是训练集在评估,其次图片是经过缩放的,检测结果需要映射到原图才行。 @yanghedada |
fpn的框存放形式就是ymin xmin ymax xmax ,所以你这里是对的 @yanghedada |
谢谢指点,感谢你分享。@yangxue0827 在进行评估的时候is_training=False应该就是test集数据了。 我上次修改的时候忽略了图片的预处理。现在修改如下:
|
所以结果是多少了呢 @yanghedada |
谢谢作者指导,感谢作者提供这么流畅的代码。@yangxue0827 当FAST_RCNN_IOU_MAP=.01,会给一个安慰结果。 这里会不会还有其他问题?:
|
你可以试试这个代码,用法差不多,复现效果比较好。最近FPN也在重新复现,效果好的话会放出来。 |
Recommend improved code: https://github.com/DetectionTeamUCAS/FPN_Tensorflow. @lilmangolil @yanghedada |
谢谢作者解答。@yangxue0827 FAST_LOSS: RPN_LOSS: 在voc_242002model.ckpt:
config:
20万次之后的mAP并没有到达你的效果。我这个有config什么问题吗?? 再次感谢作者。。。 |
FPN这个代码没有复现好,在多类效果差,我在readme已经说明了。请使用新的代码 https://github.com/DetectionTeamUCAS/FPN_Tensorflow。 @yanghedada |
您好,请问anchor size的设定的依据是什么呢,是该层的感受野大小吗?感谢! |
就是按照感受野大小设定的。@lilmangolil |
您好,请问您所提供的这段代码是否有完整的工程呢?因为里面好多import的文件原始文件里是没有的。谢谢啦(#^.^#) |
你好@lilmangolil。有一些代码是从点这里拷的。但我建议使用DetectionTeamUCAS/FPN_Tensorflow的代码,这是最完整的代码,两者的项目代码风格不一样。而且,训练出来的模型的mAP的准确度和提交在VOC服务器上mAP相差不大,在1~10%以内。感谢作者的代码。 |
10%? @yanghedada 会有这么大吗? |
差不多吧@yangxue0827。在2007上测试为80%,提交一个2012的结果为74% |
你是指提交官网后,训练2007数据集的结果是80,训练2012数据集是74吗 @yanghedada |
2007我是在电脑上测试的4952张图片80%。我只提交了2012的数据,2007没看到提交选项。@yangxue0827 |
我没有训练和测试过2012数据集,readme里是2007数据集在07和12评价标准下测的结果。你的74是训练的2012数据集吗,然后用2012标准测试? |
@yangxue0827,应该是测试2000张图片是80%. 4952张图片如下,现场跑的:
我使用2007和2012的训练集和验证集进行训练,使用了预训练模型。 提交结点这里 |
那效果还可以的 @yanghedada |
刚看到提交的结果,你自己测的结果和提交官网的结果是同一个测试集的结果吗?那样的话差的有点多啊 @yanghedada |
我自己的测试结果是2007的测试集数据,提交的结果是2012的测试集数据
来自 魅蓝 note 2
…-------- 原始邮件 --------
发件人:yangxue <notifications@github.com>
时间:周二 12月11日 23:19
收件人:yangxue0827/FPN_Tensorflow <FPN_Tensorflow@noreply.github.com>
抄送:yanghedada <y_yanghe@163.com>,Mention <mention@noreply.github.com>
主题:Re: [yangxue0827/FPN_Tensorflow] 您好,请问训练过后如何在benchmark数据库上检测训练结果的准确率? (#46)
刚看到提交的结果,你自己测的结果和提交官网的结果是同一个测试集的结果吗?那样的话差的有点多啊 @yanghedada
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/yangxue0827/FPN_Tensorflow","title":"yangxue0827/FPN_Tensorflow","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in ***@***.*** in #46: 刚看到提交的结果,你自己测的结果和提交官网的结果是同一个测试集的结果吗?那样的话差的有点多啊 @yanghedada "}],"action":{"name":"View Issue","url":"#46 (comment)"}}} [ { ***@***.***": "http://schema.org", ***@***.***": "EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target": "#46 (comment)", "url": "#46 (comment)", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { ***@***.***": "Organization", "name": "GitHub", "url": "https://github.com" } }, { ***@***.***": "MessageCard", ***@***.***": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [yangxue0827/FPN_Tensorflow] 您好,请问训练过后如何在benchmark数据库上检测训练结果的准确率? (#46)", "sections": [ { "text": "", "activityTitle": "**yangxue**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": ***@***.***", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", ***@***.***": "ActionCard", "inputs": [ { "isMultiLine": true, ***@***.***": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", ***@***.***": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"yangxue0827/FPN_Tensorflow\",\n\"issueId\": 46,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", ***@***.***": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"yangxue0827/FPN_Tensorflow\",\n\"issueId\": 46\n}" }, { "targets": [ { "os": "default", "uri": "#46 (comment)" } ], ***@***.***": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", ***@***.***": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 416984855\n}" } ], "themeColor": "26292E" } ]
|
那没什么问题了,谢了。 @yanghedada |
我观察你放出来的loss图总是振荡不收敛,我也有相似的情况,请问你是如何解决的? |
我的策略只能是调整学习率和rpn的batch_size,BASE_ANCHOR_SIZE_LIST ,但也没有更好的收敛。使用更多的epoch,也没法达到最后的收敛。readme中,只训练用了8k个循环,看起来还不错,但是8k之后可能也会是震荡,收敛比较困难。@memeda2232 |
请问这个提交到voc2012上
您好,请问您所提交的VOC2012的结果有没有修改什么东西?我提交到VOC2012上测试一直没有出结果,想问下您可能是什么原因? |
如题,请问是否是运行/tools/eval.py? 请问第297行fr1 = open('predict_dict.pkl', 'r') 与第298行fr2 = open('gtboxes_dict.pkl', 'r'),这两个pkl文件是指什么呢?如何生成这两个文件?望您回复,感谢!
The text was updated successfully, but these errors were encountered: