GithubHelp home page GithubHelp logo

Comments (3)

peiyunh avatar peiyunh commented on June 10, 2024

Hi @ChristineRYY :

  1. I will add it shortly (likely this week).
  2. The runtime is dominated by the largest resolution the network processes. If there aren't many ultra-small faces in your application, you can try decreasing the test scale.
  3. I haven't found much time to clean up the training code. I will release it once I clean it up.

from tiny.

PearlDzzz avatar PearlDzzz commented on June 10, 2024

@peiyunh I use your latest updated code to train model on Wider Face, however, it encounter this question:

When I run: “ hr_res101('train'); ” in Matlab 2014b, GTX 745, Windows7 Professional, it reports an error:

Undefined function 'compute_dense_overlap' for input arguments of type 'double'.

Error cnn_get_batch_hardmine (line 378)
iou = compute_dense_overlap(ofx,ofy,stx,sty,vsx,vsy,...

Error cnn_widerface>getDagNNBatch (line 258)
[images, clsmaps, regmaps] = batchGetter(imagePaths, imageSizes, labelRects, ...

Error cnn_widerface>@(x,y)getDagNNBatch(batchGetter,bopts,useGpu,x,y) (line 243)
fn = @(x,y) getDagNNBatch(batchGetter, bopts,useGpu,x,y) ;

Error cnn_train_dag_hardmine>process_epoch (line 268)
inputs = state.getBatch(state.imdb, batch) ;

Error cnn_train_dag_hardmine (line 148)
[stats.train(epoch),prof] = process_epoch(net, state, opts, 'train') ;

Error cnn_widerface (line 212)
[net, info] = trainFn(net, imdb, getBatchFn(batchGetter, opts, net.meta), ...

Error hr_res101 (line 41)
cnn_widerface('inputSize', inputSize, ...

from tiny.

peiyunh avatar peiyunh commented on June 10, 2024

You may have to recompile the utils/compute_dense_overlap.cc. See 62f9a7f for more details.

from tiny.

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.