Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self Dataset #6

Open
Alamnoor opened this issue Aug 13, 2020 · 2 comments
Open

Self Dataset #6

Alamnoor opened this issue Aug 13, 2020 · 2 comments

Comments

@Alamnoor
Copy link

Can we use for our own dataset? Please comment if possible. The research community will be thankful to have your step wise suggestions for new datasets. Thanks

@dmburd
Copy link
Owner

dmburd commented Aug 14, 2020

The code in this repo will work with datasets that have structure compatible with the structure of ShanghaiTech. The readme file (the main page of the repo) shows the directory structure. "*.mat" are Matlab files that contain annotations in the simple form -- the coordinates of the points corresponding to centers of people's heads (or visible parts of heads) for each image. The ShanghaiTech dataset was introduced in the paper "Single-Image Crowd Counting via Multi-Column Convolutional Neural Network", you can find the details there.
Of course, you can choose any file format for storing the annotations, not necessarily the Matlab format. The code should be slightly modified according to your choices of file formats and files / directories naming.
The ground truth density maps can be generated using "gen_density_maps.py" from this repo or using any code mentioned in the awesome list ("GT generation" section).

@Alamnoor
Copy link
Author

The code in this repo will work with datasets that have structure compatible with the structure of ShanghaiTech. The readme file (the main page of the repo) shows the directory structure. "*.mat" are Matlab files that contain annotations in the simple form -- the coordinates of the points corresponding to centers of people's heads (or visible parts of heads) for each image. The ShanghaiTech dataset was introduced in the paper "Single-Image Crowd Counting via Multi-Column Convolutional Neural Network", you can find the details there.
Of course, you can choose any file format for storing the annotations, not necessarily the Matlab format. The code should be slightly modified according to your choices of file formats and files / directories naming.
The ground truth density maps can be generated using "gen_density_maps.py" from this repo or using any code mentioned in the awesome list ("GT generation" section).

Thank you so much for your quick response. I check it and prepare my data as you suggested. Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants