Does foreach works similar to multi-processing? I ...
# ask-metaflow
m
Does foreach works similar to multi-processing? I thought if I give 5 videos at once to my inference script then it would run the inference over 5 videos simultaneously but when i did it my flow with foreach loop I got one video getting processed at a time. I am doing -
self.next(self.run_model, foreach='local_original_video_filenames')
where
run_model
flow run the inference over the video and
local_original_video_filenames
is a list with local video urls.
1