Comments (8)
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.
Thanks! This is very helpful! I will try it out.
from iim.
You may process the following operation:
- set a max width or height for each point, such as 50,100.
- 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.
Thanks a lot! @gjy3035 This is quite helpful!
from iim.
You may process the following operation:
- set a max width or height for each point, such as 50,100.
- 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.
You may process the following operation:
- set a max width or height for each point, such as 50,100.
- 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.
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.
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)
- 我在training時遇到以下錯誤 HOT 1
- 训练时有足够内存,依然得到out of memory问题 HOT 1
- 训练时有足够得内存,依然得到out of memory问题
- 模型保存为pt时报错RuntimeError: Could not export Python function call 'BinarizedF' HOT 1
- Great work but Threshold Encoder module is useless.Details look at the picture HOT 3
- How to visualize other datasets test set pictures? HOT 7
- 怎样转化为onnx模型 HOT 3
- threshold appear to be nan during the training process HOT 2
- RuntimeError: CUDA error: out of memory CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. HOT 1
- How to config to train on NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2 HOT 6
- Training on general dataset HOT 2
- Could you please give me demo code, I mean real-time testing code?
- Memory allocation error HOT 1
- Confidence level? HOT 8
- 主页给的HRNet权重链接hrnetv2_w48_imagenet_pretrained.pth和Crowd_locator中模型结构不太一样 HOT 1
- 请问mask_50_60具体有什么作用?运行prepare_NWPU会出现jsons文件缺失错误(缺失的是测试图片的id,所以肯定是没有的) HOT 1
- 您好 我想问下每个数据集给出的mean_std是如何计算的,和我自己计算的结果不太相同。
- segfault with pytorch 1.17 and 2.0.0 HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: '../ProcessedData/JHU\\train.txt'
- input video HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iim.