Comments (12)
看验证集合的评估指标也行
from rt-detr.
看验证集合的评估指标也行
您的意思是看训练时输出的loss值什么的嘛
from rt-detr.
不不 是看验证集的mAP啊
from rt-detr.
不不 是看验证集的mAP啊
谢谢您的回复,但是看验证集的mAP貌似不能判断出是否过拟合呢┭┮﹏┭┮
from rt-detr.
关于提的问题:简单的办法是 在train mode
下跑一遍测试集去得到loss ( 把数据增强换成eval mode
下的)
关于过拟合:是用 测试集的loss
还是用 测试集的mAP
去判断,我更倾向于测试集的mAP
更有用
from rt-detr.
关于提的问题:在
train mode
下跑一遍测试集去得到loss ( 把数据增强换成eval mode
下的)关于过拟合:是用
测试集的loss
还是用测试集的mAP
去判断,我更倾向于测试集的mAP
更有用
关于过拟合:
index created!
0%| | 0/1610 [00:00<?, ?it/s]W0802 14:45:45.821064 1818 gpu_resources.cc:275] WARNING: device: . The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1610/1610 [01:14<00:00, 21.65it/s]
[08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to bbox.json.
[08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to output/bbox.json and do not evaluate the mAP.
您好,在推理测试集时它没有输出mAP
from rt-detr.
关于提的问题:简单的办法是 在
train mode
下跑一遍测试集去得到loss ( 把数据增强换成eval mode
下的)关于过拟合:是用
测试集的loss
还是用测试集的mAP
去判断,我更倾向于测试集的mAP
更有用
关于提的问题:您好,“在train mode
下跑一遍测试集去得到loss”的train mode`是什么意思呀?抱歉有点难理解,在trainner.py里面存在很多model=train之类的语句,有点理不清楚
from rt-detr.
目前这套代码是不支持的,因为现在只支持训练输出loss。。上边的建议是 就是把 训练数据 改成 测试数据 跑一遍
from rt-detr.
关于提的问题:在
train mode
下跑一遍测试集去得到loss ( 把数据增强换成eval mode
下的)
关于过拟合:是用测试集的loss
还是用测试集的mAP
去判断,我更倾向于测试集的mAP
更有用关于过拟合: index created! 0%| | 0/1610 [00:00<?, ?it/s]W0802 14:45:45.821064 1818 gpu_resources.cc:275] WARNING: device: . The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version. 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1610/1610 [01:14<00:00, 21.65it/s] [08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to bbox.json. [08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to output/bbox.json and do not evaluate the mAP.
您好,在推理测试集时它没有输出mAP
用tools/eval.py测一下 bbox.json就行了
from rt-detr.
关于提的问题:在
train mode
下跑一遍测试集去得到loss ( 把数据增强换成eval mode
下的)
关于过拟合:是用测试集的loss
还是用测试集的mAP
去判断,我更倾向于测试集的mAP
更有用关于过拟合: index created! 0%| | 0/1610 [00:00<?, ?it/s]W0802 14:45:45.821064 1818 gpu_resources.cc:275] WARNING: device: . The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version. 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1610/1610 [01:14<00:00, 21.65it/s] [08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to bbox.json. [08/02 14:47:07] ppdet.metrics.metrics INFO: The bbox result is saved to output/bbox.json and do not evaluate the mAP.
您好,在推理测试集时它没有输出mAP
您好,刚试了试测试这个推理测试集得出的bbox.json,但是却显示了报错
Loading and preparing results...
Traceback (most recent call last):
File "tools/eval.py", line 199, in
main()
File "tools/eval.py", line 195, in main
run(FLAGS, cfg)
File "tools/eval.py", line 130, in run
json_eval_results(
File "/root/RT-DETR/rtdetr_paddle/ppdet/metrics/coco_utils.py", line 186, in json_eval_results
cocoapi_eval(v_json, coco_eval_style[i], anno_file=anno_file)
File "/root/RT-DETR/rtdetr_paddle/ppdet/metrics/coco_utils.py", line 107, in cocoapi_eval
coco_dt = coco_gt.loadRes(jsonfile)
File "/root/miniconda3/envs/paddlepaddle/lib/python3.8/site-packages/pycocotools/coco.py", line 327, in loadRes
assert set(annsImgIds) == (set(annsImgIds) & set(self.getImgIds())),
AssertionError: Results do not correspond to current coco set
我使用的是visdrone数据集,修改某些配置后能跑出还OK 的结果,但是不知道为甚出现数据集不匹配的报错
我执行的语句是:python -u tools/eval.py -c configs/rtdetr/rtdetr_hgnetv2_x_6x_coco.yml --json_eval
from rt-detr.
缺少的功能 或者 使用的问题 我建议你在paddledet里问一下 我们这优先只聊算法相关的
from rt-detr.
缺少的功能 或者 使用的问题 我建议你在paddledet里问一下 我们这优先只聊算法相关的
好的!谢谢您!
from rt-detr.
Related Issues (20)
- 如何将paddle版本的pretrain_weights转化为pytorch版本的? HOT 3
- 直播答疑&交流🎬
- 直播答疑&交流🎬
- Why isn't the loss of validation on the same scale as the loss of training ? HOT 2
- onnx和pytorch版本的推理速度 HOT 3
- 关于论文the uncertainty minimal query selection使用编码器的结果没有体现在vfl loss里面
- 精度评估 HOT 1
- transforms
- 关于速度的问题
- 关于速度的问题 HOT 1
- Continue finetuning from a checkpoint HOT 1
- the difference between rtdetr_r50vd_m and rtdetr_r50vd
- TensorRT Inference Produces Zero Value Coordinates HOT 4
- 预训练权重 HOT 1
- 关于Encoder部分特征融合模块的设计理念
- Mismatch in pytorch model state dictionary HOT 2
- 关于随机数种子 HOT 3
- resize改成pad HOT 2
- 怎么读取两个数据集? HOT 1
- 关于PAN多级特征融合在维持原图比例不变时,填充区域的Attention Mask如何使用的问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rt-detr.