Coder Social home page Coder Social logo

Comments (8)

taohan10200 avatar taohan10200 commented on July 28, 2024

Before generating IIM from dot labels, we used the NWPU dataset to train a head scale prediction model, which estimates the box size for other crowd datasets. The pre-trained model and the script file will be shared after collation.

If you are in a hurry, we recommend that you can take the dilation approach, generating IIM by setting the maximum size or detecting whether the nearest areas are overlapped as the stop condition. This strategy can also generate IIM for point annotations.

Thanks for your attention!

from iim.

BJTUJia avatar BJTUJia commented on July 28, 2024

Thanks! This is very helpful! I will try it out.

from iim.

gjy3035 avatar gjy3035 commented on July 28, 2024

You may process the following operation:

  1. set a max width or height for each point, such as 50,100.
  2. run the provided pre-processed code to tackle the overlapping.

This operation is not scale-aware, but it is also a type of IIM. It may cause some performance reductions compared with the paper's scheme.

Besides, as @taohan10200 mentioned, we will provide our size regression model ASAP.

from iim.

BJTUJia avatar BJTUJia commented on July 28, 2024

Thanks a lot! @gjy3035 This is quite helpful!

from iim.

BJTUJia avatar BJTUJia commented on July 28, 2024

You may process the following operation:

  1. set a max width or height for each point, such as 50,100.
  2. run the provided pre-processed code to tackle the overlapping.

This operation is not scale-aware, but it is also a type of IIM. It may cause some performance reductions compared with the paper's scheme.

Besides, as @taohan10200 mentioned, we will provide our size regression model ASAP.

from iim.

BJTUJia avatar BJTUJia commented on July 28, 2024

You may process the following operation:

  1. set a max width or height for each point, such as 50,100.
  2. run the provided pre-processed code to tackle the overlapping.

This operation is not scale-aware, but it is also a type of IIM. It may cause some performance reductions compared with the paper's scheme.

Besides, as @taohan10200 mentioned, we will provide our size regression model ASAP.

Hi there, @gjy3035 @taohan10200 thanks a lot for your tips in generating IIMs. However, when I tried it on my own datatset(I set max width==100), the following error occurs. IndexError: index 4 is out of bounds for axis 0 with size 4, which is thrown by this line: dst_point_ = centroids[id[start + 1]]. Since I haven't quite understood your codes yet, I can't figure out what is causing this issue. (ps, it works for some images, but throws this error for others, I can't find the pattern in this error). Can you give me some tips? Thanks very much!

from iim.

ashok-arjun avatar ashok-arjun commented on July 28, 2024

Hi @gjy3035 and @taohan10200 .

Thanks for this wonderful work.

Are the scripts and models used to generate GT IIMs from point annotations released?

Thanks.

from iim.

taohan10200 avatar taohan10200 commented on July 28, 2024

Yes, we now have provided the code that can directly generate IIMs with points only. You can find the function generate_masks_with_points() in dataset_prepare/prepare_NWPU.py.

from iim.

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.