Export detection model to inference #12333
Replies: 4 comments
-
Hi, what does it look like that does not meet expectations? |
Beta Was this translation helpful? Give feedback.
-
When I use it like pretrained model, it gives me image with detection box. But after exporting to inference gives None. I was testing on same images. |
Beta Was this translation helpful? Give feedback.
-
this is Architecture in config.yaml
|
Beta Was this translation helpful? Give feedback.
-
Would it be convenient for you to send us the pdparams file so that we can help you locate the issue? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
HI, can you help to me? I trained my own detection model. When I test my model with
python tools/infer_det.py -c config_detector.yaml -o Global.infer_img="./images/624.jpg" Global.pretrained_model="./detector_best_acc/best_accuracy"
,It work well. But when I export this model with
python tools/export_model.py -c ./config_detector.yaml -o Global.pretrained_model="./detector_best_acc/best_accuracy" Global.save_inference_dir="./output/det_db_inference/"
and running
python tools/infer/predict_det.py --det_algorithm="DB" --data_model_dir="./output/data_db_inference/" --image_dir="./images" --use_gpu=False.
It doesn't work
Beta Was this translation helpful? Give feedback.
All reactions