You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for creating this useful package! I have a question that I hope you can help me with.
I want to use augraphy in a pipeline for creating synthetic data as part of a research project. However, I need to be able to recreate the exact pipeline that was used on each image after the fact. When reading the documentation I found that I can get the log from the output using pipeline.augment(image)["log"]. However, when looking at the log, I can’t see how I can tell which phase (ink_phase, paper_phase, post_phase or pre_phase) an augmentation belongs to. I also can’t seem to find this in the documentation. So my question is: Is there some way I can find which phase an augmentation should be applied to? If not, what problems might I expect if I input them all in the post_phase?
Hi, at this moment we can't retrieve phase information from the log, because the augmentation in each phases should be known from the user defined pipeline. You can create a pull request to include this feature too.
It shouldn't causing any further problem if you have all augmentations in the post phase except those augmentations will be overlaid on top of the paper instead of blending with it. To blend it with paper, you need to have them in the ink phase.
Thank you for creating this useful package! I have a question that I hope you can help me with.
I want to use augraphy in a pipeline for creating synthetic data as part of a research project. However, I need to be able to recreate the exact pipeline that was used on each image after the fact. When reading the documentation I found that I can get the log from the output using
pipeline.augment(image)["log"]
. However, when looking at the log, I can’t see how I can tell which phase (ink_phase
,paper_phase
,post_phase
orpre_phase
) an augmentation belongs to. I also can’t seem to find this in the documentation. So my question is: Is there some way I can find which phase an augmentation should be applied to? If not, what problems might I expect if I input them all in the post_phase?Example code:
How can I from this log create a pipeline with the two augmentations in the correct phases?
The text was updated successfully, but these errors were encountered: