Augmentor icon indicating copy to clipboard operation
Augmentor copied to clipboard

add_further_directory means to change the source_directory ?

Open mifenfeifen opened this issue 6 years ago • 1 comments

I thought that add_further_directory can help me with processing multi directory, so I wrote these code:

for digit in range(10):
    p.add_further_directory(str(base/str(digit)))

but I found that only the last folder got outputs.

so I browsed the source code: add_further_directory use _populate, and in _populate, there is

self.augmentor_images, self.class_labels = scan(source_directory, abs_output_directory)

this command will replace the original images with new images in source_directory

Is that your purpose?

mifenfeifen avatar Jan 23 '19 02:01 mifenfeifen

Hi @mifenfeifen no that is not my purpose, thanks for pointing this out. I will fix that for the next version (which I will be updating soon, most likely next week if all goes well). Thanks again for opening this issue.

mdbloice avatar Jan 25 '19 13:01 mdbloice