License_Plate_Detection_Pytorch icon indicating copy to clipboard operation
License_Plate_Detection_Pytorch copied to clipboard

Mionr bug: There is no `r_model_path` in `create_mtcnn_net()`

Open RicoSuaveGuapo opened this issue 4 years ago • 1 comments

Just a small bug, there is no r_model_path in create_mtcnn_net. Therefore, get_Onet_train_data.py does not have to assign create_mtcnn_net with r_model_path anymore.

RicoSuaveGuapo avatar Jul 29 '20 02:07 RicoSuaveGuapo

Also in line bboxes = create_mtcnn_net(image, 50, device, p_model_path=weight_path, o_model_path=None) should change to bboxes = create_mtcnn_net(image, [50,50], device, p_model_path=weight_path, o_model_path=None). Since min_lp_size in detect_pnet(pnet, image, min_lp_size, device) should either tuple or list with len 2.

RicoSuaveGuapo avatar Jul 29 '20 03:07 RicoSuaveGuapo