Skip to main content
Question

Setting off one filecopy feature writer after another has finished?

  • January 28, 2025
  • 1 reply
  • 54 views

p_c_20
Contributor
Forum|alt.badge.img+6

I am building a workspace to do data prep for an AI model training process. This will involve, in this order: 

  1. Copying a number of image files of type A
  2. When copying completed, creating image label .txt files for these
  3. when all image copying and label creation complete, copying an exactly equal number of images of type B (from a larger pool than that of the A’s)
  4. creating the image label files for these
  5. Terminate process when counts match

1 and 2 are working fine. I’ve added a counter after stage 2, and I want stage 3 to keep running until the count of type B images copied = count of type A images copied. 

How might I a) kick off 3. only when 2. is finished and b) stop 3. when count of B = count of A? 


 

1 reply

crystalatsafe
Safer
Forum|alt.badge.img+17

Hi ​@p_c_20 

I'm sorry you haven't had a response to your question yet! 
Something like a FeatureWriter could be used for Step 2, which initiates Step 3. The number of features written could be fed into the next process to make sure that number of A = number of B.

For Step 5, if you have a Counter after Step 2 and Step 3, you could check this with a Tester if needed. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings