Closed leminhbk closed 2 years ago
Hey, Before testing, you should resize the images so that the height of the test image is 384, and the width should be adjusted so as to preserve the aspect ratio of the image. FamNet was trained on images with height resized to 384, so it may perform poorly on larger images.
Thanks for your promptly response. I tried to reduce the size of input images as your mentions. The results are slightly improved, but far from satisfactory. It seems that the input images has high depth so the side of those fruits are so difference. Do I need to change the image to be more homogeneous or make change to other things?
If the distribution of images on which you're testing our model are very different from the ones in our dataset, performance of FamNet is expected to get worse. That being said, here are few things you can try to improve the performance:
Hello, thanks for your great work. I try to fine-tune your model on my own dataset. How could I generate the density map? It seems that it is not open source yet. Thanks for your work. Any response will be appreciated a lot.
Hey, If your dataset has dot annotations, you can use any of the publicly available crowd counting density map generation code. For ex, https://github.com/leeyeehoo/CSRNet-pytorch/blob/master/make_dataset.ipynb.
Dear Doctor,
I used this model to count the number of fruit in the garden but the result is not good. Please help me to improve the model in order to make it more accuracy.
The input images
The output images 01s_box.txt 02_box.txt 03_box.txt 04_box.txt 05_box.txt 06_box.txt debug.log