New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable this user warning? #4
Comments
Hi, thank you for your question. We did not set the specific dimension for "F.softmax" at Line 70 in /align/get_nets.py, which has been deprecated. You can optionally include a "dim=X" ("X" is the output neuron number) to avoid this warning. For the second warning, you can remove ", volatile = True" from "img_boxes = Variable(torch.FloatTensor(img_boxes), volatile = True)" at Line 82 in /align/detector.py and put the relevant code within "with torch.no_grad():". Hope this helps:) |
@ZhaoJ9014 Thanks for your dedicate reply. BTW, how much MTCNN fps runs on CPU for now? Haven't test on a video but image seems fast. And is there any training process included to train a MTCNN face detector? |
Welcome. 1) We haven't performed video test on CPU, but the speed should be also satisfactory. 2) Currently, we did not include the training process due to a common issue that the re-implementations can hardly reproduce the results reported by the MTCNN original paper. We thus choose to transfer the weights and implement the inference process. Please kindly inform us if you get any new results by performing video test on CPU or reproducing the reported results with self-training in the future. |
specifically in this case, how many output neuron number of this model. |
When run detector to show result on detect result, there is an warning:
The text was updated successfully, but these errors were encountered: