### we assume the blender object assets are located in assets/blender_assets/ and assets/blender_assets_non_coco/ | |
( python ./util/py_gen_t2i_comp_floor.py --partition 0 --num_partition 2 --num_variants 2 --num_background 3 --output_folder output/t2i_comp ) & | |
pid1=$! | |
( python ./util/py_gen_t2i_comp_floor.py --partition 1 --num_partition 2 --num_variants 2 --num_background 3 --output_folder output/t2i_comp ) & | |
pid2=$! | |
### wait for the termination of all 3 programs runs | |
wait $pid1 $pid2 | |
chmod -R 755 output/t2i_comp | |
echo "Complete!" | |