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

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