Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save output to a specific folder #230

Open
mona-commits opened this issue Jan 27, 2021 · 1 comment
Open

How to save output to a specific folder #230

mona-commits opened this issue Jan 27, 2021 · 1 comment

Comments

@mona-commits
Copy link

Hi, thank you so much for providing this tool but I am still wondering how do I save my output to a specific mode? I mean most of the times we have a folder for image and another one for ground truth. How do I go about saving the generated images and ground truth in seperate folders?

@newb-dev-1008
Copy link

@mona-commits I found that the init() method in the Pipeline has three parameters which aren't mentioned in the documentation:

In the Pipeline.py file, the constructor has three parameters:

def __init__(self, source_directory=None, output_directory="output", save_format=None)

While the source_directory parameter has been mentioned in the documentation, output_directory hasn't been mentioned and has been set to "output" folder by default.

TL;DR: Enter the path of your destination folder as the second parameter to Augmentor.Pipeline() when you initialize a pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants