Browse Source

added script for creating a pickle for consistent destination points

master
Stephen McQuay 9 years ago
parent
commit
492c7d7eea
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      dest/create_dest_pickle.py

+ 7
- 0
dest/create_dest_pickle.py View File

@@ -0,0 +1,7 @@
import sys
import pickle
import numpy as np

output_file_name, dimension, count = sys.argv[1:]

pickle.dump(np.random.random((int(count), int(dimension))), open(output_file_name, 'w'))

Loading…
Cancel
Save