Code Monkey home page Code Monkey logo

Comments (4)

ZhaoJ9014 avatar ZhaoJ9014 commented on May 20, 2024

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:)

from face.evolve.

lucasjinreal avatar lucasjinreal commented on May 20, 2024

@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?

from face.evolve.

ZhaoJ9014 avatar ZhaoJ9014 commented on May 20, 2024

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.

from face.evolve.

knotgrass avatar knotgrass commented on May 20, 2024

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.

specifically in this case, how many output neuron number of this model.
I using Onet, Pnet and Rnet
Btw, i don't see any flatten layer or linear layer in Onet, Pnet or Rnet
Thanks you

from face.evolve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.