Closed asmaamirkhan closed 4 years ago
Hey, it should work with .xml files right now. Was there any kind of error when you tried it?
.xml
file + corresponded image fileclass_1
|__ 526662229047636.jpg
|__ 526662229047636.xml
|__ 542621690732488.jpg
|__ 542621690732488.xml
|__ 558581152256050.jpg
|__ 558581152256050.xml
|__ 574567401623040.JPG
|__ 574567401623040.xml
.
.
.
Other classes
__train
| |__ class_1
| |__ 542621690732488.jpg
| |__ 542621690732488.xml
| |__ 558581152256050.jpg
| |__ 558581152256050.xml
| |__ 574567401623040.JPG
| |__ 574567401623040.xml
|__val
|__ class_1
|__ 526662229047636.jpg
|__ 526662229047636.xml
๐ According to VOC format
๐งช Current Output
__train
| |__ class_1
| |__ 542621690732488.jpg
| |__ 542621690732488.xml
| |__ 558581152256050.jpg
| |__ 574567401623040.JPG
| |__ 574567401623040.xml
|__val
|__ class_1
|__ 526662229047636.jpg
|__ 526662229047636.xml
|__ 558581152256050.xml
Ah, now I understand your problem. It's related to #14. I will provide an update to fix this soon-ish.
Set group_prefix=2
to split in groups. It should work now. Please re-open this issue if not. Thanks.
group_prefix=2
I got the following error
TypeError: ratio() got an unexpected keyword argument 'group_prefix'
shared_prefix=2
group_prefix
a typo? @jfilter
๐ Issue can not be re-opened by issue author if it has been closed by repo owner
You right, fixed in 0.4.1
. Use group_prefix
from now on.
Somehow group_prefix
doesnt work on CLI but works on the python module. Anyone can verify this?
Hello ๐โโ๏ธ,
.xml
file copy support according to some flag like--copy_xml
to add supporting to datasets in VOC structurecopy_files
method in some way like the following: