ASDA
ASDA copied to clipboard
ValueError: Sample larger than population or is negative
when i running train_stn.py,i got this bug like
ValueError: Sample larger than population or is negative
anyone knows how to solve it?
I met the same issue.
It seems that in part_anns.json, all file_name
are in .bmp whereas the data is in .jpg. I printed out the len of valid_part_anns
and self.part_anns
but they were all 0. Not sure how to fix this
and the root_dir is parts_bmp_filter_done
so it kind of makes sense, I wonder whether there was an additional root_dir for .jpg data
download .bmp here: https://pan.baidu.com/s/4eYe1PoY
------------------ 原始邮件 ------------------ 发件人: "Binyr/ASDA" @.>; 发送时间: 2023年4月11日(星期二) 中午11:23 @.>; @.***>; 主题: Re: [Binyr/ASDA] ValueError: Sample larger than population or is negative (Issue #7)
I met the same issue. It seems that in part_anns.json, all file_name are in .bmp whereas the data is in .jpg. I printed out the len of valid_part_anns and self.part_anns but they were all 0. Not sure how to fix this
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
@Binyr Update: I downloaded the parts_bmp_filter_done.zip
, what is the structure of those folders of .bmp, where should I place them?
download .bmp here: https://pan.baidu.com/s/4eYe1PoY … ------------------ 原始邮件 ------------------ 发件人: "Binyr/ASDA" @.>; 发送时间: 2023年4月11日(星期二) 中午11:23 @.>; @.>; 主题: Re: [Binyr/ASDA] ValueError: Sample larger than population or is negative (Issue #7) I met the same issue. It seems that in part_anns.json, all file_name are in .bmp whereas the data is in .jpg. I printed out the len of valid_part_anns and self.part_anns but they were all 0. Not sure how to fix this — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
This share is invalid, please send it again
@Binyr Update: I downloaded the
parts_bmp_filter_done.zip
, what is the structure of those folders of .bmp, where should I place them? Hello,you solved it now?