Giter VIP home page Giter VIP logo

eresfd's People

Contributors

doublejtoh avatar royiavital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cv-ip liuguoyou

eresfd's Issues

Can you provide training script?

Hi,
I am interested in this work and want to dive in deeper.
Can you provide training code for the results?

Also, how is eresfd_16 different from eresfd?

Thank you for the work.

train code

hi there, is in your plans to release the training code ?

Warning on PyTorch 1.12 Due to Implicit Reshaping / Resizing at `nms()`

The lines:

EResFD/layers/bbox_utils.py

Lines 328 to 331 in 69c24b2

torch.index_select(x1, 0, idx, out=xx1)
torch.index_select(y1, 0, idx, out=yy1)
torch.index_select(x2, 0, idx, out=xx2)
torch.index_select(y2, 0, idx, out=yy2)

Creates a warning on PyTorch 1.12:

bbox_utils.py:331: UserWarning: An output with one or more elements was resized since it had shape [37], which does not match the required output shape [34]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at  ..\aten\src\ATen\native\Resize.cpp:24.)

Inference time

Hi, I've been following your code and paper with interest!
Just to let you know, I checked the inference time with your test_wider.py code with widerface db (after resizing to vga size) and it doesn't 37.7 ms. Can you tell me how you measured it?

Below is an example of where I took the measurement points. Thanks :)

        t1 = time.time()

        # NOTE: modified
        # det0 shape: 750, 5
        det0 = detect_face(net, img, shrink, thresh=thresh)

        # multi-scale
        if not single_scale_test:
            print('det1')
            det1 = flip_test(net, img, shrink, thresh=thresh)  # flip test

            print('det2')
            [det2, det3] = multi_scale_test(net, img, max_im_shrink, thresh=thresh)

            det = np.row_stack((det0, det1, det2, det3))
            dets = bbox_vote(det)
        else:
         
            dets = det0

        t2 = time.time()

        print("Detect %04d th image costs %.4f sec" % (counter, t2 - t1))

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.