Open mia-zhu111 opened 2 years ago
Maybe you can supply more details like training loss. If the loss decreases normally and naturally? And you can use test_demo.py
to evaluate if your model has been trained successfully. And please ensure your dataset (training and validation) are set up properly, especially labels.
PS: For convenience, you can use Chinese to reply.
You can also decrease the threshold of detection. I set it as 0.7, maybe it's too large. You can adjust as described in this issue: https://github.com/JackEasson/SLPNet_pytorch/issues/10
You can also decrease the threshold of detection. I set it as 0.7, maybe it's too large. You can adjust as described in this issue: #10
loss可以降下来,数据集是按照角点 问题分析:检测部分应该没有问题,应该是车牌识别的训练部分出问题 1、train epoch: The average recognition loss of epoch %d is None, didn't train 2、validation epoch: The validation mode is:detection only 这种情况是因为某个参数没有调整吗?
detection only表示训练的仅仅是车牌检测部分。train.py中有两个参数reg_epochs和acc_threshold用来控制何时进行检测+识别的训练。你可以按以下三种种方式操作:
python train.py --savedir SLPNetweight --acc_threshold 0.5
python train.py --savedir SLPNetweight --reg_epochs 5
python train.py --savedir SLPNetweight --reg_epochs 0 --pretrained xxx.pth
The reason for this is that I can't directly use my own Dataset for training? What parameters need to be adjusted? Thank you for your reply!