Open RicoSuaveGuapo opened 4 years ago
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.
Just a small bug, there is no
r_model_path
increate_mtcnn_net
. Therefore,get_Onet_train_data.py
does not have to assigncreate_mtcnn_net
withr_model_path
anymore.