Open EatonL opened 4 years ago
楼主解决了吗,遇到了同样的问题
I had the same question.
I have the same question. I'm guessing the reason for the error is how the files are named.
Basically mergesingle
method expects the filenames to be in a specific format (as in the regex that finds x_y_2
and x_y
). I suspect this should be something like P0000__0.5__0___0
which I saw here.
However I'm not sure how to preprocess the dataset so the files will be named accordingly. Does anyone know how to change the file names/what the filename format means?
UPDATE: You'll need to either split images in preprocessing (there is a guide for that in demo) or comment the line that tries to merge the results.
楼主解决了吗,遇到了同样的问题
解决了吗,大哥,求帮助
UPDATE: You'll need to either split images in preprocessing (there is a guide for that in demo) or comment the line that tries to merge the results.
Please tell me what to do, thanks for the help
File "ResultMerge_multi_process.py", line 200, in mergesingle x_y_2 = re.findall(r'\d+', x_y[0]) IndexError: list index out of range
how to figure that?please
我该怎么办?请问你解决了吗?我有同样的问题 期待你的回复
UPDATE: You'll need to either split images in preprocessing (there is a guide for that in demo) or comment the line that tries to merge the results.
Please tell me what to do, thanks for the help
Hi, I wrote that a while ago so my memory is a bit foggy, but it might be a good idea to have a look at the ImgSplit_multi_process.py and ImgSplit.py files. You should be able to either split the images using those files or write your own "image-splitting" code to split the images by looking at how it's done in those files. This would create a new dataset with the standard filenames and the error should be fixed. Hope this helps. Good luck.
thank you .
√ @.***
------------------ 原始邮件 ------------------ 发件人: "CAPTAIN-WHU/DOTA_devkit" @.>; 发送时间: 2022年9月16日(星期五) 凌晨0:46 @.>; @.**@.>; 主题: Re: [CAPTAIN-WHU/DOTA_devkit] list index out of range (#38)
UPDATE: You'll need to either split images in preprocessing (there is a guide for that in demo) or comment the line that tries to merge the results.
Please tell me what to do, thanks for the help
Hi, I wrote that a while ago so my memory is a bit foggy, but there have a look at the ImgSplit_multi_process.py and ImgSplit.py files. You should be able to either split the images using or write your own "image-splitting" code to split the images by looking at how it's done in those files. This would create a new dataset with the standard filenames and the error should be fixed. Hope this helps. Good luck.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
File "ResultMerge_multi_process.py", line 200, in mergesingle x_y_2 = re.findall(r'\d+', x_y[0]) IndexError: list index out of range
how to figure that?please