Cli98 / DMNet

Official implementation for DMNet: Density map guided object detection in aerial image (CVPR 2020 EarthVision workshop)
https://openaccess.thecvf.com/content_CVPRW_2020/papers/w11/Li_Density_Map_Guided_Object_Detection_in_Aerial_Images_CVPRW_2020_paper.pdf
93 stars 14 forks source link

crop images #15

Open wwwweeerrrrttt opened 2 years ago

wwwweeerrrrttt commented 2 years ago

我想问一下,第二步已经裁剪过图片,并且保存过标注信息了,为什么第三步进行目标检测create_VOC_annotation_official.py转成voc格式时还有裁剪图片的操作,不是直接对第二步的结果直接转换成voc格式吗,如果不是将第二步结果转成voc格式第二步还有用吗?

wwwweeerrrrttt commented 2 years ago

还是说create_VOC_annotation_official.py是对第二步生成的裁剪图片的结果进行voc格式转换

Cli98 commented 2 years ago

Hi @wwwweeerrrrttt , create_VOC_annotation_official.py targets to transform visDrone data to VOC format. This is optional. You do not need to run if your dataset is Visdrone.

Btw I have answered your first question via email.

LeoHG98 commented 1 year ago

我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!!!

Cli98 commented 1 year ago

我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!!!

I should have replied you via email right? Let me know if not.

GGD777 commented 5 months ago

我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!!!

想问一下针对第二部裁剪的时候进程结束问题是怎么解决的

Cli98 commented 5 months ago

Hi, please verify if you set the correct path. If the answer is yes, normally it will go smoothly for the rest part of the code.

And please forward your questions to my mailbox @.***) for the quicker response.

Thank you

在 2024-03-27 15:23:28,"GGD777" @.***> 写道:

我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!!!

想问一下针对第二部裁剪的时候进程结束问题是怎么解决的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

GGD777 commented 5 months ago

您好,请验证您是否设置了正确的路径。如果答案是肯定的,通常代码的其余部分会顺利进行。 请将您的问题转发到我的邮箱@.),以便更快地回复。 谢谢 在 2024-03-27 15:23:28,“GGD777” @.> 写道: 我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!! 想问一下针对第二部裁剪的时候进程结束问题是怎么解决的 — 直接回复此电子邮件,在 GitHub 上查看或取消订阅。 您收到此消息是因为您发表了评论。消息 ID:@.***>

Thank you for your reply. I would like to ask if my understanding is correct. First, run Generate_density_map_official.py to generate the dens file, then run density_slide_window_official.py to get the cropped images, then configure mmdetection to get the detection result, and finally run fusion_detection_result_official.py for fusion detection. result.

Cli98 commented 5 months ago

Just one point to clarify: You need to get detection result first.

在 2024-04-01 15:01:22,"GGD777" @.***> 写道:

您好,请验证您是否设置了正确的路径。如果答案是肯定的,通常代码的其余部分会顺利进行。 @.),以便更快地回复。 谢谢 在 2024-03-27 15:23:28,“GGD777” @.> 写道: 我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!! 想问一下针对第二部裁剪的时候进程结束问题是怎么解决的 — 直接回复此电子邮件,在 GitHub 上查看或取消订阅。 您收到此消息是因为您发表了评论。消息 @.>

Thank you for your reply. I would like to ask if my understanding is correct. First, run Generate_density_map_official.py to generate the dens file, then run density_slide_window_official.py to get the cropped images, then configure mmdetection to get the detection result, and finally run fusion_detection_result_official.py for fusion detection. result.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

GGD777 commented 5 months ago

Just one point to clarify: You need to get detection result first. 在 2024-04-01 15:01:22,"GGD777" @.> 写道: 您好,请验证您是否设置了正确的路径。如果答案是肯定的,通常代码的其余部分会顺利进行。 @.),以便更快地回复。 谢谢 在 2024-03-27 15:23:28,“GGD777” @.> 写道: 我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!! 想问一下针对第二部裁剪的时候进程结束问题是怎么解决的 — 直接回复此电子邮件,在 GitHub 上查看或取消订阅。 您收到此消息是因为您发表了评论。消息 @.> Thank you for your reply. I would like to ask if my understanding is correct. First, run Generate_density_map_official.py to generate the dens file, then run density_slide_window_official.py to get the cropped images, then configure mmdetection to get the detection result, and finally run fusion_detection_result_official.py for fusion detection. result. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Thanks!

Cli98 commented 5 months ago

Yup. And Feel free to contact me for any other questions.

在 2024-04-08 16:37:00,"GGD777" @.***> 写道:

Just one point to clarify: You need to get detection result first. 在 2024-04-01 15:01:22,"GGD777" @.> 写道: 您好,请验证您是否设置了正确的路径。如果答案是肯定的,通常代码的其余部分会顺利进行。 @.),以便更快地回复。 谢谢 在 2024-03-27 15:23:28,“GGD777” @.> 写道: 我想请问一下在第二步image crop时 将数据集按照要求分别创建好文件夹执行density_slide_window_official.py时,直接就显示进程已结束,并未对第一步生成的密度图进行裁剪,而且我发现执行文件里也没有引用关键的crop_utils.py文件,想请问这是为什么呀?另外 希望作者能否回复一下我的邮件 万分感谢!! 想问一下针对第二部裁剪的时候进程结束问题是怎么解决的 — 直接回复此电子邮件,在 GitHub 上查看或取消订阅。 您收到此消息是因为您发表了评论。消息 @.> Thank you for your reply. I would like to ask if my understanding is correct. First, run Generate_density_map_official.py to generate the dens file, then run density_slide_window_official.py to get the cropped images, then configure mmdetection to get the detection result, and finally run fusion_detection_result_official.py for fusion detection. result. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Thanks!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>