Update.
[mygpt.git] / picoclvr.py
index a194a1c..6ddcf73 100755 (executable)
@@ -1,5 +1,10 @@
 #!/usr/bin/env python
 
+# Any copyright is dedicated to the Public Domain.
+# https://creativecommons.org/publicdomain/zero/1.0/
+
+# Written by Francois Fleuret <francois@fleuret.org>
+
 import torch, torchvision
 
 colors = [
@@ -22,6 +27,8 @@ color_names = [
 
 color_tokens = dict( [ (n, c) for n, c in zip(color_names, colors) ] )
 
+######################################################################
+
 def generate(nb, height = 6, width = 8, max_nb_statements = 10):
 
     descr = [ ]