runner.py 385 B

123456789101112131415
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #Just a little script to run all the possible combinations.
  4. import os
  5. #run each of my specifications
  6. sizes = [64, 128, 256, 512]
  7. for thisSize in sizes:
  8. for batchSize in range(1, 17):
  9. commandStr = "python3 my-unet.py 50000 " + str(thisSize) + " 100 " + str(batchSize)
  10. print("Running: " + commandStr)
  11. os.system(commandStr)