My solutions to Harvard's online course CS50AI, An Introduction to Machine Learning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
287 B

import os
import time
combinations = [(0,0),(0,1),(1,1),(2,2),(0,2)]
for i in combinations:
print("Running structure {} with words {}".format(i[0], i[1]))
os.system("python generate.py data/structure{0}.txt data/words{1}.txt images/{0}_{1}.png".format(i[0], i[1]))
time.sleep(0.5)