Skip to content

Instantly share code, notes, and snippets.

@gar1t
Created May 4, 2021 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gar1t/4cdbe645df4924ca4522abec8511d99d to your computer and use it in GitHub Desktop.
Save gar1t/4cdbe645df4924ca4522abec8511d99d to your computer and use it in GitHub Desktop.
with open("bigbatch.csv", "w") as f:
f.write("""x,y
1,2
3,4
""")
bigbatch: {}
train-batch:
exec: guild run train @bigbatch.csv x="${x}" -y
flags:
x:
required: yes
requires:
- operation: bigbatch
select: bigbatch.csv
sourcecode:
dest: .
train:
flags-import: all
x = 0
y = 0
print("x=%s" % x)
print("y=%s" % y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment