From d2971cf0706c269cdbd9869f8da77fd8835f4cfa Mon Sep 17 00:00:00 2001 From: Clemens-Dautermann Date: Sat, 25 Apr 2020 16:59:20 +0200 Subject: [PATCH] added editor --- .gitignore | 0 README.md | 0 TicTacToe_AI/Chancetree/boards.bds | 0 TicTacToe_AI/Chancetree/game.py | 0 TicTacToe_AI/Chancetree/main.py | 0 TicTacToe_AI/Net/boards.bds | 0 .../Net/datasets/MNIST/processed/test.pt | Bin .../Net/datasets/MNIST/processed/training.pt | Bin .../datasets/MNIST/raw/t10k-images-idx3-ubyte | Bin .../MNIST/raw/t10k-images-idx3-ubyte.gz | Bin .../datasets/MNIST/raw/t10k-labels-idx1-ubyte | Bin .../MNIST/raw/t10k-labels-idx1-ubyte.gz | Bin .../MNIST/raw/train-images-idx3-ubyte | Bin .../MNIST/raw/train-images-idx3-ubyte.gz | Bin .../MNIST/raw/train-labels-idx1-ubyte | Bin .../MNIST/raw/train-labels-idx1-ubyte.gz | Bin TicTacToe_AI/Net/nets/gpunets/net_0.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_1.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_10.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_11.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_12.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_13.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_14.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_15.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_16.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_17.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_18.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_19.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_2.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_20.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_21.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_22.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_23.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_24.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_25.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_26.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_27.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_28.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_29.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_3.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_30.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_31.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_32.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_33.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_34.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_35.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_36.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_37.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_38.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_39.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_4.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_40.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_41.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_42.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_43.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_44.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_45.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_46.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_47.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_48.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_49.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_5.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_50.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_51.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_52.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_53.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_54.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_6.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_7.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_8.pt | Bin TicTacToe_AI/Net/nets/gpunets/net_9.pt | Bin TicTacToe_AI/Net/nets/net_0.pt | Bin TicTacToe_AI/Net/nets/net_1.pt | Bin TicTacToe_AI/Net/nets/net_10.pt | Bin TicTacToe_AI/Net/nets/net_11.pt | Bin TicTacToe_AI/Net/nets/net_12.pt | Bin TicTacToe_AI/Net/nets/net_13.pt | Bin TicTacToe_AI/Net/nets/net_14.pt | Bin TicTacToe_AI/Net/nets/net_15.pt | Bin TicTacToe_AI/Net/nets/net_16.pt | Bin TicTacToe_AI/Net/nets/net_17.pt | Bin TicTacToe_AI/Net/nets/net_18.pt | Bin TicTacToe_AI/Net/nets/net_2.pt | Bin TicTacToe_AI/Net/nets/net_3.pt | Bin TicTacToe_AI/Net/nets/net_4.pt | Bin TicTacToe_AI/Net/nets/net_5.pt | Bin TicTacToe_AI/Net/nets/net_6.pt | Bin TicTacToe_AI/Net/nets/net_7.pt | Bin TicTacToe_AI/Net/nets/net_8.pt | Bin TicTacToe_AI/Net/nets/net_9.pt | Bin TicTacToe_AI/Net/pytorch_ai.py | 0 TicTacToe_AI/Net/wandb/debug.log | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../config.yaml | 0 .../output.log | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200128_092953-yloo6l66/config.yaml | 0 .../run-20200128_092953-yloo6l66/diff.patch | 0 .../run-20200128_092953-yloo6l66/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_100231-umum9656/config.yaml | 0 .../run-20200128_100231-umum9656/diff.patch | 0 .../run-20200128_100231-umum9656/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_100418-glkym27z/config.yaml | 0 .../run-20200128_100418-glkym27z/diff.patch | 0 .../run-20200128_100418-glkym27z/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200128_101238-9s87yjpe/config.yaml | 0 .../run-20200128_101238-9s87yjpe/diff.patch | 0 .../run-20200128_101238-9s87yjpe/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_102106-bxrufgzi/config.yaml | 0 .../run-20200128_102106-bxrufgzi/diff.patch | 0 .../run-20200128_102106-bxrufgzi/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_102136-giubv24l/config.yaml | 0 .../run-20200128_102136-giubv24l/diff.patch | 0 .../run-20200128_102136-giubv24l/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_102424-q6423sio/config.yaml | 0 .../run-20200128_102424-q6423sio/diff.patch | 0 .../run-20200128_102424-q6423sio/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_133032-5hk954l0/config.yaml | 0 .../run-20200128_133032-5hk954l0/diff.patch | 0 .../run-20200128_133032-5hk954l0/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_135143-h37w0lf8/config.yaml | 0 .../run-20200128_135143-h37w0lf8/diff.patch | 0 .../run-20200128_135143-h37w0lf8/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_135845-tbayonq6/config.yaml | 0 .../run-20200128_135845-tbayonq6/diff.patch | 0 .../run-20200128_135845-tbayonq6/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_141142-3mybeyuz/config.yaml | 0 .../run-20200128_141142-3mybeyuz/diff.patch | 0 .../run-20200128_141142-3mybeyuz/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200128_141230-xfzm23u6/config.yaml | 0 .../run-20200128_141230-xfzm23u6/diff.patch | 0 .../run-20200128_141230-xfzm23u6/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200128_142211-yiw34nau/config.yaml | 0 .../run-20200128_142211-yiw34nau/diff.patch | 0 .../run-20200128_142211-yiw34nau/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200128_142402-y6dbhic3/config.yaml | 0 .../run-20200128_142402-y6dbhic3/diff.patch | 0 .../run-20200128_142402-y6dbhic3/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 TicTacToe_AI/Net/wandb/settings | 0 datasets/MNIST/processed/test.pt | Bin datasets/MNIST/processed/training.pt | Bin datasets/MNIST/raw/t10k-images-idx3-ubyte | Bin datasets/MNIST/raw/t10k-images-idx3-ubyte.gz | Bin datasets/MNIST/raw/t10k-labels-idx1-ubyte | Bin datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz | Bin datasets/MNIST/raw/train-images-idx3-ubyte | Bin datasets/MNIST/raw/train-images-idx3-ubyte.gz | Bin datasets/MNIST/raw/train-labels-idx1-ubyte | Bin datasets/MNIST/raw/train-labels-idx1-ubyte.gz | Bin doc/Grundlagen_des_maschinellen_lernens.aux | 0 doc/Grundlagen_des_maschinellen_lernens.bcf | 0 doc/Grundlagen_des_maschinellen_lernens.lof | 0 doc/Grundlagen_des_maschinellen_lernens.log | 0 doc/Grundlagen_des_maschinellen_lernens.out | 0 doc/Grundlagen_des_maschinellen_lernens.pdf | Bin ...rundlagen_des_maschinellen_lernens.run.xml | 0 ...dlagen_des_maschinellen_lernens.synctex.gz | Bin doc/Grundlagen_des_maschinellen_lernens.tex | 0 doc/Grundlagen_des_maschinellen_lernens.toc | 0 ...087F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...5A6F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...3E2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...44DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...D9DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...8F2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...98E53A0C9FE66949F8EC4BED65B31F6975B.pygtex | 0 ...12AF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...CD8F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...96EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...14BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...301F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...885F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...C09F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...B3CF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...E41F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...0B1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...9B253A0C9FE66949F8EC4BED65B31F6975B.pygtex | 0 ...8A853A0C9FE66949F8EC4BED65B31F6975B.pygtex | 0 ...7DBF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...B69F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...E28F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...34BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...DA4F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...6E1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...AB253A0C9FE66949F8EC4BED65B31F6975B.pygtex | 0 ...D55F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...474F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...26EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 ...6ABF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex | 0 .../default-pyg-prefix.pygstyle | 0 .../default.pygstyle | 0 editor.py | 114 +++ graphics/.svg | 0 graphics/Average-pooling-example.png | Bin graphics/MaxpoolSample2.png | Bin graphics/Neural_Net.png | Bin graphics/Neural_net.svg | 0 graphics/Neuron.png | Bin graphics/Neuron.svg | 0 graphics/Wandb_accuracy.png | Bin graphics/Wandb_loss.png | Bin graphics/classification.png | Bin graphics/classification.svg | 0 graphics/conv/conv001.png | Bin graphics/conv/conv002.png | Bin graphics/conv/conv003.png | Bin graphics/conv/conv004.png | Bin graphics/conv/conv005.png | Bin graphics/conv/conv006.png | Bin graphics/conv/conv007.png | Bin graphics/conv/conv008.png | Bin graphics/conv/conv009.png | Bin graphics/conv/conv010.png | Bin graphics/conv/conv011.png | Bin graphics/conv/conv012.png | Bin graphics/conv/conv013.png | Bin graphics/conv/conv014.png | Bin graphics/conv/conv015.png | Bin graphics/conv/conv016.png | Bin graphics/conv/conv017.png | Bin graphics/conv/conv018.png | Bin graphics/conv/conv019.png | Bin graphics/conv/conv020.png | Bin graphics/conv/conv021.png | Bin graphics/conv/conv022.png | Bin graphics/conv/conv023.png | Bin graphics/conv/conv024.png | Bin graphics/conv/conv025.png | Bin graphics/conv/convd.png | Bin graphics/convolution.gif | Bin graphics/features.png | Bin graphics/gdf_big_lr.png | Bin graphics/lr_to_high.svg | 0 .../mnist_5/conv_only/mnist_5_left_edges.png | Bin .../mnist_5/conv_only/mnist_5_lower_edges.png | Bin .../mnist_5/conv_only/mnist_5_right_edges.png | Bin .../mnist_5/conv_only/mnist_5_upper_edges.png | Bin .../mnist_5/conv_pool/left_vert_avgpooled.png | Bin .../mnist_5/conv_pool/left_vert_pooled.png | Bin .../conv_pool/lower_horiz_avgpooled.png | Bin .../mnist_5/conv_pool/lower_horiz_pooled.png | Bin .../conv_pool/right_vert_avgpooled.png | Bin .../mnist_5/conv_pool/right_vert_pooled.png | Bin .../conv_pool/upper_horiz_avgpooled.png | Bin .../mnist_5/conv_pool/upper_horiz_pooled.png | Bin graphics/mnist_5/mnist_5_raw.png | Bin graphics/overfitting.png | Bin graphics/overfitting.svg | 0 graphics/regression.png | Bin graphics/regression.svg | 0 mnist_classifier.py | 0 nets/net_0.pt | Bin nets/net_1.pt | Bin nets/net_2.pt | Bin nets/net_3.pt | Bin nets/net_4.pt | Bin nets/net_5.pt | Bin nets/net_6.pt | Bin nets/net_7.pt | Bin nets/net_8.pt | Bin nets/net_97.7.pt | Bin nets/net_gpu_0.pt | Bin nets/net_gpu_1.pt | Bin nets/net_gpu_2.pt | Bin nets/net_gpu_large_batch_0.pt | Bin nets/net_gpu_large_batch_1.pt | Bin nets/net_gpu_large_batch_10.pt | Bin nets/net_gpu_large_batch_100.pt | Bin nets/net_gpu_large_batch_101.pt | Bin nets/net_gpu_large_batch_102.pt | Bin nets/net_gpu_large_batch_103.pt | Bin nets/net_gpu_large_batch_104.pt | Bin nets/net_gpu_large_batch_105.pt | Bin nets/net_gpu_large_batch_106.pt | Bin nets/net_gpu_large_batch_107.pt | Bin nets/net_gpu_large_batch_108.pt | Bin nets/net_gpu_large_batch_109.pt | Bin nets/net_gpu_large_batch_11.pt | Bin nets/net_gpu_large_batch_110.pt | Bin nets/net_gpu_large_batch_111.pt | Bin nets/net_gpu_large_batch_112.pt | Bin nets/net_gpu_large_batch_113.pt | Bin nets/net_gpu_large_batch_114.pt | Bin nets/net_gpu_large_batch_115.pt | Bin nets/net_gpu_large_batch_116.pt | Bin nets/net_gpu_large_batch_117.pt | Bin nets/net_gpu_large_batch_118.pt | Bin nets/net_gpu_large_batch_119.pt | Bin nets/net_gpu_large_batch_12.pt | Bin nets/net_gpu_large_batch_120.pt | Bin nets/net_gpu_large_batch_121.pt | Bin nets/net_gpu_large_batch_122.pt | Bin nets/net_gpu_large_batch_123.pt | Bin nets/net_gpu_large_batch_124.pt | Bin nets/net_gpu_large_batch_125.pt | Bin nets/net_gpu_large_batch_126.pt | Bin nets/net_gpu_large_batch_127.pt | Bin nets/net_gpu_large_batch_128.pt | Bin nets/net_gpu_large_batch_129.pt | Bin nets/net_gpu_large_batch_13.pt | Bin nets/net_gpu_large_batch_130.pt | Bin nets/net_gpu_large_batch_131.pt | Bin nets/net_gpu_large_batch_132.pt | Bin nets/net_gpu_large_batch_133.pt | Bin nets/net_gpu_large_batch_134.pt | Bin nets/net_gpu_large_batch_135.pt | Bin nets/net_gpu_large_batch_136.pt | Bin nets/net_gpu_large_batch_137.pt | Bin nets/net_gpu_large_batch_138.pt | Bin nets/net_gpu_large_batch_139.pt | Bin nets/net_gpu_large_batch_14.pt | Bin nets/net_gpu_large_batch_140.pt | Bin nets/net_gpu_large_batch_141.pt | Bin nets/net_gpu_large_batch_142.pt | Bin nets/net_gpu_large_batch_143.pt | Bin nets/net_gpu_large_batch_144.pt | Bin nets/net_gpu_large_batch_145.pt | Bin nets/net_gpu_large_batch_146.pt | Bin nets/net_gpu_large_batch_147.pt | Bin nets/net_gpu_large_batch_148.pt | Bin nets/net_gpu_large_batch_149.pt | Bin nets/net_gpu_large_batch_15.pt | Bin nets/net_gpu_large_batch_150.pt | Bin nets/net_gpu_large_batch_151.pt | Bin nets/net_gpu_large_batch_152.pt | Bin nets/net_gpu_large_batch_153.pt | Bin nets/net_gpu_large_batch_154.pt | Bin nets/net_gpu_large_batch_155.pt | Bin nets/net_gpu_large_batch_156.pt | Bin nets/net_gpu_large_batch_157.pt | Bin nets/net_gpu_large_batch_158.pt | Bin nets/net_gpu_large_batch_159.pt | Bin nets/net_gpu_large_batch_16.pt | Bin nets/net_gpu_large_batch_160.pt | Bin nets/net_gpu_large_batch_161.pt | Bin nets/net_gpu_large_batch_162.pt | Bin nets/net_gpu_large_batch_163.pt | Bin nets/net_gpu_large_batch_164.pt | Bin nets/net_gpu_large_batch_165.pt | Bin nets/net_gpu_large_batch_166.pt | Bin nets/net_gpu_large_batch_167.pt | Bin nets/net_gpu_large_batch_168.pt | Bin nets/net_gpu_large_batch_169.pt | Bin nets/net_gpu_large_batch_17.pt | Bin nets/net_gpu_large_batch_170.pt | Bin nets/net_gpu_large_batch_171.pt | Bin nets/net_gpu_large_batch_172.pt | Bin nets/net_gpu_large_batch_173.pt | Bin nets/net_gpu_large_batch_174.pt | Bin nets/net_gpu_large_batch_175.pt | Bin nets/net_gpu_large_batch_176.pt | Bin nets/net_gpu_large_batch_177.pt | Bin nets/net_gpu_large_batch_178.pt | Bin nets/net_gpu_large_batch_179.pt | Bin nets/net_gpu_large_batch_18.pt | Bin nets/net_gpu_large_batch_180.pt | Bin nets/net_gpu_large_batch_181.pt | Bin nets/net_gpu_large_batch_182.pt | Bin nets/net_gpu_large_batch_183.pt | Bin nets/net_gpu_large_batch_184.pt | Bin nets/net_gpu_large_batch_185.pt | Bin nets/net_gpu_large_batch_186.pt | Bin nets/net_gpu_large_batch_187.pt | Bin nets/net_gpu_large_batch_188.pt | Bin nets/net_gpu_large_batch_189.pt | Bin nets/net_gpu_large_batch_19.pt | Bin nets/net_gpu_large_batch_190.pt | Bin nets/net_gpu_large_batch_191.pt | Bin nets/net_gpu_large_batch_192.pt | Bin nets/net_gpu_large_batch_193.pt | Bin nets/net_gpu_large_batch_194.pt | Bin nets/net_gpu_large_batch_195.pt | Bin nets/net_gpu_large_batch_196.pt | Bin nets/net_gpu_large_batch_197.pt | Bin nets/net_gpu_large_batch_198.pt | Bin nets/net_gpu_large_batch_199.pt | Bin nets/net_gpu_large_batch_2.pt | Bin nets/net_gpu_large_batch_20.pt | Bin nets/net_gpu_large_batch_21.pt | Bin nets/net_gpu_large_batch_22.pt | Bin nets/net_gpu_large_batch_23.pt | Bin nets/net_gpu_large_batch_24.pt | Bin nets/net_gpu_large_batch_25.pt | Bin nets/net_gpu_large_batch_26.pt | Bin nets/net_gpu_large_batch_27.pt | Bin nets/net_gpu_large_batch_28.pt | Bin nets/net_gpu_large_batch_29.pt | Bin nets/net_gpu_large_batch_3.pt | Bin nets/net_gpu_large_batch_30.pt | Bin nets/net_gpu_large_batch_31.pt | Bin nets/net_gpu_large_batch_32.pt | Bin nets/net_gpu_large_batch_33.pt | Bin nets/net_gpu_large_batch_34.pt | Bin nets/net_gpu_large_batch_35.pt | Bin nets/net_gpu_large_batch_36.pt | Bin nets/net_gpu_large_batch_37.pt | Bin nets/net_gpu_large_batch_38.pt | Bin nets/net_gpu_large_batch_39.pt | Bin nets/net_gpu_large_batch_4.pt | Bin nets/net_gpu_large_batch_40.pt | Bin nets/net_gpu_large_batch_41.pt | Bin nets/net_gpu_large_batch_42.pt | Bin nets/net_gpu_large_batch_43.pt | Bin nets/net_gpu_large_batch_44.pt | Bin nets/net_gpu_large_batch_45.pt | Bin nets/net_gpu_large_batch_46.pt | Bin nets/net_gpu_large_batch_47.pt | Bin nets/net_gpu_large_batch_48.pt | Bin nets/net_gpu_large_batch_49.pt | Bin nets/net_gpu_large_batch_5.pt | Bin nets/net_gpu_large_batch_50.pt | Bin nets/net_gpu_large_batch_51.pt | Bin nets/net_gpu_large_batch_52.pt | Bin nets/net_gpu_large_batch_53.pt | Bin nets/net_gpu_large_batch_54.pt | Bin nets/net_gpu_large_batch_55.pt | Bin nets/net_gpu_large_batch_56.pt | Bin nets/net_gpu_large_batch_57.pt | Bin nets/net_gpu_large_batch_58.pt | Bin nets/net_gpu_large_batch_59.pt | Bin nets/net_gpu_large_batch_6.pt | Bin nets/net_gpu_large_batch_60.pt | Bin nets/net_gpu_large_batch_61.pt | Bin nets/net_gpu_large_batch_62.pt | Bin nets/net_gpu_large_batch_63.pt | Bin nets/net_gpu_large_batch_64.pt | Bin nets/net_gpu_large_batch_65.pt | Bin nets/net_gpu_large_batch_66.pt | Bin nets/net_gpu_large_batch_67.pt | Bin nets/net_gpu_large_batch_68.pt | Bin nets/net_gpu_large_batch_69.pt | Bin nets/net_gpu_large_batch_7.pt | Bin nets/net_gpu_large_batch_70.pt | Bin nets/net_gpu_large_batch_71.pt | Bin nets/net_gpu_large_batch_72.pt | Bin nets/net_gpu_large_batch_73.pt | Bin nets/net_gpu_large_batch_74.pt | Bin nets/net_gpu_large_batch_75.pt | Bin nets/net_gpu_large_batch_76.pt | Bin nets/net_gpu_large_batch_77.pt | Bin nets/net_gpu_large_batch_78.pt | Bin nets/net_gpu_large_batch_79.pt | Bin nets/net_gpu_large_batch_8.pt | Bin nets/net_gpu_large_batch_80.pt | Bin nets/net_gpu_large_batch_81.pt | Bin nets/net_gpu_large_batch_82.pt | Bin nets/net_gpu_large_batch_83.pt | Bin nets/net_gpu_large_batch_84.pt | Bin nets/net_gpu_large_batch_85.pt | Bin nets/net_gpu_large_batch_86.pt | Bin nets/net_gpu_large_batch_87.pt | Bin nets/net_gpu_large_batch_88.pt | Bin nets/net_gpu_large_batch_89.pt | Bin nets/net_gpu_large_batch_9.pt | Bin nets/net_gpu_large_batch_90.pt | Bin nets/net_gpu_large_batch_91.pt | Bin nets/net_gpu_large_batch_92.pt | Bin nets/net_gpu_large_batch_93.pt | Bin nets/net_gpu_large_batch_94.pt | Bin nets/net_gpu_large_batch_95.pt | Bin nets/net_gpu_large_batch_96.pt | Bin nets/net_gpu_large_batch_97.pt | Bin nets/net_gpu_large_batch_98.pt | Bin nets/net_gpu_large_batch_99.pt | Bin other_scripts/convolutioner.py | 0 other_scripts/setcounter.py | 0 venv/bin/Activate.ps1 | 230 +++++ venv/bin/activate | 76 ++ venv/bin/activate.csh | 37 + venv/bin/activate.fish | 75 ++ venv/bin/convert-caffe2-to-onnx | 10 + venv/bin/convert-onnx-to-caffe2 | 10 + venv/bin/easy_install | 12 + venv/bin/easy_install-3.8 | 12 + venv/bin/f2py | 10 + venv/bin/f2py3 | 10 + venv/bin/f2py3.8 | 10 + venv/bin/futurize | 12 + venv/bin/pasteurize | 12 + venv/bin/pip | 12 + venv/bin/pip3 | 12 + venv/bin/pip3.8 | 12 + venv/bin/python | 1 + venv/bin/python3 | 1 + venv/bin/python3.8 | 1 + venv/bin/tqdm | 10 + venv/include/site/python3.8/pygame/_camera.h | 27 + venv/include/site/python3.8/pygame/_pygame.h | 864 ++++++++++++++++++ venv/include/site/python3.8/pygame/_surface.h | 31 + venv/include/site/python3.8/pygame/bitmask.h | 146 +++ venv/include/site/python3.8/pygame/camera.h | 201 ++++ .../site/python3.8/pygame/fastevents.h | 48 + venv/include/site/python3.8/pygame/font.h | 57 ++ venv/include/site/python3.8/pygame/freetype.h | 137 +++ venv/include/site/python3.8/pygame/mask.h | 25 + venv/include/site/python3.8/pygame/mixer.h | 65 ++ venv/include/site/python3.8/pygame/palette.h | 123 +++ .../site/python3.8/pygame/pgarrinter.h | 26 + .../site/python3.8/pygame/pgbufferproxy.h | 52 ++ venv/include/site/python3.8/pygame/pgcompat.h | 195 ++++ venv/include/site/python3.8/pygame/pgopengl.h | 16 + venv/include/site/python3.8/pygame/pygame.h | 34 + venv/include/site/python3.8/pygame/scrap.h | 143 +++ venv/include/site/python3.8/pygame/surface.h | 383 ++++++++ venv/lib64 | 1 + venv/pyvenv.cfg | 3 + wandb/debug.log | 0 .../run-20200126_144058-y7pjuj9j/config.yaml | 0 wandb/run-20200126_144058-y7pjuj9j/diff.patch | 0 wandb/run-20200126_144058-y7pjuj9j/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_134136-6kfphe8s/config.yaml | 0 wandb/run-20200127_134136-6kfphe8s/diff.patch | 0 wandb/run-20200127_134136-6kfphe8s/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_134706-7uy589ms/config.yaml | 0 wandb/run-20200127_134706-7uy589ms/diff.patch | 0 wandb/run-20200127_134706-7uy589ms/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_141031-92wkr1uh/config.yaml | 0 wandb/run-20200127_141031-92wkr1uh/diff.patch | 0 wandb/run-20200127_141031-92wkr1uh/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200127_141329-lscctqxi/config.yaml | 0 wandb/run-20200127_141329-lscctqxi/diff.patch | 0 wandb/run-20200127_141329-lscctqxi/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200127_141628-v2eude0z/config.yaml | 0 wandb/run-20200127_141628-v2eude0z/diff.patch | 0 wandb/run-20200127_141628-v2eude0z/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_141825-a21xsfye/config.yaml | 0 wandb/run-20200127_141825-a21xsfye/output.log | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../run-20200127_142807-st277t0v/config.yaml | 0 wandb/run-20200127_142807-st277t0v/diff.patch | 0 wandb/run-20200127_142807-st277t0v/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_143851-1cqtetvf/config.yaml | 0 wandb/run-20200127_143851-1cqtetvf/diff.patch | 0 wandb/run-20200127_143851-1cqtetvf/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_150751-y1w180kc/config.yaml | 0 wandb/run-20200127_150751-y1w180kc/diff.patch | 0 wandb/run-20200127_150751-y1w180kc/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_150938-yi0otqy5/config.yaml | 0 wandb/run-20200127_150938-yi0otqy5/diff.patch | 0 wandb/run-20200127_150938-yi0otqy5/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 .../run-20200127_151617-6htqx9qa/config.yaml | 0 wandb/run-20200127_151617-6htqx9qa/diff.patch | 0 wandb/run-20200127_151617-6htqx9qa/output.log | 0 .../requirements.txt | 0 .../wandb-events.jsonl | 0 .../wandb-history.jsonl | 0 .../wandb-metadata.json | 0 .../wandb-summary.json | 0 wandb/settings | 0 695 files changed, 3256 insertions(+) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 README.md mode change 100644 => 100755 TicTacToe_AI/Chancetree/boards.bds mode change 100644 => 100755 TicTacToe_AI/Chancetree/game.py mode change 100644 => 100755 TicTacToe_AI/Chancetree/main.py mode change 100644 => 100755 TicTacToe_AI/Net/boards.bds mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/processed/test.pt mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/processed/training.pt mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte.gz mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte.gz mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte mode change 100644 => 100755 TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte.gz mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_0.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_1.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_10.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_11.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_12.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_13.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_14.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_15.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_16.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_17.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_18.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_19.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_2.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_20.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_21.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_22.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_23.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_24.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_25.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_26.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_27.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_28.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_29.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_3.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_30.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_31.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_32.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_33.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_34.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_35.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_36.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_37.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_38.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_39.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_4.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_40.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_41.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_42.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_43.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_44.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_45.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_46.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_47.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_48.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_49.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_5.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_50.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_51.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_52.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_53.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_54.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_6.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_7.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_8.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/gpunets/net_9.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_0.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_1.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_10.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_11.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_12.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_13.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_14.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_15.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_16.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_17.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_18.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_2.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_3.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_4.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_5.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_6.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_7.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_8.pt mode change 100644 => 100755 TicTacToe_AI/Net/nets/net_9.pt mode change 100644 => 100755 TicTacToe_AI/Net/pytorch_ai.py mode change 100644 => 100755 TicTacToe_AI/Net/wandb/debug.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/config.yaml mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/diff.patch mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/output.log mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/requirements.txt mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-events.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-history.jsonl mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-metadata.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-summary.json mode change 100644 => 100755 TicTacToe_AI/Net/wandb/settings mode change 100644 => 100755 datasets/MNIST/processed/test.pt mode change 100644 => 100755 datasets/MNIST/processed/training.pt mode change 100644 => 100755 datasets/MNIST/raw/t10k-images-idx3-ubyte mode change 100644 => 100755 datasets/MNIST/raw/t10k-images-idx3-ubyte.gz mode change 100644 => 100755 datasets/MNIST/raw/t10k-labels-idx1-ubyte mode change 100644 => 100755 datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz mode change 100644 => 100755 datasets/MNIST/raw/train-images-idx3-ubyte mode change 100644 => 100755 datasets/MNIST/raw/train-images-idx3-ubyte.gz mode change 100644 => 100755 datasets/MNIST/raw/train-labels-idx1-ubyte mode change 100644 => 100755 datasets/MNIST/raw/train-labels-idx1-ubyte.gz mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.aux mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.bcf mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.lof mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.log mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.out mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.pdf mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.run.xml mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.synctex.gz mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.tex mode change 100644 => 100755 doc/Grundlagen_des_maschinellen_lernens.toc mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/00B37D79FD3312AD6F59A2B37BA81087F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/090D83D976E5CEECA0A0961BB3B3A5A6F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/12F96C5C5DB151598C41F68BDCE383E2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/2310AA0C124794A026E719F78EC1B44DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/269EB77B41B74A0DDA1E98D8C4CCFD9DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/30299FD7E2187F6D53ED8A608F3958F2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/3689BC65F2D8327A52B99A4D4543798E53A0C9FE66949F8EC4BED65B31F6975B.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/458D5F1AFC81AE7291A7AAAD852DC12AF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/5A0B7618927FB8AEA4B96F5552228CD8F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/6361598B18370336863B24D1B6FAE96EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/6843D04ED2E2C37F8AF3EB0462FB514BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/684559E268B2B047D1C82BB00E985301F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/689375EA3B9C38D437AA368912E13885F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/6E136E4601877EDF7BAFA4E113440C09F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/745405EA92794205A61C3062FFF26B3CF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/7572134CCA2BA7D050325F33C4941E41F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/7C08F8DDD5F5D41169EB51C2ADB3E0B1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/91DA331C052E3A07FD9B933AC7C049B253A0C9FE66949F8EC4BED65B31F6975B.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/966BC12992AE07118A5C030A258708A853A0C9FE66949F8EC4BED65B31F6975B.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/9A791CC5219F6F4D627591113AE747DBF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/9B331F10CD24BEF694DFB75FBF495B69F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/A26181649063E5A564A34B0EBDE29E28F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/A4B374C1656F7019947BB217D7D8C34BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/B51E2DE1996D35173C012720F7A4FDA4F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/B68FDDAFFF09CEFEB070EDD4AD4C96E1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/D6B06E011A4BC083034B9BD6480B9AB253A0C9FE66949F8EC4BED65B31F6975B.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/E569CCE4C53760D94B3D7D8143D84D55F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/ECDE410C14A506CF9F77A687B26F5474F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/EDB0BACF1F2CD448B8D22F1A9B4F026EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/FAA14B25340C2458FD5D369A042116ABF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/default-pyg-prefix.pygstyle mode change 100644 => 100755 doc/_minted-Grundlagen_des_maschinellen_lernens/default.pygstyle create mode 100644 editor.py mode change 100644 => 100755 graphics/.svg mode change 100644 => 100755 graphics/Average-pooling-example.png mode change 100644 => 100755 graphics/MaxpoolSample2.png mode change 100644 => 100755 graphics/Neural_Net.png mode change 100644 => 100755 graphics/Neural_net.svg mode change 100644 => 100755 graphics/Neuron.png mode change 100644 => 100755 graphics/Neuron.svg mode change 100644 => 100755 graphics/Wandb_accuracy.png mode change 100644 => 100755 graphics/Wandb_loss.png mode change 100644 => 100755 graphics/classification.png mode change 100644 => 100755 graphics/classification.svg mode change 100644 => 100755 graphics/conv/conv001.png mode change 100644 => 100755 graphics/conv/conv002.png mode change 100644 => 100755 graphics/conv/conv003.png mode change 100644 => 100755 graphics/conv/conv004.png mode change 100644 => 100755 graphics/conv/conv005.png mode change 100644 => 100755 graphics/conv/conv006.png mode change 100644 => 100755 graphics/conv/conv007.png mode change 100644 => 100755 graphics/conv/conv008.png mode change 100644 => 100755 graphics/conv/conv009.png mode change 100644 => 100755 graphics/conv/conv010.png mode change 100644 => 100755 graphics/conv/conv011.png mode change 100644 => 100755 graphics/conv/conv012.png mode change 100644 => 100755 graphics/conv/conv013.png mode change 100644 => 100755 graphics/conv/conv014.png mode change 100644 => 100755 graphics/conv/conv015.png mode change 100644 => 100755 graphics/conv/conv016.png mode change 100644 => 100755 graphics/conv/conv017.png mode change 100644 => 100755 graphics/conv/conv018.png mode change 100644 => 100755 graphics/conv/conv019.png mode change 100644 => 100755 graphics/conv/conv020.png mode change 100644 => 100755 graphics/conv/conv021.png mode change 100644 => 100755 graphics/conv/conv022.png mode change 100644 => 100755 graphics/conv/conv023.png mode change 100644 => 100755 graphics/conv/conv024.png mode change 100644 => 100755 graphics/conv/conv025.png mode change 100644 => 100755 graphics/conv/convd.png mode change 100644 => 100755 graphics/convolution.gif mode change 100644 => 100755 graphics/features.png mode change 100644 => 100755 graphics/gdf_big_lr.png mode change 100644 => 100755 graphics/lr_to_high.svg mode change 100644 => 100755 graphics/mnist_5/conv_only/mnist_5_left_edges.png mode change 100644 => 100755 graphics/mnist_5/conv_only/mnist_5_lower_edges.png mode change 100644 => 100755 graphics/mnist_5/conv_only/mnist_5_right_edges.png mode change 100644 => 100755 graphics/mnist_5/conv_only/mnist_5_upper_edges.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/left_vert_avgpooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/left_vert_pooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/lower_horiz_avgpooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/lower_horiz_pooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/right_vert_avgpooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/right_vert_pooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/upper_horiz_avgpooled.png mode change 100644 => 100755 graphics/mnist_5/conv_pool/upper_horiz_pooled.png mode change 100644 => 100755 graphics/mnist_5/mnist_5_raw.png mode change 100644 => 100755 graphics/overfitting.png mode change 100644 => 100755 graphics/overfitting.svg mode change 100644 => 100755 graphics/regression.png mode change 100644 => 100755 graphics/regression.svg mode change 100644 => 100755 mnist_classifier.py mode change 100644 => 100755 nets/net_0.pt mode change 100644 => 100755 nets/net_1.pt mode change 100644 => 100755 nets/net_2.pt mode change 100644 => 100755 nets/net_3.pt mode change 100644 => 100755 nets/net_4.pt mode change 100644 => 100755 nets/net_5.pt mode change 100644 => 100755 nets/net_6.pt mode change 100644 => 100755 nets/net_7.pt mode change 100644 => 100755 nets/net_8.pt mode change 100644 => 100755 nets/net_97.7.pt mode change 100644 => 100755 nets/net_gpu_0.pt mode change 100644 => 100755 nets/net_gpu_1.pt mode change 100644 => 100755 nets/net_gpu_2.pt mode change 100644 => 100755 nets/net_gpu_large_batch_0.pt mode change 100644 => 100755 nets/net_gpu_large_batch_1.pt mode change 100644 => 100755 nets/net_gpu_large_batch_10.pt mode change 100644 => 100755 nets/net_gpu_large_batch_100.pt mode change 100644 => 100755 nets/net_gpu_large_batch_101.pt mode change 100644 => 100755 nets/net_gpu_large_batch_102.pt mode change 100644 => 100755 nets/net_gpu_large_batch_103.pt mode change 100644 => 100755 nets/net_gpu_large_batch_104.pt mode change 100644 => 100755 nets/net_gpu_large_batch_105.pt mode change 100644 => 100755 nets/net_gpu_large_batch_106.pt mode change 100644 => 100755 nets/net_gpu_large_batch_107.pt mode change 100644 => 100755 nets/net_gpu_large_batch_108.pt mode change 100644 => 100755 nets/net_gpu_large_batch_109.pt mode change 100644 => 100755 nets/net_gpu_large_batch_11.pt mode change 100644 => 100755 nets/net_gpu_large_batch_110.pt mode change 100644 => 100755 nets/net_gpu_large_batch_111.pt mode change 100644 => 100755 nets/net_gpu_large_batch_112.pt mode change 100644 => 100755 nets/net_gpu_large_batch_113.pt mode change 100644 => 100755 nets/net_gpu_large_batch_114.pt mode change 100644 => 100755 nets/net_gpu_large_batch_115.pt mode change 100644 => 100755 nets/net_gpu_large_batch_116.pt mode change 100644 => 100755 nets/net_gpu_large_batch_117.pt mode change 100644 => 100755 nets/net_gpu_large_batch_118.pt mode change 100644 => 100755 nets/net_gpu_large_batch_119.pt mode change 100644 => 100755 nets/net_gpu_large_batch_12.pt mode change 100644 => 100755 nets/net_gpu_large_batch_120.pt mode change 100644 => 100755 nets/net_gpu_large_batch_121.pt mode change 100644 => 100755 nets/net_gpu_large_batch_122.pt mode change 100644 => 100755 nets/net_gpu_large_batch_123.pt mode change 100644 => 100755 nets/net_gpu_large_batch_124.pt mode change 100644 => 100755 nets/net_gpu_large_batch_125.pt mode change 100644 => 100755 nets/net_gpu_large_batch_126.pt mode change 100644 => 100755 nets/net_gpu_large_batch_127.pt mode change 100644 => 100755 nets/net_gpu_large_batch_128.pt mode change 100644 => 100755 nets/net_gpu_large_batch_129.pt mode change 100644 => 100755 nets/net_gpu_large_batch_13.pt mode change 100644 => 100755 nets/net_gpu_large_batch_130.pt mode change 100644 => 100755 nets/net_gpu_large_batch_131.pt mode change 100644 => 100755 nets/net_gpu_large_batch_132.pt mode change 100644 => 100755 nets/net_gpu_large_batch_133.pt mode change 100644 => 100755 nets/net_gpu_large_batch_134.pt mode change 100644 => 100755 nets/net_gpu_large_batch_135.pt mode change 100644 => 100755 nets/net_gpu_large_batch_136.pt mode change 100644 => 100755 nets/net_gpu_large_batch_137.pt mode change 100644 => 100755 nets/net_gpu_large_batch_138.pt mode change 100644 => 100755 nets/net_gpu_large_batch_139.pt mode change 100644 => 100755 nets/net_gpu_large_batch_14.pt mode change 100644 => 100755 nets/net_gpu_large_batch_140.pt mode change 100644 => 100755 nets/net_gpu_large_batch_141.pt mode change 100644 => 100755 nets/net_gpu_large_batch_142.pt mode change 100644 => 100755 nets/net_gpu_large_batch_143.pt mode change 100644 => 100755 nets/net_gpu_large_batch_144.pt mode change 100644 => 100755 nets/net_gpu_large_batch_145.pt mode change 100644 => 100755 nets/net_gpu_large_batch_146.pt mode change 100644 => 100755 nets/net_gpu_large_batch_147.pt mode change 100644 => 100755 nets/net_gpu_large_batch_148.pt mode change 100644 => 100755 nets/net_gpu_large_batch_149.pt mode change 100644 => 100755 nets/net_gpu_large_batch_15.pt mode change 100644 => 100755 nets/net_gpu_large_batch_150.pt mode change 100644 => 100755 nets/net_gpu_large_batch_151.pt mode change 100644 => 100755 nets/net_gpu_large_batch_152.pt mode change 100644 => 100755 nets/net_gpu_large_batch_153.pt mode change 100644 => 100755 nets/net_gpu_large_batch_154.pt mode change 100644 => 100755 nets/net_gpu_large_batch_155.pt mode change 100644 => 100755 nets/net_gpu_large_batch_156.pt mode change 100644 => 100755 nets/net_gpu_large_batch_157.pt mode change 100644 => 100755 nets/net_gpu_large_batch_158.pt mode change 100644 => 100755 nets/net_gpu_large_batch_159.pt mode change 100644 => 100755 nets/net_gpu_large_batch_16.pt mode change 100644 => 100755 nets/net_gpu_large_batch_160.pt mode change 100644 => 100755 nets/net_gpu_large_batch_161.pt mode change 100644 => 100755 nets/net_gpu_large_batch_162.pt mode change 100644 => 100755 nets/net_gpu_large_batch_163.pt mode change 100644 => 100755 nets/net_gpu_large_batch_164.pt mode change 100644 => 100755 nets/net_gpu_large_batch_165.pt mode change 100644 => 100755 nets/net_gpu_large_batch_166.pt mode change 100644 => 100755 nets/net_gpu_large_batch_167.pt mode change 100644 => 100755 nets/net_gpu_large_batch_168.pt mode change 100644 => 100755 nets/net_gpu_large_batch_169.pt mode change 100644 => 100755 nets/net_gpu_large_batch_17.pt mode change 100644 => 100755 nets/net_gpu_large_batch_170.pt mode change 100644 => 100755 nets/net_gpu_large_batch_171.pt mode change 100644 => 100755 nets/net_gpu_large_batch_172.pt mode change 100644 => 100755 nets/net_gpu_large_batch_173.pt mode change 100644 => 100755 nets/net_gpu_large_batch_174.pt mode change 100644 => 100755 nets/net_gpu_large_batch_175.pt mode change 100644 => 100755 nets/net_gpu_large_batch_176.pt mode change 100644 => 100755 nets/net_gpu_large_batch_177.pt mode change 100644 => 100755 nets/net_gpu_large_batch_178.pt mode change 100644 => 100755 nets/net_gpu_large_batch_179.pt mode change 100644 => 100755 nets/net_gpu_large_batch_18.pt mode change 100644 => 100755 nets/net_gpu_large_batch_180.pt mode change 100644 => 100755 nets/net_gpu_large_batch_181.pt mode change 100644 => 100755 nets/net_gpu_large_batch_182.pt mode change 100644 => 100755 nets/net_gpu_large_batch_183.pt mode change 100644 => 100755 nets/net_gpu_large_batch_184.pt mode change 100644 => 100755 nets/net_gpu_large_batch_185.pt mode change 100644 => 100755 nets/net_gpu_large_batch_186.pt mode change 100644 => 100755 nets/net_gpu_large_batch_187.pt mode change 100644 => 100755 nets/net_gpu_large_batch_188.pt mode change 100644 => 100755 nets/net_gpu_large_batch_189.pt mode change 100644 => 100755 nets/net_gpu_large_batch_19.pt mode change 100644 => 100755 nets/net_gpu_large_batch_190.pt mode change 100644 => 100755 nets/net_gpu_large_batch_191.pt mode change 100644 => 100755 nets/net_gpu_large_batch_192.pt mode change 100644 => 100755 nets/net_gpu_large_batch_193.pt mode change 100644 => 100755 nets/net_gpu_large_batch_194.pt mode change 100644 => 100755 nets/net_gpu_large_batch_195.pt mode change 100644 => 100755 nets/net_gpu_large_batch_196.pt mode change 100644 => 100755 nets/net_gpu_large_batch_197.pt mode change 100644 => 100755 nets/net_gpu_large_batch_198.pt mode change 100644 => 100755 nets/net_gpu_large_batch_199.pt mode change 100644 => 100755 nets/net_gpu_large_batch_2.pt mode change 100644 => 100755 nets/net_gpu_large_batch_20.pt mode change 100644 => 100755 nets/net_gpu_large_batch_21.pt mode change 100644 => 100755 nets/net_gpu_large_batch_22.pt mode change 100644 => 100755 nets/net_gpu_large_batch_23.pt mode change 100644 => 100755 nets/net_gpu_large_batch_24.pt mode change 100644 => 100755 nets/net_gpu_large_batch_25.pt mode change 100644 => 100755 nets/net_gpu_large_batch_26.pt mode change 100644 => 100755 nets/net_gpu_large_batch_27.pt mode change 100644 => 100755 nets/net_gpu_large_batch_28.pt mode change 100644 => 100755 nets/net_gpu_large_batch_29.pt mode change 100644 => 100755 nets/net_gpu_large_batch_3.pt mode change 100644 => 100755 nets/net_gpu_large_batch_30.pt mode change 100644 => 100755 nets/net_gpu_large_batch_31.pt mode change 100644 => 100755 nets/net_gpu_large_batch_32.pt mode change 100644 => 100755 nets/net_gpu_large_batch_33.pt mode change 100644 => 100755 nets/net_gpu_large_batch_34.pt mode change 100644 => 100755 nets/net_gpu_large_batch_35.pt mode change 100644 => 100755 nets/net_gpu_large_batch_36.pt mode change 100644 => 100755 nets/net_gpu_large_batch_37.pt mode change 100644 => 100755 nets/net_gpu_large_batch_38.pt mode change 100644 => 100755 nets/net_gpu_large_batch_39.pt mode change 100644 => 100755 nets/net_gpu_large_batch_4.pt mode change 100644 => 100755 nets/net_gpu_large_batch_40.pt mode change 100644 => 100755 nets/net_gpu_large_batch_41.pt mode change 100644 => 100755 nets/net_gpu_large_batch_42.pt mode change 100644 => 100755 nets/net_gpu_large_batch_43.pt mode change 100644 => 100755 nets/net_gpu_large_batch_44.pt mode change 100644 => 100755 nets/net_gpu_large_batch_45.pt mode change 100644 => 100755 nets/net_gpu_large_batch_46.pt mode change 100644 => 100755 nets/net_gpu_large_batch_47.pt mode change 100644 => 100755 nets/net_gpu_large_batch_48.pt mode change 100644 => 100755 nets/net_gpu_large_batch_49.pt mode change 100644 => 100755 nets/net_gpu_large_batch_5.pt mode change 100644 => 100755 nets/net_gpu_large_batch_50.pt mode change 100644 => 100755 nets/net_gpu_large_batch_51.pt mode change 100644 => 100755 nets/net_gpu_large_batch_52.pt mode change 100644 => 100755 nets/net_gpu_large_batch_53.pt mode change 100644 => 100755 nets/net_gpu_large_batch_54.pt mode change 100644 => 100755 nets/net_gpu_large_batch_55.pt mode change 100644 => 100755 nets/net_gpu_large_batch_56.pt mode change 100644 => 100755 nets/net_gpu_large_batch_57.pt mode change 100644 => 100755 nets/net_gpu_large_batch_58.pt mode change 100644 => 100755 nets/net_gpu_large_batch_59.pt mode change 100644 => 100755 nets/net_gpu_large_batch_6.pt mode change 100644 => 100755 nets/net_gpu_large_batch_60.pt mode change 100644 => 100755 nets/net_gpu_large_batch_61.pt mode change 100644 => 100755 nets/net_gpu_large_batch_62.pt mode change 100644 => 100755 nets/net_gpu_large_batch_63.pt mode change 100644 => 100755 nets/net_gpu_large_batch_64.pt mode change 100644 => 100755 nets/net_gpu_large_batch_65.pt mode change 100644 => 100755 nets/net_gpu_large_batch_66.pt mode change 100644 => 100755 nets/net_gpu_large_batch_67.pt mode change 100644 => 100755 nets/net_gpu_large_batch_68.pt mode change 100644 => 100755 nets/net_gpu_large_batch_69.pt mode change 100644 => 100755 nets/net_gpu_large_batch_7.pt mode change 100644 => 100755 nets/net_gpu_large_batch_70.pt mode change 100644 => 100755 nets/net_gpu_large_batch_71.pt mode change 100644 => 100755 nets/net_gpu_large_batch_72.pt mode change 100644 => 100755 nets/net_gpu_large_batch_73.pt mode change 100644 => 100755 nets/net_gpu_large_batch_74.pt mode change 100644 => 100755 nets/net_gpu_large_batch_75.pt mode change 100644 => 100755 nets/net_gpu_large_batch_76.pt mode change 100644 => 100755 nets/net_gpu_large_batch_77.pt mode change 100644 => 100755 nets/net_gpu_large_batch_78.pt mode change 100644 => 100755 nets/net_gpu_large_batch_79.pt mode change 100644 => 100755 nets/net_gpu_large_batch_8.pt mode change 100644 => 100755 nets/net_gpu_large_batch_80.pt mode change 100644 => 100755 nets/net_gpu_large_batch_81.pt mode change 100644 => 100755 nets/net_gpu_large_batch_82.pt mode change 100644 => 100755 nets/net_gpu_large_batch_83.pt mode change 100644 => 100755 nets/net_gpu_large_batch_84.pt mode change 100644 => 100755 nets/net_gpu_large_batch_85.pt mode change 100644 => 100755 nets/net_gpu_large_batch_86.pt mode change 100644 => 100755 nets/net_gpu_large_batch_87.pt mode change 100644 => 100755 nets/net_gpu_large_batch_88.pt mode change 100644 => 100755 nets/net_gpu_large_batch_89.pt mode change 100644 => 100755 nets/net_gpu_large_batch_9.pt mode change 100644 => 100755 nets/net_gpu_large_batch_90.pt mode change 100644 => 100755 nets/net_gpu_large_batch_91.pt mode change 100644 => 100755 nets/net_gpu_large_batch_92.pt mode change 100644 => 100755 nets/net_gpu_large_batch_93.pt mode change 100644 => 100755 nets/net_gpu_large_batch_94.pt mode change 100644 => 100755 nets/net_gpu_large_batch_95.pt mode change 100644 => 100755 nets/net_gpu_large_batch_96.pt mode change 100644 => 100755 nets/net_gpu_large_batch_97.pt mode change 100644 => 100755 nets/net_gpu_large_batch_98.pt mode change 100644 => 100755 nets/net_gpu_large_batch_99.pt mode change 100644 => 100755 other_scripts/convolutioner.py mode change 100644 => 100755 other_scripts/setcounter.py create mode 100644 venv/bin/Activate.ps1 create mode 100644 venv/bin/activate create mode 100644 venv/bin/activate.csh create mode 100644 venv/bin/activate.fish create mode 100755 venv/bin/convert-caffe2-to-onnx create mode 100755 venv/bin/convert-onnx-to-caffe2 create mode 100755 venv/bin/easy_install create mode 100755 venv/bin/easy_install-3.8 create mode 100755 venv/bin/f2py create mode 100755 venv/bin/f2py3 create mode 100755 venv/bin/f2py3.8 create mode 100755 venv/bin/futurize create mode 100755 venv/bin/pasteurize create mode 100755 venv/bin/pip create mode 100755 venv/bin/pip3 create mode 100755 venv/bin/pip3.8 create mode 120000 venv/bin/python create mode 120000 venv/bin/python3 create mode 120000 venv/bin/python3.8 create mode 100755 venv/bin/tqdm create mode 100644 venv/include/site/python3.8/pygame/_camera.h create mode 100644 venv/include/site/python3.8/pygame/_pygame.h create mode 100644 venv/include/site/python3.8/pygame/_surface.h create mode 100644 venv/include/site/python3.8/pygame/bitmask.h create mode 100644 venv/include/site/python3.8/pygame/camera.h create mode 100644 venv/include/site/python3.8/pygame/fastevents.h create mode 100644 venv/include/site/python3.8/pygame/font.h create mode 100644 venv/include/site/python3.8/pygame/freetype.h create mode 100644 venv/include/site/python3.8/pygame/mask.h create mode 100644 venv/include/site/python3.8/pygame/mixer.h create mode 100644 venv/include/site/python3.8/pygame/palette.h create mode 100644 venv/include/site/python3.8/pygame/pgarrinter.h create mode 100644 venv/include/site/python3.8/pygame/pgbufferproxy.h create mode 100644 venv/include/site/python3.8/pygame/pgcompat.h create mode 100644 venv/include/site/python3.8/pygame/pgopengl.h create mode 100644 venv/include/site/python3.8/pygame/pygame.h create mode 100644 venv/include/site/python3.8/pygame/scrap.h create mode 100644 venv/include/site/python3.8/pygame/surface.h create mode 120000 venv/lib64 create mode 100644 venv/pyvenv.cfg mode change 100644 => 100755 wandb/debug.log mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/config.yaml mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/diff.patch mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/output.log mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/requirements.txt mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200126_144058-y7pjuj9j/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/config.yaml mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/diff.patch mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/output.log mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/requirements.txt mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_134136-6kfphe8s/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/config.yaml mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/diff.patch mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/output.log mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/requirements.txt mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_134706-7uy589ms/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/config.yaml mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/diff.patch mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/output.log mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/requirements.txt mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_141031-92wkr1uh/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/config.yaml mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/diff.patch mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/output.log mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/requirements.txt mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_141329-lscctqxi/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/config.yaml mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/diff.patch mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/output.log mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/requirements.txt mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_141628-v2eude0z/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_141825-a21xsfye/config.yaml mode change 100644 => 100755 wandb/run-20200127_141825-a21xsfye/output.log mode change 100644 => 100755 wandb/run-20200127_141825-a21xsfye/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_141825-a21xsfye/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/config.yaml mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/diff.patch mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/output.log mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/requirements.txt mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_142807-st277t0v/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/config.yaml mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/diff.patch mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/output.log mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/requirements.txt mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_143851-1cqtetvf/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/config.yaml mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/diff.patch mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/output.log mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/requirements.txt mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_150751-y1w180kc/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/config.yaml mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/diff.patch mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/output.log mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/requirements.txt mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_150938-yi0otqy5/wandb-summary.json mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/config.yaml mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/diff.patch mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/output.log mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/requirements.txt mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/wandb-events.jsonl mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/wandb-history.jsonl mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/wandb-metadata.json mode change 100644 => 100755 wandb/run-20200127_151617-6htqx9qa/wandb-summary.json mode change 100644 => 100755 wandb/settings diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Chancetree/boards.bds b/TicTacToe_AI/Chancetree/boards.bds old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Chancetree/game.py b/TicTacToe_AI/Chancetree/game.py old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Chancetree/main.py b/TicTacToe_AI/Chancetree/main.py old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/boards.bds b/TicTacToe_AI/Net/boards.bds old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/processed/test.pt b/TicTacToe_AI/Net/datasets/MNIST/processed/test.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/processed/training.pt b/TicTacToe_AI/Net/datasets/MNIST/processed/training.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte b/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte.gz b/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-images-idx3-ubyte.gz old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte b/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz b/TicTacToe_AI/Net/datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte b/TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte.gz b/TicTacToe_AI/Net/datasets/MNIST/raw/train-images-idx3-ubyte.gz old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte b/TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte.gz b/TicTacToe_AI/Net/datasets/MNIST/raw/train-labels-idx1-ubyte.gz old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_0.pt b/TicTacToe_AI/Net/nets/gpunets/net_0.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_1.pt b/TicTacToe_AI/Net/nets/gpunets/net_1.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_10.pt b/TicTacToe_AI/Net/nets/gpunets/net_10.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_11.pt b/TicTacToe_AI/Net/nets/gpunets/net_11.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_12.pt b/TicTacToe_AI/Net/nets/gpunets/net_12.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_13.pt b/TicTacToe_AI/Net/nets/gpunets/net_13.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_14.pt b/TicTacToe_AI/Net/nets/gpunets/net_14.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_15.pt b/TicTacToe_AI/Net/nets/gpunets/net_15.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_16.pt b/TicTacToe_AI/Net/nets/gpunets/net_16.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_17.pt b/TicTacToe_AI/Net/nets/gpunets/net_17.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_18.pt b/TicTacToe_AI/Net/nets/gpunets/net_18.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_19.pt b/TicTacToe_AI/Net/nets/gpunets/net_19.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_2.pt b/TicTacToe_AI/Net/nets/gpunets/net_2.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_20.pt b/TicTacToe_AI/Net/nets/gpunets/net_20.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_21.pt b/TicTacToe_AI/Net/nets/gpunets/net_21.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_22.pt b/TicTacToe_AI/Net/nets/gpunets/net_22.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_23.pt b/TicTacToe_AI/Net/nets/gpunets/net_23.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_24.pt b/TicTacToe_AI/Net/nets/gpunets/net_24.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_25.pt b/TicTacToe_AI/Net/nets/gpunets/net_25.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_26.pt b/TicTacToe_AI/Net/nets/gpunets/net_26.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_27.pt b/TicTacToe_AI/Net/nets/gpunets/net_27.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_28.pt b/TicTacToe_AI/Net/nets/gpunets/net_28.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_29.pt b/TicTacToe_AI/Net/nets/gpunets/net_29.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_3.pt b/TicTacToe_AI/Net/nets/gpunets/net_3.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_30.pt b/TicTacToe_AI/Net/nets/gpunets/net_30.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_31.pt b/TicTacToe_AI/Net/nets/gpunets/net_31.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_32.pt b/TicTacToe_AI/Net/nets/gpunets/net_32.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_33.pt b/TicTacToe_AI/Net/nets/gpunets/net_33.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_34.pt b/TicTacToe_AI/Net/nets/gpunets/net_34.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_35.pt b/TicTacToe_AI/Net/nets/gpunets/net_35.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_36.pt b/TicTacToe_AI/Net/nets/gpunets/net_36.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_37.pt b/TicTacToe_AI/Net/nets/gpunets/net_37.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_38.pt b/TicTacToe_AI/Net/nets/gpunets/net_38.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_39.pt b/TicTacToe_AI/Net/nets/gpunets/net_39.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_4.pt b/TicTacToe_AI/Net/nets/gpunets/net_4.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_40.pt b/TicTacToe_AI/Net/nets/gpunets/net_40.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_41.pt b/TicTacToe_AI/Net/nets/gpunets/net_41.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_42.pt b/TicTacToe_AI/Net/nets/gpunets/net_42.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_43.pt b/TicTacToe_AI/Net/nets/gpunets/net_43.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_44.pt b/TicTacToe_AI/Net/nets/gpunets/net_44.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_45.pt b/TicTacToe_AI/Net/nets/gpunets/net_45.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_46.pt b/TicTacToe_AI/Net/nets/gpunets/net_46.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_47.pt b/TicTacToe_AI/Net/nets/gpunets/net_47.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_48.pt b/TicTacToe_AI/Net/nets/gpunets/net_48.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_49.pt b/TicTacToe_AI/Net/nets/gpunets/net_49.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_5.pt b/TicTacToe_AI/Net/nets/gpunets/net_5.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_50.pt b/TicTacToe_AI/Net/nets/gpunets/net_50.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_51.pt b/TicTacToe_AI/Net/nets/gpunets/net_51.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_52.pt b/TicTacToe_AI/Net/nets/gpunets/net_52.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_53.pt b/TicTacToe_AI/Net/nets/gpunets/net_53.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_54.pt b/TicTacToe_AI/Net/nets/gpunets/net_54.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_6.pt b/TicTacToe_AI/Net/nets/gpunets/net_6.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_7.pt b/TicTacToe_AI/Net/nets/gpunets/net_7.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_8.pt b/TicTacToe_AI/Net/nets/gpunets/net_8.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/gpunets/net_9.pt b/TicTacToe_AI/Net/nets/gpunets/net_9.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_0.pt b/TicTacToe_AI/Net/nets/net_0.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_1.pt b/TicTacToe_AI/Net/nets/net_1.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_10.pt b/TicTacToe_AI/Net/nets/net_10.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_11.pt b/TicTacToe_AI/Net/nets/net_11.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_12.pt b/TicTacToe_AI/Net/nets/net_12.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_13.pt b/TicTacToe_AI/Net/nets/net_13.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_14.pt b/TicTacToe_AI/Net/nets/net_14.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_15.pt b/TicTacToe_AI/Net/nets/net_15.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_16.pt b/TicTacToe_AI/Net/nets/net_16.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_17.pt b/TicTacToe_AI/Net/nets/net_17.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_18.pt b/TicTacToe_AI/Net/nets/net_18.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_2.pt b/TicTacToe_AI/Net/nets/net_2.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_3.pt b/TicTacToe_AI/Net/nets/net_3.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_4.pt b/TicTacToe_AI/Net/nets/net_4.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_5.pt b/TicTacToe_AI/Net/nets/net_5.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_6.pt b/TicTacToe_AI/Net/nets/net_6.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_7.pt b/TicTacToe_AI/Net/nets/net_7.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_8.pt b/TicTacToe_AI/Net/nets/net_8.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/nets/net_9.pt b/TicTacToe_AI/Net/nets/net_9.pt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/pytorch_ai.py b/TicTacToe_AI/Net/pytorch_ai.py old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/debug.log b/TicTacToe_AI/Net/wandb/debug.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_133612-8qzzaedg/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-summary.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_133739-4u7vedo7/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-summary.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134136-5prsp2w0/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-summary.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134219-mz8btidj/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-summary.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134313-mvx4evw0/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/config.yaml b/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/output.log b/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-metadata.json b/TicTacToe_AI/Net/wandb/dryrun-20200128_134850-0d70asue/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/output.log b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_092953-yloo6l66/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/output.log b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_100231-umum9656/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/output.log b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_100418-glkym27z/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/output.log b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_101238-9s87yjpe/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/output.log b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_102106-bxrufgzi/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/output.log b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_102136-giubv24l/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/output.log b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_102424-q6423sio/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/output.log b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_133032-5hk954l0/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/output.log b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_135143-h37w0lf8/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/output.log b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_135845-tbayonq6/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/output.log b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_141142-3mybeyuz/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/output.log b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_141230-xfzm23u6/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/output.log b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_142211-yiw34nau/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/config.yaml b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/config.yaml old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/diff.patch b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/diff.patch old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/output.log b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/output.log old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/requirements.txt b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/requirements.txt old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-events.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-history.jsonl b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-metadata.json b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-summary.json b/TicTacToe_AI/Net/wandb/run-20200128_142402-y6dbhic3/wandb-summary.json old mode 100644 new mode 100755 diff --git a/TicTacToe_AI/Net/wandb/settings b/TicTacToe_AI/Net/wandb/settings old mode 100644 new mode 100755 diff --git a/datasets/MNIST/processed/test.pt b/datasets/MNIST/processed/test.pt old mode 100644 new mode 100755 diff --git a/datasets/MNIST/processed/training.pt b/datasets/MNIST/processed/training.pt old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/t10k-images-idx3-ubyte b/datasets/MNIST/raw/t10k-images-idx3-ubyte old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/t10k-images-idx3-ubyte.gz b/datasets/MNIST/raw/t10k-images-idx3-ubyte.gz old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/t10k-labels-idx1-ubyte b/datasets/MNIST/raw/t10k-labels-idx1-ubyte old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz b/datasets/MNIST/raw/t10k-labels-idx1-ubyte.gz old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/train-images-idx3-ubyte b/datasets/MNIST/raw/train-images-idx3-ubyte old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/train-images-idx3-ubyte.gz b/datasets/MNIST/raw/train-images-idx3-ubyte.gz old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/train-labels-idx1-ubyte b/datasets/MNIST/raw/train-labels-idx1-ubyte old mode 100644 new mode 100755 diff --git a/datasets/MNIST/raw/train-labels-idx1-ubyte.gz b/datasets/MNIST/raw/train-labels-idx1-ubyte.gz old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.aux b/doc/Grundlagen_des_maschinellen_lernens.aux old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.bcf b/doc/Grundlagen_des_maschinellen_lernens.bcf old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.lof b/doc/Grundlagen_des_maschinellen_lernens.lof old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.log b/doc/Grundlagen_des_maschinellen_lernens.log old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.out b/doc/Grundlagen_des_maschinellen_lernens.out old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.pdf b/doc/Grundlagen_des_maschinellen_lernens.pdf old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.run.xml b/doc/Grundlagen_des_maschinellen_lernens.run.xml old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.synctex.gz b/doc/Grundlagen_des_maschinellen_lernens.synctex.gz old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.tex b/doc/Grundlagen_des_maschinellen_lernens.tex old mode 100644 new mode 100755 diff --git a/doc/Grundlagen_des_maschinellen_lernens.toc b/doc/Grundlagen_des_maschinellen_lernens.toc old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/00B37D79FD3312AD6F59A2B37BA81087F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/00B37D79FD3312AD6F59A2B37BA81087F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/090D83D976E5CEECA0A0961BB3B3A5A6F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/090D83D976E5CEECA0A0961BB3B3A5A6F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/12F96C5C5DB151598C41F68BDCE383E2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/12F96C5C5DB151598C41F68BDCE383E2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/2310AA0C124794A026E719F78EC1B44DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/2310AA0C124794A026E719F78EC1B44DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/269EB77B41B74A0DDA1E98D8C4CCFD9DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/269EB77B41B74A0DDA1E98D8C4CCFD9DF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/30299FD7E2187F6D53ED8A608F3958F2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/30299FD7E2187F6D53ED8A608F3958F2F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/3689BC65F2D8327A52B99A4D4543798E53A0C9FE66949F8EC4BED65B31F6975B.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/3689BC65F2D8327A52B99A4D4543798E53A0C9FE66949F8EC4BED65B31F6975B.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/458D5F1AFC81AE7291A7AAAD852DC12AF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/458D5F1AFC81AE7291A7AAAD852DC12AF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/5A0B7618927FB8AEA4B96F5552228CD8F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/5A0B7618927FB8AEA4B96F5552228CD8F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/6361598B18370336863B24D1B6FAE96EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/6361598B18370336863B24D1B6FAE96EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/6843D04ED2E2C37F8AF3EB0462FB514BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/6843D04ED2E2C37F8AF3EB0462FB514BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/684559E268B2B047D1C82BB00E985301F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/684559E268B2B047D1C82BB00E985301F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/689375EA3B9C38D437AA368912E13885F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/689375EA3B9C38D437AA368912E13885F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/6E136E4601877EDF7BAFA4E113440C09F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/6E136E4601877EDF7BAFA4E113440C09F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/745405EA92794205A61C3062FFF26B3CF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/745405EA92794205A61C3062FFF26B3CF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/7572134CCA2BA7D050325F33C4941E41F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/7572134CCA2BA7D050325F33C4941E41F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/7C08F8DDD5F5D41169EB51C2ADB3E0B1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/7C08F8DDD5F5D41169EB51C2ADB3E0B1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/91DA331C052E3A07FD9B933AC7C049B253A0C9FE66949F8EC4BED65B31F6975B.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/91DA331C052E3A07FD9B933AC7C049B253A0C9FE66949F8EC4BED65B31F6975B.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/966BC12992AE07118A5C030A258708A853A0C9FE66949F8EC4BED65B31F6975B.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/966BC12992AE07118A5C030A258708A853A0C9FE66949F8EC4BED65B31F6975B.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/9A791CC5219F6F4D627591113AE747DBF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/9A791CC5219F6F4D627591113AE747DBF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/9B331F10CD24BEF694DFB75FBF495B69F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/9B331F10CD24BEF694DFB75FBF495B69F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/A26181649063E5A564A34B0EBDE29E28F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/A26181649063E5A564A34B0EBDE29E28F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/A4B374C1656F7019947BB217D7D8C34BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/A4B374C1656F7019947BB217D7D8C34BF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/B51E2DE1996D35173C012720F7A4FDA4F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/B51E2DE1996D35173C012720F7A4FDA4F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/B68FDDAFFF09CEFEB070EDD4AD4C96E1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/B68FDDAFFF09CEFEB070EDD4AD4C96E1F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/D6B06E011A4BC083034B9BD6480B9AB253A0C9FE66949F8EC4BED65B31F6975B.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/D6B06E011A4BC083034B9BD6480B9AB253A0C9FE66949F8EC4BED65B31F6975B.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/E569CCE4C53760D94B3D7D8143D84D55F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/E569CCE4C53760D94B3D7D8143D84D55F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/ECDE410C14A506CF9F77A687B26F5474F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/ECDE410C14A506CF9F77A687B26F5474F6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/EDB0BACF1F2CD448B8D22F1A9B4F026EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/EDB0BACF1F2CD448B8D22F1A9B4F026EF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/FAA14B25340C2458FD5D369A042116ABF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex b/doc/_minted-Grundlagen_des_maschinellen_lernens/FAA14B25340C2458FD5D369A042116ABF6C426F58C5CCC27D3C7BD698FEC22DB.pygtex old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/default-pyg-prefix.pygstyle b/doc/_minted-Grundlagen_des_maschinellen_lernens/default-pyg-prefix.pygstyle old mode 100644 new mode 100755 diff --git a/doc/_minted-Grundlagen_des_maschinellen_lernens/default.pygstyle b/doc/_minted-Grundlagen_des_maschinellen_lernens/default.pygstyle old mode 100644 new mode 100755 diff --git a/editor.py b/editor.py new file mode 100644 index 0000000..1211bc7 --- /dev/null +++ b/editor.py @@ -0,0 +1,114 @@ +import pygame +import math +import numpy as np +import torch +import torch.nn as nn +import torch.nn.functional as F + + +class Net(nn.Module): + def __init__(self): + super().__init__() + self.fc1 = nn.Linear(28 * 28, 64) + self.fc2 = nn.Linear(64, 120) + self.fc3 = nn.Linear(120, 120) + self.fc4 = nn.Linear(120, 64) + self.fc5 = nn.Linear(64, 10) + + def forward(self, x): + x = F.relu(self.fc1(x)) + x = F.relu(self.fc2(x)) + x = F.relu(self.fc3(x)) + x = F.relu(self.fc4(x)) + x = self.fc5(x) + return F.log_softmax(x, dim=1) + + +def transform_to_rgb(value): + if value < 0 or value > 1: + return tuple((255, 255, 255)) + else: + return tuple((value * 255, value * 255, value * 255)) + + +def update_screen_from_array(array, screen): + for x in range(array.shape[0]): + for y in range(array.shape[1]): + x_transformed = x * 30 + y_transformed = y * 30 + 161 + + color = transform_to_rgb(array[x, y]) + pygame.draw.rect(screen, color, (x_transformed, y_transformed, 30, 30), 0) + + +######################## +HARDNESS = 0.7 +######################## + +pygame.init() +screen = pygame.display.set_mode((28 * 30, 1000)) +clock = pygame.time.Clock() +stopFlag = False +BLACK = (0, 0, 0) +WHITE = (255, 255, 255) +img_array = np.zeros((28, 28)) + +font = pygame.font.SysFont('linuxbiolinum', 80) + +net = torch.load('./nets/net_gpu_large_batch_199.pt') + +while not stopFlag: + + # get events + for event in pygame.event.get(): + if event.type == pygame.QUIT: + stopFlag = True + + pygame.draw.line(screen, WHITE, [0, 160], [pygame.display.get_surface().get_size()[0], 160], 1) # Trennlinie + + if pygame.mouse.get_pressed()[0] == 1: + pos = pygame.mouse.get_pos() + + # transform mouse positions to array indices + x_transformed = math.floor((pos[0] / 30)) + y_transformed = math.floor((pos[1] - 161) / 30) + if x_transformed < 0: + x_transformed = 0 + if y_transformed < 0: + y_transformed = 0 + else: + pass + coords = [(x_transformed, y_transformed), (x_transformed + 1, y_transformed), + (x_transformed - 1, y_transformed), (x_transformed, y_transformed + 1), + (x_transformed, y_transformed - 1)] + + for coord in coords: + if not coord[0] < 0 and not coord[0] > 27 and not coord[1] < 0 and not coord[1] > 27: + img_array[coord[0], coord[1]] += HARDNESS + + # Clear image on right mouse button press + if pygame.mouse.get_pressed()[2] == 1: + img_array = np.zeros((28, 28)) + + update_screen_from_array(img_array, screen) + # Draw vertical lines + for i in range(30, 28 * 30, 30): + pygame.draw.line(screen, WHITE, [i, 161], [i, 1000], 1) + + # Draw horizontal lines + for i in range(189, 1000, 30): + pygame.draw.line(screen, WHITE, [0, i], [28 * 30, i], 1) + + pygame.display.flip() + clock.tick(60) + np.rot90(img_array, k=1) + tensor = torch.from_numpy(img_array).view(1, 28 * 28).float() + with torch.no_grad(): + prediction = torch.argmax(net(tensor)) + + text = font.render('Prediction: ' + str(prediction.item()), True, WHITE, BLACK) + textRect = text.get_rect() + textRect.center = (420, 80) + screen.blit(text, textRect) + +pygame.quit() diff --git a/graphics/.svg b/graphics/.svg old mode 100644 new mode 100755 diff --git a/graphics/Average-pooling-example.png b/graphics/Average-pooling-example.png old mode 100644 new mode 100755 diff --git a/graphics/MaxpoolSample2.png b/graphics/MaxpoolSample2.png old mode 100644 new mode 100755 diff --git a/graphics/Neural_Net.png b/graphics/Neural_Net.png old mode 100644 new mode 100755 diff --git a/graphics/Neural_net.svg b/graphics/Neural_net.svg old mode 100644 new mode 100755 diff --git a/graphics/Neuron.png b/graphics/Neuron.png old mode 100644 new mode 100755 diff --git a/graphics/Neuron.svg b/graphics/Neuron.svg old mode 100644 new mode 100755 diff --git a/graphics/Wandb_accuracy.png b/graphics/Wandb_accuracy.png old mode 100644 new mode 100755 diff --git a/graphics/Wandb_loss.png b/graphics/Wandb_loss.png old mode 100644 new mode 100755 diff --git a/graphics/classification.png b/graphics/classification.png old mode 100644 new mode 100755 diff --git a/graphics/classification.svg b/graphics/classification.svg old mode 100644 new mode 100755 diff --git a/graphics/conv/conv001.png b/graphics/conv/conv001.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv002.png b/graphics/conv/conv002.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv003.png b/graphics/conv/conv003.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv004.png b/graphics/conv/conv004.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv005.png b/graphics/conv/conv005.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv006.png b/graphics/conv/conv006.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv007.png b/graphics/conv/conv007.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv008.png b/graphics/conv/conv008.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv009.png b/graphics/conv/conv009.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv010.png b/graphics/conv/conv010.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv011.png b/graphics/conv/conv011.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv012.png b/graphics/conv/conv012.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv013.png b/graphics/conv/conv013.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv014.png b/graphics/conv/conv014.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv015.png b/graphics/conv/conv015.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv016.png b/graphics/conv/conv016.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv017.png b/graphics/conv/conv017.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv018.png b/graphics/conv/conv018.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv019.png b/graphics/conv/conv019.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv020.png b/graphics/conv/conv020.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv021.png b/graphics/conv/conv021.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv022.png b/graphics/conv/conv022.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv023.png b/graphics/conv/conv023.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv024.png b/graphics/conv/conv024.png old mode 100644 new mode 100755 diff --git a/graphics/conv/conv025.png b/graphics/conv/conv025.png old mode 100644 new mode 100755 diff --git a/graphics/conv/convd.png b/graphics/conv/convd.png old mode 100644 new mode 100755 diff --git a/graphics/convolution.gif b/graphics/convolution.gif old mode 100644 new mode 100755 diff --git a/graphics/features.png b/graphics/features.png old mode 100644 new mode 100755 diff --git a/graphics/gdf_big_lr.png b/graphics/gdf_big_lr.png old mode 100644 new mode 100755 diff --git a/graphics/lr_to_high.svg b/graphics/lr_to_high.svg old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_only/mnist_5_left_edges.png b/graphics/mnist_5/conv_only/mnist_5_left_edges.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_only/mnist_5_lower_edges.png b/graphics/mnist_5/conv_only/mnist_5_lower_edges.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_only/mnist_5_right_edges.png b/graphics/mnist_5/conv_only/mnist_5_right_edges.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_only/mnist_5_upper_edges.png b/graphics/mnist_5/conv_only/mnist_5_upper_edges.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/left_vert_avgpooled.png b/graphics/mnist_5/conv_pool/left_vert_avgpooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/left_vert_pooled.png b/graphics/mnist_5/conv_pool/left_vert_pooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/lower_horiz_avgpooled.png b/graphics/mnist_5/conv_pool/lower_horiz_avgpooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/lower_horiz_pooled.png b/graphics/mnist_5/conv_pool/lower_horiz_pooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/right_vert_avgpooled.png b/graphics/mnist_5/conv_pool/right_vert_avgpooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/right_vert_pooled.png b/graphics/mnist_5/conv_pool/right_vert_pooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/upper_horiz_avgpooled.png b/graphics/mnist_5/conv_pool/upper_horiz_avgpooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/conv_pool/upper_horiz_pooled.png b/graphics/mnist_5/conv_pool/upper_horiz_pooled.png old mode 100644 new mode 100755 diff --git a/graphics/mnist_5/mnist_5_raw.png b/graphics/mnist_5/mnist_5_raw.png old mode 100644 new mode 100755 diff --git a/graphics/overfitting.png b/graphics/overfitting.png old mode 100644 new mode 100755 diff --git a/graphics/overfitting.svg b/graphics/overfitting.svg old mode 100644 new mode 100755 diff --git a/graphics/regression.png b/graphics/regression.png old mode 100644 new mode 100755 diff --git a/graphics/regression.svg b/graphics/regression.svg old mode 100644 new mode 100755 diff --git a/mnist_classifier.py b/mnist_classifier.py old mode 100644 new mode 100755 diff --git a/nets/net_0.pt b/nets/net_0.pt old mode 100644 new mode 100755 diff --git a/nets/net_1.pt b/nets/net_1.pt old mode 100644 new mode 100755 diff --git a/nets/net_2.pt b/nets/net_2.pt old mode 100644 new mode 100755 diff --git a/nets/net_3.pt b/nets/net_3.pt old mode 100644 new mode 100755 diff --git a/nets/net_4.pt b/nets/net_4.pt old mode 100644 new mode 100755 diff --git a/nets/net_5.pt b/nets/net_5.pt old mode 100644 new mode 100755 diff --git a/nets/net_6.pt b/nets/net_6.pt old mode 100644 new mode 100755 diff --git a/nets/net_7.pt b/nets/net_7.pt old mode 100644 new mode 100755 diff --git a/nets/net_8.pt b/nets/net_8.pt old mode 100644 new mode 100755 diff --git a/nets/net_97.7.pt b/nets/net_97.7.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_0.pt b/nets/net_gpu_0.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_1.pt b/nets/net_gpu_1.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_2.pt b/nets/net_gpu_2.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_0.pt b/nets/net_gpu_large_batch_0.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_1.pt b/nets/net_gpu_large_batch_1.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_10.pt b/nets/net_gpu_large_batch_10.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_100.pt b/nets/net_gpu_large_batch_100.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_101.pt b/nets/net_gpu_large_batch_101.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_102.pt b/nets/net_gpu_large_batch_102.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_103.pt b/nets/net_gpu_large_batch_103.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_104.pt b/nets/net_gpu_large_batch_104.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_105.pt b/nets/net_gpu_large_batch_105.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_106.pt b/nets/net_gpu_large_batch_106.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_107.pt b/nets/net_gpu_large_batch_107.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_108.pt b/nets/net_gpu_large_batch_108.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_109.pt b/nets/net_gpu_large_batch_109.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_11.pt b/nets/net_gpu_large_batch_11.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_110.pt b/nets/net_gpu_large_batch_110.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_111.pt b/nets/net_gpu_large_batch_111.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_112.pt b/nets/net_gpu_large_batch_112.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_113.pt b/nets/net_gpu_large_batch_113.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_114.pt b/nets/net_gpu_large_batch_114.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_115.pt b/nets/net_gpu_large_batch_115.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_116.pt b/nets/net_gpu_large_batch_116.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_117.pt b/nets/net_gpu_large_batch_117.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_118.pt b/nets/net_gpu_large_batch_118.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_119.pt b/nets/net_gpu_large_batch_119.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_12.pt b/nets/net_gpu_large_batch_12.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_120.pt b/nets/net_gpu_large_batch_120.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_121.pt b/nets/net_gpu_large_batch_121.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_122.pt b/nets/net_gpu_large_batch_122.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_123.pt b/nets/net_gpu_large_batch_123.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_124.pt b/nets/net_gpu_large_batch_124.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_125.pt b/nets/net_gpu_large_batch_125.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_126.pt b/nets/net_gpu_large_batch_126.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_127.pt b/nets/net_gpu_large_batch_127.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_128.pt b/nets/net_gpu_large_batch_128.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_129.pt b/nets/net_gpu_large_batch_129.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_13.pt b/nets/net_gpu_large_batch_13.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_130.pt b/nets/net_gpu_large_batch_130.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_131.pt b/nets/net_gpu_large_batch_131.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_132.pt b/nets/net_gpu_large_batch_132.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_133.pt b/nets/net_gpu_large_batch_133.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_134.pt b/nets/net_gpu_large_batch_134.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_135.pt b/nets/net_gpu_large_batch_135.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_136.pt b/nets/net_gpu_large_batch_136.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_137.pt b/nets/net_gpu_large_batch_137.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_138.pt b/nets/net_gpu_large_batch_138.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_139.pt b/nets/net_gpu_large_batch_139.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_14.pt b/nets/net_gpu_large_batch_14.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_140.pt b/nets/net_gpu_large_batch_140.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_141.pt b/nets/net_gpu_large_batch_141.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_142.pt b/nets/net_gpu_large_batch_142.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_143.pt b/nets/net_gpu_large_batch_143.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_144.pt b/nets/net_gpu_large_batch_144.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_145.pt b/nets/net_gpu_large_batch_145.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_146.pt b/nets/net_gpu_large_batch_146.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_147.pt b/nets/net_gpu_large_batch_147.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_148.pt b/nets/net_gpu_large_batch_148.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_149.pt b/nets/net_gpu_large_batch_149.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_15.pt b/nets/net_gpu_large_batch_15.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_150.pt b/nets/net_gpu_large_batch_150.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_151.pt b/nets/net_gpu_large_batch_151.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_152.pt b/nets/net_gpu_large_batch_152.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_153.pt b/nets/net_gpu_large_batch_153.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_154.pt b/nets/net_gpu_large_batch_154.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_155.pt b/nets/net_gpu_large_batch_155.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_156.pt b/nets/net_gpu_large_batch_156.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_157.pt b/nets/net_gpu_large_batch_157.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_158.pt b/nets/net_gpu_large_batch_158.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_159.pt b/nets/net_gpu_large_batch_159.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_16.pt b/nets/net_gpu_large_batch_16.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_160.pt b/nets/net_gpu_large_batch_160.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_161.pt b/nets/net_gpu_large_batch_161.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_162.pt b/nets/net_gpu_large_batch_162.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_163.pt b/nets/net_gpu_large_batch_163.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_164.pt b/nets/net_gpu_large_batch_164.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_165.pt b/nets/net_gpu_large_batch_165.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_166.pt b/nets/net_gpu_large_batch_166.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_167.pt b/nets/net_gpu_large_batch_167.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_168.pt b/nets/net_gpu_large_batch_168.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_169.pt b/nets/net_gpu_large_batch_169.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_17.pt b/nets/net_gpu_large_batch_17.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_170.pt b/nets/net_gpu_large_batch_170.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_171.pt b/nets/net_gpu_large_batch_171.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_172.pt b/nets/net_gpu_large_batch_172.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_173.pt b/nets/net_gpu_large_batch_173.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_174.pt b/nets/net_gpu_large_batch_174.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_175.pt b/nets/net_gpu_large_batch_175.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_176.pt b/nets/net_gpu_large_batch_176.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_177.pt b/nets/net_gpu_large_batch_177.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_178.pt b/nets/net_gpu_large_batch_178.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_179.pt b/nets/net_gpu_large_batch_179.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_18.pt b/nets/net_gpu_large_batch_18.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_180.pt b/nets/net_gpu_large_batch_180.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_181.pt b/nets/net_gpu_large_batch_181.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_182.pt b/nets/net_gpu_large_batch_182.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_183.pt b/nets/net_gpu_large_batch_183.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_184.pt b/nets/net_gpu_large_batch_184.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_185.pt b/nets/net_gpu_large_batch_185.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_186.pt b/nets/net_gpu_large_batch_186.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_187.pt b/nets/net_gpu_large_batch_187.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_188.pt b/nets/net_gpu_large_batch_188.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_189.pt b/nets/net_gpu_large_batch_189.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_19.pt b/nets/net_gpu_large_batch_19.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_190.pt b/nets/net_gpu_large_batch_190.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_191.pt b/nets/net_gpu_large_batch_191.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_192.pt b/nets/net_gpu_large_batch_192.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_193.pt b/nets/net_gpu_large_batch_193.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_194.pt b/nets/net_gpu_large_batch_194.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_195.pt b/nets/net_gpu_large_batch_195.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_196.pt b/nets/net_gpu_large_batch_196.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_197.pt b/nets/net_gpu_large_batch_197.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_198.pt b/nets/net_gpu_large_batch_198.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_199.pt b/nets/net_gpu_large_batch_199.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_2.pt b/nets/net_gpu_large_batch_2.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_20.pt b/nets/net_gpu_large_batch_20.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_21.pt b/nets/net_gpu_large_batch_21.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_22.pt b/nets/net_gpu_large_batch_22.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_23.pt b/nets/net_gpu_large_batch_23.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_24.pt b/nets/net_gpu_large_batch_24.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_25.pt b/nets/net_gpu_large_batch_25.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_26.pt b/nets/net_gpu_large_batch_26.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_27.pt b/nets/net_gpu_large_batch_27.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_28.pt b/nets/net_gpu_large_batch_28.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_29.pt b/nets/net_gpu_large_batch_29.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_3.pt b/nets/net_gpu_large_batch_3.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_30.pt b/nets/net_gpu_large_batch_30.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_31.pt b/nets/net_gpu_large_batch_31.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_32.pt b/nets/net_gpu_large_batch_32.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_33.pt b/nets/net_gpu_large_batch_33.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_34.pt b/nets/net_gpu_large_batch_34.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_35.pt b/nets/net_gpu_large_batch_35.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_36.pt b/nets/net_gpu_large_batch_36.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_37.pt b/nets/net_gpu_large_batch_37.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_38.pt b/nets/net_gpu_large_batch_38.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_39.pt b/nets/net_gpu_large_batch_39.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_4.pt b/nets/net_gpu_large_batch_4.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_40.pt b/nets/net_gpu_large_batch_40.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_41.pt b/nets/net_gpu_large_batch_41.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_42.pt b/nets/net_gpu_large_batch_42.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_43.pt b/nets/net_gpu_large_batch_43.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_44.pt b/nets/net_gpu_large_batch_44.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_45.pt b/nets/net_gpu_large_batch_45.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_46.pt b/nets/net_gpu_large_batch_46.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_47.pt b/nets/net_gpu_large_batch_47.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_48.pt b/nets/net_gpu_large_batch_48.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_49.pt b/nets/net_gpu_large_batch_49.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_5.pt b/nets/net_gpu_large_batch_5.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_50.pt b/nets/net_gpu_large_batch_50.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_51.pt b/nets/net_gpu_large_batch_51.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_52.pt b/nets/net_gpu_large_batch_52.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_53.pt b/nets/net_gpu_large_batch_53.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_54.pt b/nets/net_gpu_large_batch_54.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_55.pt b/nets/net_gpu_large_batch_55.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_56.pt b/nets/net_gpu_large_batch_56.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_57.pt b/nets/net_gpu_large_batch_57.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_58.pt b/nets/net_gpu_large_batch_58.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_59.pt b/nets/net_gpu_large_batch_59.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_6.pt b/nets/net_gpu_large_batch_6.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_60.pt b/nets/net_gpu_large_batch_60.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_61.pt b/nets/net_gpu_large_batch_61.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_62.pt b/nets/net_gpu_large_batch_62.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_63.pt b/nets/net_gpu_large_batch_63.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_64.pt b/nets/net_gpu_large_batch_64.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_65.pt b/nets/net_gpu_large_batch_65.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_66.pt b/nets/net_gpu_large_batch_66.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_67.pt b/nets/net_gpu_large_batch_67.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_68.pt b/nets/net_gpu_large_batch_68.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_69.pt b/nets/net_gpu_large_batch_69.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_7.pt b/nets/net_gpu_large_batch_7.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_70.pt b/nets/net_gpu_large_batch_70.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_71.pt b/nets/net_gpu_large_batch_71.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_72.pt b/nets/net_gpu_large_batch_72.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_73.pt b/nets/net_gpu_large_batch_73.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_74.pt b/nets/net_gpu_large_batch_74.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_75.pt b/nets/net_gpu_large_batch_75.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_76.pt b/nets/net_gpu_large_batch_76.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_77.pt b/nets/net_gpu_large_batch_77.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_78.pt b/nets/net_gpu_large_batch_78.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_79.pt b/nets/net_gpu_large_batch_79.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_8.pt b/nets/net_gpu_large_batch_8.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_80.pt b/nets/net_gpu_large_batch_80.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_81.pt b/nets/net_gpu_large_batch_81.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_82.pt b/nets/net_gpu_large_batch_82.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_83.pt b/nets/net_gpu_large_batch_83.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_84.pt b/nets/net_gpu_large_batch_84.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_85.pt b/nets/net_gpu_large_batch_85.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_86.pt b/nets/net_gpu_large_batch_86.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_87.pt b/nets/net_gpu_large_batch_87.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_88.pt b/nets/net_gpu_large_batch_88.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_89.pt b/nets/net_gpu_large_batch_89.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_9.pt b/nets/net_gpu_large_batch_9.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_90.pt b/nets/net_gpu_large_batch_90.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_91.pt b/nets/net_gpu_large_batch_91.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_92.pt b/nets/net_gpu_large_batch_92.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_93.pt b/nets/net_gpu_large_batch_93.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_94.pt b/nets/net_gpu_large_batch_94.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_95.pt b/nets/net_gpu_large_batch_95.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_96.pt b/nets/net_gpu_large_batch_96.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_97.pt b/nets/net_gpu_large_batch_97.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_98.pt b/nets/net_gpu_large_batch_98.pt old mode 100644 new mode 100755 diff --git a/nets/net_gpu_large_batch_99.pt b/nets/net_gpu_large_batch_99.pt old mode 100644 new mode 100755 diff --git a/other_scripts/convolutioner.py b/other_scripts/convolutioner.py old mode 100644 new mode 100755 diff --git a/other_scripts/setcounter.py b/other_scripts/setcounter.py old mode 100644 new mode 100755 diff --git a/venv/bin/Activate.ps1 b/venv/bin/Activate.ps1 new file mode 100644 index 0000000..900f50e --- /dev/null +++ b/venv/bin/Activate.ps1 @@ -0,0 +1,230 @@ +<# +.Synopsis +Activate a Python virtual environment for the current Powershell session. + +.Description +Pushes the python executable for a virtual environment to the front of the +$Env:PATH environment variable and sets the prompt to signify that you are +in a Python virtual environment. Makes use of the command line switches as +well as the `pyvenv.cfg` file values present in the virtual environment. + +.Parameter VenvDir +Path to the directory that contains the virtual environment to activate. The +default value for this is the parent of the directory that the Activate.ps1 +script is located within. + +.Parameter Prompt +The prompt prefix to display when this virtual environment is activated. By +default, this prompt is the name of the virtual environment folder (VenvDir) +surrounded by parentheses and followed by a single space (ie. '(.venv) '). + +.Example +Activate.ps1 +Activates the Python virtual environment that contains the Activate.ps1 script. + +.Example +Activate.ps1 -Verbose +Activates the Python virtual environment that contains the Activate.ps1 script, +and shows extra information about the activation as it executes. + +.Example +Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv +Activates the Python virtual environment located in the specified location. + +.Example +Activate.ps1 -Prompt "MyPython" +Activates the Python virtual environment that contains the Activate.ps1 script, +and prefixes the current prompt with the specified string (surrounded in +parentheses) while the virtual environment is active. + + +#> +Param( + [Parameter(Mandatory = $false)] + [String] + $VenvDir, + [Parameter(Mandatory = $false)] + [String] + $Prompt +) + +<# Function declarations --------------------------------------------------- #> + +<# +.Synopsis +Remove all shell session elements added by the Activate script, including the +addition of the virtual environment's Python executable from the beginning of +the PATH variable. + +.Parameter NonDestructive +If present, do not remove this function from the global namespace for the +session. + +#> +function global:deactivate ([switch]$NonDestructive) { + # Revert to original values + + # The prior prompt: + if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) { + Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt + Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT + } + + # The prior PYTHONHOME: + if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { + Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME + Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME + } + + # The prior PATH: + if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { + Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH + Remove-Item -Path Env:_OLD_VIRTUAL_PATH + } + + # Just remove the VIRTUAL_ENV altogether: + if (Test-Path -Path Env:VIRTUAL_ENV) { + Remove-Item -Path env:VIRTUAL_ENV + } + + # Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether: + if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) { + Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force + } + + # Leave deactivate function in the global namespace if requested: + if (-not $NonDestructive) { + Remove-Item -Path function:deactivate + } +} + +<# +.Description +Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the +given folder, and returns them in a map. + +For each line in the pyvenv.cfg file, if that line can be parsed into exactly +two strings separated by `=` (with any amount of whitespace surrounding the =) +then it is considered a `key = value` line. The left hand string is the key, +the right hand is the value. + +If the value starts with a `'` or a `"` then the first and last character is +stripped from the value before being captured. + +.Parameter ConfigDir +Path to the directory that contains the `pyvenv.cfg` file. +#> +function Get-PyVenvConfig( + [String] + $ConfigDir +) { + Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg" + + # Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue). + $pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue + + # An empty map will be returned if no config file is found. + $pyvenvConfig = @{ } + + if ($pyvenvConfigPath) { + + Write-Verbose "File exists, parse `key = value` lines" + $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath + + $pyvenvConfigContent | ForEach-Object { + $keyval = $PSItem -split "\s*=\s*", 2 + if ($keyval[0] -and $keyval[1]) { + $val = $keyval[1] + + # Remove extraneous quotations around a string value. + if ("'""".Contains($val.Substring(0,1))) { + $val = $val.Substring(1, $val.Length - 2) + } + + $pyvenvConfig[$keyval[0]] = $val + Write-Verbose "Adding Key: '$($keyval[0])'='$val'" + } + } + } + return $pyvenvConfig +} + + +<# Begin Activate script --------------------------------------------------- #> + +# Determine the containing directory of this script +$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition +$VenvExecDir = Get-Item -Path $VenvExecPath + +Write-Verbose "Activation script is located in path: '$VenvExecPath'" +Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)" +Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)" + +# Set values required in priority: CmdLine, ConfigFile, Default +# First, get the location of the virtual environment, it might not be +# VenvExecDir if specified on the command line. +if ($VenvDir) { + Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values" +} else { + Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir." + $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/") + Write-Verbose "VenvDir=$VenvDir" +} + +# Next, read the `pyvenv.cfg` file to determine any required value such +# as `prompt`. +$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir + +# Next, set the prompt from the command line, or the config file, or +# just use the name of the virtual environment folder. +if ($Prompt) { + Write-Verbose "Prompt specified as argument, using '$Prompt'" +} else { + Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value" + if ($pyvenvCfg -and $pyvenvCfg['prompt']) { + Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'" + $Prompt = $pyvenvCfg['prompt']; + } + else { + Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virutal environment)" + Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'" + $Prompt = Split-Path -Path $venvDir -Leaf + } +} + +Write-Verbose "Prompt = '$Prompt'" +Write-Verbose "VenvDir='$VenvDir'" + +# Deactivate any currently active virtual environment, but leave the +# deactivate function in place. +deactivate -nondestructive + +# Now set the environment variable VIRTUAL_ENV, used by many tools to determine +# that there is an activated venv. +$env:VIRTUAL_ENV = $VenvDir + +if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) { + + Write-Verbose "Setting prompt to '$Prompt'" + + # Set the prompt to include the env name + # Make sure _OLD_VIRTUAL_PROMPT is global + function global:_OLD_VIRTUAL_PROMPT { "" } + Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT + New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt + + function global:prompt { + Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) " + _OLD_VIRTUAL_PROMPT + } +} + +# Clear PYTHONHOME +if (Test-Path -Path Env:PYTHONHOME) { + Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME + Remove-Item -Path Env:PYTHONHOME +} + +# Add the venv to the PATH +Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH +$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH" diff --git a/venv/bin/activate b/venv/bin/activate new file mode 100644 index 0000000..f162af9 --- /dev/null +++ b/venv/bin/activate @@ -0,0 +1,76 @@ +# This file must be used with "source bin/activate" *from bash* +# you cannot run it directly + +deactivate () { + # reset old environment variables + if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then + PATH="${_OLD_VIRTUAL_PATH:-}" + export PATH + unset _OLD_VIRTUAL_PATH + fi + if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then + PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" + export PYTHONHOME + unset _OLD_VIRTUAL_PYTHONHOME + fi + + # This should detect bash and zsh, which have a hash command that must + # be called to get it to forget past commands. Without forgetting + # past commands the $PATH changes we made may not be respected + if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then + hash -r + fi + + if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then + PS1="${_OLD_VIRTUAL_PS1:-}" + export PS1 + unset _OLD_VIRTUAL_PS1 + fi + + unset VIRTUAL_ENV + if [ ! "${1:-}" = "nondestructive" ] ; then + # Self destruct! + unset -f deactivate + fi +} + +# unset irrelevant variables +deactivate nondestructive + +VIRTUAL_ENV="/home/clemens/repositorys/pytorch-ai/venv" +export VIRTUAL_ENV + +_OLD_VIRTUAL_PATH="$PATH" +PATH="$VIRTUAL_ENV/bin:$PATH" +export PATH + +# unset PYTHONHOME if set +# this will fail if PYTHONHOME is set to the empty string (which is bad anyway) +# could use `if (set -u; : $PYTHONHOME) ;` in bash +if [ -n "${PYTHONHOME:-}" ] ; then + _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" + unset PYTHONHOME +fi + +if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then + _OLD_VIRTUAL_PS1="${PS1:-}" + if [ "x(venv) " != x ] ; then + PS1="(venv) ${PS1:-}" + else + if [ "`basename \"$VIRTUAL_ENV\"`" = "__" ] ; then + # special case for Aspen magic directories + # see http://www.zetadev.com/software/aspen/ + PS1="[`basename \`dirname \"$VIRTUAL_ENV\"\``] $PS1" + else + PS1="(`basename \"$VIRTUAL_ENV\"`)$PS1" + fi + fi + export PS1 +fi + +# This should detect bash and zsh, which have a hash command that must +# be called to get it to forget past commands. Without forgetting +# past commands the $PATH changes we made may not be respected +if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then + hash -r +fi diff --git a/venv/bin/activate.csh b/venv/bin/activate.csh new file mode 100644 index 0000000..c33b05d --- /dev/null +++ b/venv/bin/activate.csh @@ -0,0 +1,37 @@ +# This file must be used with "source bin/activate.csh" *from csh*. +# You cannot run it directly. +# Created by Davide Di Blasi . +# Ported to Python 3.3 venv by Andrew Svetlov + +alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate' + +# Unset irrelevant variables. +deactivate nondestructive + +setenv VIRTUAL_ENV "/home/clemens/repositorys/pytorch-ai/venv" + +set _OLD_VIRTUAL_PATH="$PATH" +setenv PATH "$VIRTUAL_ENV/bin:$PATH" + + +set _OLD_VIRTUAL_PROMPT="$prompt" + +if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then + if ("venv" != "") then + set env_name = "venv" + else + if (`basename "VIRTUAL_ENV"` == "__") then + # special case for Aspen magic directories + # see http://www.zetadev.com/software/aspen/ + set env_name = `basename \`dirname "$VIRTUAL_ENV"\`` + else + set env_name = `basename "$VIRTUAL_ENV"` + endif + endif + set prompt = "[$env_name] $prompt" + unset env_name +endif + +alias pydoc python -m pydoc + +rehash diff --git a/venv/bin/activate.fish b/venv/bin/activate.fish new file mode 100644 index 0000000..5305e22 --- /dev/null +++ b/venv/bin/activate.fish @@ -0,0 +1,75 @@ +# This file must be used with ". bin/activate.fish" *from fish* (http://fishshell.org) +# you cannot run it directly + +function deactivate -d "Exit virtualenv and return to normal shell environment" + # reset old environment variables + if test -n "$_OLD_VIRTUAL_PATH" + set -gx PATH $_OLD_VIRTUAL_PATH + set -e _OLD_VIRTUAL_PATH + end + if test -n "$_OLD_VIRTUAL_PYTHONHOME" + set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME + set -e _OLD_VIRTUAL_PYTHONHOME + end + + if test -n "$_OLD_FISH_PROMPT_OVERRIDE" + functions -e fish_prompt + set -e _OLD_FISH_PROMPT_OVERRIDE + functions -c _old_fish_prompt fish_prompt + functions -e _old_fish_prompt + end + + set -e VIRTUAL_ENV + if test "$argv[1]" != "nondestructive" + # Self destruct! + functions -e deactivate + end +end + +# unset irrelevant variables +deactivate nondestructive + +set -gx VIRTUAL_ENV "/home/clemens/repositorys/pytorch-ai/venv" + +set -gx _OLD_VIRTUAL_PATH $PATH +set -gx PATH "$VIRTUAL_ENV/bin" $PATH + +# unset PYTHONHOME if set +if set -q PYTHONHOME + set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME + set -e PYTHONHOME +end + +if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" + # fish uses a function instead of an env var to generate the prompt. + + # save the current fish_prompt function as the function _old_fish_prompt + functions -c fish_prompt _old_fish_prompt + + # with the original prompt function renamed, we can override with our own. + function fish_prompt + # Save the return status of the last command + set -l old_status $status + + # Prompt override? + if test -n "(venv) " + printf "%s%s" "(venv) " (set_color normal) + else + # ...Otherwise, prepend env + set -l _checkbase (basename "$VIRTUAL_ENV") + if test $_checkbase = "__" + # special case for Aspen magic directories + # see http://www.zetadev.com/software/aspen/ + printf "%s[%s]%s " (set_color -b blue white) (basename (dirname "$VIRTUAL_ENV")) (set_color normal) + else + printf "%s(%s)%s" (set_color -b blue white) (basename "$VIRTUAL_ENV") (set_color normal) + end + end + + # Restore the return status of the previous command. + echo "exit $old_status" | . + _old_fish_prompt + end + + set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV" +end diff --git a/venv/bin/convert-caffe2-to-onnx b/venv/bin/convert-caffe2-to-onnx new file mode 100755 index 0000000..4831aaf --- /dev/null +++ b/venv/bin/convert-caffe2-to-onnx @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from caffe2.python.onnx.bin.conversion import caffe2_to_onnx + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(caffe2_to_onnx()) diff --git a/venv/bin/convert-onnx-to-caffe2 b/venv/bin/convert-onnx-to-caffe2 new file mode 100755 index 0000000..82bd284 --- /dev/null +++ b/venv/bin/convert-onnx-to-caffe2 @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from caffe2.python.onnx.bin.conversion import onnx_to_caffe2 + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(onnx_to_caffe2()) diff --git a/venv/bin/easy_install b/venv/bin/easy_install new file mode 100755 index 0000000..a862106 --- /dev/null +++ b/venv/bin/easy_install @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' +__requires__ = 'setuptools==40.8.0' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('setuptools==40.8.0', 'console_scripts', 'easy_install')() + ) diff --git a/venv/bin/easy_install-3.8 b/venv/bin/easy_install-3.8 new file mode 100755 index 0000000..eb30492 --- /dev/null +++ b/venv/bin/easy_install-3.8 @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' +__requires__ = 'setuptools==40.8.0' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('setuptools==40.8.0', 'console_scripts', 'easy_install-3.8')() + ) diff --git a/venv/bin/f2py b/venv/bin/f2py new file mode 100755 index 0000000..eb89837 --- /dev/null +++ b/venv/bin/f2py @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from numpy.f2py.f2py2e import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/venv/bin/f2py3 b/venv/bin/f2py3 new file mode 100755 index 0000000..eb89837 --- /dev/null +++ b/venv/bin/f2py3 @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from numpy.f2py.f2py2e import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/venv/bin/f2py3.8 b/venv/bin/f2py3.8 new file mode 100755 index 0000000..eb89837 --- /dev/null +++ b/venv/bin/f2py3.8 @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from numpy.f2py.f2py2e import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/venv/bin/futurize b/venv/bin/futurize new file mode 100755 index 0000000..5f14921 --- /dev/null +++ b/venv/bin/futurize @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize' +__requires__ = 'future==0.18.2' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('future==0.18.2', 'console_scripts', 'futurize')() + ) diff --git a/venv/bin/pasteurize b/venv/bin/pasteurize new file mode 100755 index 0000000..c9a30f1 --- /dev/null +++ b/venv/bin/pasteurize @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','pasteurize' +__requires__ = 'future==0.18.2' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('future==0.18.2', 'console_scripts', 'pasteurize')() + ) diff --git a/venv/bin/pip b/venv/bin/pip new file mode 100755 index 0000000..cd10f99 --- /dev/null +++ b/venv/bin/pip @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' +__requires__ = 'pip==19.0.3' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('pip==19.0.3', 'console_scripts', 'pip')() + ) diff --git a/venv/bin/pip3 b/venv/bin/pip3 new file mode 100755 index 0000000..1606bc0 --- /dev/null +++ b/venv/bin/pip3 @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' +__requires__ = 'pip==19.0.3' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('pip==19.0.3', 'console_scripts', 'pip3')() + ) diff --git a/venv/bin/pip3.8 b/venv/bin/pip3.8 new file mode 100755 index 0000000..261c2f3 --- /dev/null +++ b/venv/bin/pip3.8 @@ -0,0 +1,12 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' +__requires__ = 'pip==19.0.3' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('pip==19.0.3', 'console_scripts', 'pip3.8')() + ) diff --git a/venv/bin/python b/venv/bin/python new file mode 120000 index 0000000..4e58b60 --- /dev/null +++ b/venv/bin/python @@ -0,0 +1 @@ +python3.8 \ No newline at end of file diff --git a/venv/bin/python3 b/venv/bin/python3 new file mode 120000 index 0000000..4e58b60 --- /dev/null +++ b/venv/bin/python3 @@ -0,0 +1 @@ +python3.8 \ No newline at end of file diff --git a/venv/bin/python3.8 b/venv/bin/python3.8 new file mode 120000 index 0000000..02a1389 --- /dev/null +++ b/venv/bin/python3.8 @@ -0,0 +1 @@ +/usr/bin/python3.8 \ No newline at end of file diff --git a/venv/bin/tqdm b/venv/bin/tqdm new file mode 100755 index 0000000..ee282c8 --- /dev/null +++ b/venv/bin/tqdm @@ -0,0 +1,10 @@ +#!/home/clemens/repositorys/pytorch-ai/venv/bin/python +# -*- coding: utf-8 -*- +import re +import sys + +from tqdm.cli import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/venv/include/site/python3.8/pygame/_camera.h b/venv/include/site/python3.8/pygame/_camera.h new file mode 100644 index 0000000..68ae989 --- /dev/null +++ b/venv/include/site/python3.8/pygame/_camera.h @@ -0,0 +1,27 @@ +/* + pygame - Python Game Library + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +*/ + +#ifndef _CAMERA_H +#define _CAMERA_H + +#include "_pygame.h" +#include "camera.h" + +#endif + diff --git a/venv/include/site/python3.8/pygame/_pygame.h b/venv/include/site/python3.8/pygame/_pygame.h new file mode 100644 index 0000000..68962fc --- /dev/null +++ b/venv/include/site/python3.8/pygame/_pygame.h @@ -0,0 +1,864 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#ifndef _PYGAME_H +#define _PYGAME_H + +/** This header file includes all the definitions for the + ** base pygame extensions. This header only requires + ** SDL and Python includes. The reason for functions + ** prototyped with #define's is to allow for maximum + ** python portability. It also uses python as the + ** runtime linker, which allows for late binding. For more + ** information on this style of development, read the Python + ** docs on this subject. + ** http://www.python.org/doc/current/ext/using-cobjects.html + ** + ** If using this to build your own derived extensions, + ** you'll see that the functions available here are mainly + ** used to help convert between python objects and SDL objects. + ** Since this library doesn't add a lot of functionality to + ** the SDL libarary, it doesn't need to offer a lot either. + ** + ** When initializing your extension module, you must manually + ** import the modules you want to use. (this is the part about + ** using python as the runtime linker). Each module has its + ** own import_xxx() routine. You need to perform this import + ** after you have initialized your own module, and before + ** you call any routines from that module. Since every module + ** in pygame does this, there are plenty of examples. + ** + ** The base module does include some useful conversion routines + ** that you are free to use in your own extension. + ** + ** When making changes, it is very important to keep the + ** FIRSTSLOT and NUMSLOT constants up to date for each + ** section. Also be sure not to overlap any of the slots. + ** When you do make a mistake with this, it will result + ** is a dereferenced NULL pointer that is easier to diagnose + ** than it could be :] + **/ +#if defined(HAVE_SNPRINTF) /* defined in python.h (pyerrors.h) and SDL.h \ + (SDL_config.h) */ +#undef HAVE_SNPRINTF /* remove GCC redefine warning */ +#endif + +// This must be before all else +#if defined(__SYMBIAN32__) && defined(OPENC) +#include + +#if defined(__WINS__) +void * +_alloca(size_t size); +#define alloca _alloca +#endif +#endif + +#define PG_STRINGIZE_HELPER(x) #x +#define PG_STRINGIZE(x) PG_STRINGIZE_HELPER(x) +#define PG_WARN(desc) message(__FILE__ "(" PG_STRINGIZE(__LINE__) "): WARNING: " #desc) + +/* This is unconditionally defined in Python.h */ +#if defined(_POSIX_C_SOURCE) +#undef _POSIX_C_SOURCE +#endif + +#include + +/* the version macros are defined since version 1.9.5 */ +#define PG_MAJOR_VERSION 1 +#define PG_MINOR_VERSION 9 +#define PG_PATCH_VERSION 6 +#define PG_VERSIONNUM(MAJOR, MINOR, PATCH) (1000*(MAJOR) + 100*(MINOR) + (PATCH)) +#define PG_VERSION_ATLEAST(MAJOR, MINOR, PATCH) \ + (PG_VERSIONNUM(PG_MAJOR_VERSION, PG_MINOR_VERSION, PG_PATCH_VERSION) >= \ + PG_VERSIONNUM(MAJOR, MINOR, PATCH)) + +/* Cobjects vanish in Python 3.2; so we will code as though we use capsules */ +#if defined(Py_CAPSULE_H) +#define PG_HAVE_CAPSULE 1 +#else +#define PG_HAVE_CAPSULE 0 +#endif +#if defined(Py_COBJECT_H) +#define PG_HAVE_COBJECT 1 +#else +#define PG_HAVE_COBJECT 0 +#endif +#if !PG_HAVE_CAPSULE +#define PyCapsule_New(ptr, n, dfn) PyCObject_FromVoidPtr(ptr, dfn) +#define PyCapsule_GetPointer(obj, n) PyCObject_AsVoidPtr(obj) +#define PyCapsule_CheckExact(obj) PyCObject_Check(obj) +#endif + +/* Pygame uses Py_buffer (PEP 3118) to exchange array information internally; + * define here as needed. + */ +#if !defined(PyBUF_SIMPLE) +typedef struct bufferinfo { + void *buf; + PyObject *obj; + Py_ssize_t len; + Py_ssize_t itemsize; + int readonly; + int ndim; + char *format; + Py_ssize_t *shape; + Py_ssize_t *strides; + Py_ssize_t *suboffsets; + void *internal; +} Py_buffer; + +/* Flags for getting buffers */ +#define PyBUF_SIMPLE 0 +#define PyBUF_WRITABLE 0x0001 +/* we used to include an E, backwards compatible alias */ +#define PyBUF_WRITEABLE PyBUF_WRITABLE +#define PyBUF_FORMAT 0x0004 +#define PyBUF_ND 0x0008 +#define PyBUF_STRIDES (0x0010 | PyBUF_ND) +#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES) +#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES) +#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) +#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) + +#define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE) +#define PyBUF_CONTIG_RO (PyBUF_ND) + +#define PyBUF_STRIDED (PyBUF_STRIDES | PyBUF_WRITABLE) +#define PyBUF_STRIDED_RO (PyBUF_STRIDES) + +#define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT) +#define PyBUF_RECORDS_RO (PyBUF_STRIDES | PyBUF_FORMAT) + +#define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT) +#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT) + +#define PyBUF_READ 0x100 +#define PyBUF_WRITE 0x200 +#define PyBUF_SHADOW 0x400 + +typedef int (*getbufferproc)(PyObject *, Py_buffer *, int); +typedef void (*releasebufferproc)(Py_buffer *); +#endif /* #if !defined(PyBUF_SIMPLE) */ + +/* Flag indicating a pg_buffer; used for assertions within callbacks */ +#ifndef NDEBUG +#define PyBUF_PYGAME 0x4000 +#endif + +#define PyBUF_HAS_FLAG(f, F) (((f) & (F)) == (F)) + +/* Array information exchange struct C type; inherits from Py_buffer + * + * Pygame uses its own Py_buffer derived C struct as an internal representation + * of an imported array buffer. The extended Py_buffer allows for a + * per-instance release callback, + */ +typedef void (*pybuffer_releaseproc)(Py_buffer *); + +typedef struct pg_bufferinfo_s { + Py_buffer view; + PyObject *consumer; /* Input: Borrowed reference */ + pybuffer_releaseproc release_buffer; +} pg_buffer; + +/* Operating system specific adjustments + */ +// No signal() +#if defined(__SYMBIAN32__) && defined(HAVE_SIGNAL_H) +#undef HAVE_SIGNAL_H +#endif + +#if defined(HAVE_SNPRINTF) +#undef HAVE_SNPRINTF +#endif + +#ifdef MS_WIN32 /*Python gives us MS_WIN32, SDL needs just WIN32*/ +#ifndef WIN32 +#define WIN32 +#endif +#endif + +/// Prefix when initializing module +#define MODPREFIX "" +/// Prefix when importing module +#define IMPPREFIX "pygame." + +#ifdef __SYMBIAN32__ +#undef MODPREFIX +#undef IMPPREFIX +// On Symbian there is no pygame package. The extensions are built-in or in +// sys\bin. +#define MODPREFIX "pygame_" +#define IMPPREFIX "pygame_" +#endif + +#include + +/* Pygame's SDL version macros: + * IS_SDLv1 is 1 if SDL 1.x.x, 0 otherwise + * IS_SDLv2 is 1 if at least SDL 2.0.0, 0 otherwise + */ +#if (SDL_VERSION_ATLEAST(2, 0, 0)) +#define IS_SDLv1 0 +#define IS_SDLv2 1 +#else +#define IS_SDLv1 1 +#define IS_SDLv2 0 +#endif + +/*#if IS_SDLv1 && PG_MAJOR_VERSION >= 2 +#error pygame 2 requires SDL 2 +#endif*/ + +#if IS_SDLv2 +/* SDL 1.2 constants removed from SDL 2 */ +typedef enum { + SDL_HWSURFACE = 0, + SDL_RESIZABLE = SDL_WINDOW_RESIZABLE, + SDL_ASYNCBLIT = 0, + SDL_OPENGL = SDL_WINDOW_OPENGL, + SDL_OPENGLBLIT = 0, + SDL_ANYFORMAT = 0, + SDL_HWPALETTE = 0, + SDL_DOUBLEBUF = 0, + SDL_FULLSCREEN = SDL_WINDOW_FULLSCREEN, + SDL_HWACCEL = 0, + SDL_SRCCOLORKEY = 0, + SDL_RLEACCELOK = 0, + SDL_SRCALPHA = 0, + SDL_NOFRAME = SDL_WINDOW_BORDERLESS, + SDL_GL_SWAP_CONTROL = 0, + TIMER_RESOLUTION = 0 +} PygameVideoFlags; + +/* the wheel button constants were removed from SDL 2 */ +typedef enum { + PGM_BUTTON_LEFT = SDL_BUTTON_LEFT, + PGM_BUTTON_RIGHT = SDL_BUTTON_RIGHT, + PGM_BUTTON_MIDDLE = SDL_BUTTON_MIDDLE, + PGM_BUTTON_WHEELUP = 4, + PGM_BUTTON_WHEELDOWN = 5, + PGM_BUTTON_X1 = SDL_BUTTON_X1 + 2, + PGM_BUTTON_X2 = SDL_BUTTON_X2 + 2, + PGM_BUTTON_KEEP = 0x80 +} PygameMouseFlags; + +typedef enum { + SDL_NOEVENT = 0, + /* SDL 1.2 allowed for 8 user defined events. */ + SDL_NUMEVENTS = SDL_USEREVENT + 8, + SDL_ACTIVEEVENT = SDL_NUMEVENTS, + PGE_EVENTBEGIN = SDL_NUMEVENTS, + SDL_VIDEORESIZE, + SDL_VIDEOEXPOSE, + PGE_KEYREPEAT, + PGE_EVENTEND +} PygameEventCode; + +#define PGE_NUMEVENTS (PGE_EVENTEND - PGE_EVENTBEGIN) + +typedef enum { + SDL_APPFOCUSMOUSE, + SDL_APPINPUTFOCUS, + SDL_APPACTIVE +} PygameAppCode; + +/* Surface flags: based on SDL 1.2 flags */ +typedef enum { + PGS_SWSURFACE = 0x00000000, + PGS_HWSURFACE = 0x00000001, + PGS_ASYNCBLIT = 0x00000004, + + PGS_ANYFORMAT = 0x10000000, + PGS_HWPALETTE = 0x20000000, + PGS_DOUBLEBUF = 0x40000000, + PGS_FULLSCREEN = 0x80000000, + PGS_OPENGL = 0x00000002, + PGS_OPENGLBLIT = 0x0000000A, + PGS_RESIZABLE = 0x00000010, + PGS_NOFRAME = 0x00000020, + PGS_SHOWN = 0x00000040, /* Added from SDL 2 */ + PGS_HIDDEN = 0x00000080, /* Added from SDL 2 */ + + PGS_HWACCEL = 0x00000100, + PGS_SRCCOLORKEY = 0x00001000, + PGS_RLEACCELOK = 0x00002000, + PGS_RLEACCEL = 0x00004000, + PGS_SRCALPHA = 0x00010000, + PGS_PREALLOC = 0x01000000 +} PygameSurfaceFlags; + +typedef struct { + Uint32 hw_available:1; + Uint32 wm_available:1; + Uint32 blit_hw:1; + Uint32 blit_hw_CC:1; + Uint32 blit_hw_A:1; + Uint32 blit_sw:1; + Uint32 blit_sw_CC:1; + Uint32 blit_sw_A:1; + Uint32 blit_fill:1; + Uint32 video_mem; + SDL_PixelFormat *vfmt; + SDL_PixelFormat vfmt_data; + int current_w; + int current_h; +} pg_VideoInfo; + +#endif /* IS_SDLv2 */ +/* macros used throughout the source */ +#define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL) + +#ifdef WITH_THREAD +#define PG_CHECK_THREADS() (1) +#else /* ~WITH_THREAD */ +#define PG_CHECK_THREADS() \ + (RAISE(PyExc_NotImplementedError, \ + "Python built without thread support")) +#endif /* ~WITH_THREAD */ + +#define PyType_Init(x) (((x).ob_type) = &PyType_Type) +#define PYGAMEAPI_LOCAL_ENTRY "_PYGAME_C_API" + +#ifndef MIN +#define MIN(a, b) ((a) < (b) ? (a) : (b)) +#endif + +#ifndef MAX +#define MAX(a, b) ((a) > (b) ? (a) : (b)) +#endif + +#ifndef ABS +#define ABS(a) (((a) < 0) ? -(a) : (a)) +#endif + +/* test sdl initializations */ +#define VIDEO_INIT_CHECK() \ + if (!SDL_WasInit(SDL_INIT_VIDEO)) \ + return RAISE(pgExc_SDLError, "video system not initialized") + +#define CDROM_INIT_CHECK() \ + if (!SDL_WasInit(SDL_INIT_CDROM)) \ + return RAISE(pgExc_SDLError, "cdrom system not initialized") + +#define JOYSTICK_INIT_CHECK() \ + if (!SDL_WasInit(SDL_INIT_JOYSTICK)) \ + return RAISE(pgExc_SDLError, "joystick system not initialized") + +/* BASE */ +#define VIEW_CONTIGUOUS 1 +#define VIEW_C_ORDER 2 +#define VIEW_F_ORDER 4 + +#define PYGAMEAPI_BASE_FIRSTSLOT 0 +#if IS_SDLv1 +#define PYGAMEAPI_BASE_NUMSLOTS 19 +#else /* IS_SDLv2 */ +#define PYGAMEAPI_BASE_NUMSLOTS 23 +#endif /* IS_SDLv2 */ +#ifndef PYGAMEAPI_BASE_INTERNAL +#define pgExc_SDLError ((PyObject *)PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT]) + +#define pg_RegisterQuit \ + (*(void (*)(void (*)(void)))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 1]) + +#define pg_IntFromObj \ + (*(int (*)(PyObject *, int *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 2]) + +#define pg_IntFromObjIndex \ + (*(int (*)(PyObject *, int, \ + int *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 3]) + +#define pg_TwoIntsFromObj \ + (*(int (*)(PyObject *, int *, \ + int *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 4]) + +#define pg_FloatFromObj \ + (*(int (*)(PyObject *, float *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 5]) + +#define pg_FloatFromObjIndex \ + (*(int (*)(PyObject *, int, \ + float *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 6]) + +#define pg_TwoFloatsFromObj \ + (*(int (*)(PyObject *, float *, \ + float *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 7]) + +#define pg_UintFromObj \ + (*(int (*)(PyObject *, \ + Uint32 *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 8]) + +#define pg_UintFromObjIndex \ + (*(int (*)(PyObject *, int, \ + Uint32 *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 9]) + +#define pgVideo_AutoQuit \ + (*(void (*)(void))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 10]) + +#define pgVideo_AutoInit \ + (*(int (*)(void))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 11]) + +#define pg_RGBAFromObj \ + (*(int (*)(PyObject *, \ + Uint8 *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 12]) + +#define pgBuffer_AsArrayInterface \ + (*(PyObject * (*)(Py_buffer *)) \ + PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 13]) + +#define pgBuffer_AsArrayStruct \ + (*(PyObject * (*)(Py_buffer *)) \ + PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 14]) + +#define pgObject_GetBuffer \ + (*(int (*)(PyObject *, pg_buffer *, \ + int))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 15]) + +#define pgBuffer_Release \ + (*(void (*)(pg_buffer *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 16]) + +#define pgDict_AsBuffer \ + (*(int (*)(pg_buffer *, PyObject *, \ + int))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 17]) + +#define pgExc_BufferError \ + ((PyObject *)PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 18]) + +#if IS_SDLv2 +#define pg_GetDefaultWindow \ + (*(SDL_Window * (*)(void)) PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 19]) + +#define pg_SetDefaultWindow \ + (*(void (*)(SDL_Window *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 20]) + +#define pg_GetDefaultWindowSurface \ + (*(PyObject * (*)(void)) PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 21]) + +#define pg_SetDefaultWindowSurface \ + (*(void (*)(PyObject *))PyGAME_C_API[PYGAMEAPI_BASE_FIRSTSLOT + 22]) + +#endif /* IS_SDLv2 */ + +#define import_pygame_base() IMPORT_PYGAME_MODULE(base, BASE) +#endif + +/* RECT */ +#define PYGAMEAPI_RECT_FIRSTSLOT \ + (PYGAMEAPI_BASE_FIRSTSLOT + PYGAMEAPI_BASE_NUMSLOTS) +#define PYGAMEAPI_RECT_NUMSLOTS 4 + +#if IS_SDLv1 +typedef struct { + int x, y; + int w, h; +} GAME_Rect; +#else +typedef SDL_Rect GAME_Rect; +#endif + +typedef struct { + PyObject_HEAD GAME_Rect r; + PyObject *weakreflist; +} pgRectObject; + +#define pgRect_AsRect(x) (((pgRectObject *)x)->r) +#ifndef PYGAMEAPI_RECT_INTERNAL +#define pgRect_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_RECT_FIRSTSLOT + 0]) +#define pgRect_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_RECT_FIRSTSLOT + 0]) +#define pgRect_New \ + (*(PyObject * (*)(SDL_Rect *)) PyGAME_C_API[PYGAMEAPI_RECT_FIRSTSLOT + 1]) +#define pgRect_New4 \ + (*(PyObject * (*)(int, int, int, int)) \ + PyGAME_C_API[PYGAMEAPI_RECT_FIRSTSLOT + 2]) +#define pgRect_FromObject \ + (*(GAME_Rect * (*)(PyObject *, GAME_Rect *)) \ + PyGAME_C_API[PYGAMEAPI_RECT_FIRSTSLOT + 3]) + +#define import_pygame_rect() IMPORT_PYGAME_MODULE(rect, RECT) +#endif + +/* CDROM */ +#define PYGAMEAPI_CDROM_FIRSTSLOT \ + (PYGAMEAPI_RECT_FIRSTSLOT + PYGAMEAPI_RECT_NUMSLOTS) +#define PYGAMEAPI_CDROM_NUMSLOTS 2 + +typedef struct { + PyObject_HEAD int id; +} pgCDObject; + +#define pgCD_AsID(x) (((pgCDObject *)x)->id) +#ifndef PYGAMEAPI_CDROM_INTERNAL +#define pgCD_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_CDROM_FIRSTSLOT + 0]) +#define pgCD_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_CDROM_FIRSTSLOT + 0]) +#define pgCD_New \ + (*(PyObject * (*)(int)) PyGAME_C_API[PYGAMEAPI_CDROM_FIRSTSLOT + 1]) + +#define import_pygame_cd() IMPORT_PYGAME_MODULE(cdrom, CDROM) +#endif + +/* JOYSTICK */ +#define PYGAMEAPI_JOYSTICK_FIRSTSLOT \ + (PYGAMEAPI_CDROM_FIRSTSLOT + PYGAMEAPI_CDROM_NUMSLOTS) +#define PYGAMEAPI_JOYSTICK_NUMSLOTS 2 + +typedef struct { + PyObject_HEAD int id; +} pgJoystickObject; + +#define pgJoystick_AsID(x) (((pgJoystickObject *)x)->id) + +#ifndef PYGAMEAPI_JOYSTICK_INTERNAL +#define pgJoystick_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_JOYSTICK_FIRSTSLOT + 0]) + +#define pgJoystick_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_JOYSTICK_FIRSTSLOT + 0]) +#define pgJoystick_New \ + (*(PyObject * (*)(int)) PyGAME_C_API[PYGAMEAPI_JOYSTICK_FIRSTSLOT + 1]) + +#define import_pygame_joystick() IMPORT_PYGAME_MODULE(joystick, JOYSTICK) +#endif + +/* DISPLAY */ +#define PYGAMEAPI_DISPLAY_FIRSTSLOT \ + (PYGAMEAPI_JOYSTICK_FIRSTSLOT + PYGAMEAPI_JOYSTICK_NUMSLOTS) +#define PYGAMEAPI_DISPLAY_NUMSLOTS 2 + +typedef struct { +#if IS_SDLv1 + PyObject_HEAD SDL_VideoInfo info; +#else + PyObject_HEAD pg_VideoInfo info; +#endif +} pgVidInfoObject; + +#define pgVidInfo_AsVidInfo(x) (((pgVidInfoObject *)x)->info) +#ifndef PYGAMEAPI_DISPLAY_INTERNAL +#define pgVidInfo_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_DISPLAY_FIRSTSLOT + 0]) + +#define pgVidInfo_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_DISPLAY_FIRSTSLOT + 0]) + +#if IS_SDLv1 +#define pgVidInfo_New \ + (*(PyObject * (*)(SDL_VideoInfo *)) \ + PyGAME_C_API[PYGAMEAPI_DISPLAY_FIRSTSLOT + 1]) +#else +#define pgVidInfo_New \ + (*(PyObject * (*)(pg_VideoInfo *)) \ + PyGAME_C_API[PYGAMEAPI_DISPLAY_FIRSTSLOT + 1]) +#endif + +#define import_pygame_display() IMPORT_PYGAME_MODULE(display, DISPLAY) +#endif + +/* SURFACE */ +#define PYGAMEAPI_SURFACE_FIRSTSLOT \ + (PYGAMEAPI_DISPLAY_FIRSTSLOT + PYGAMEAPI_DISPLAY_NUMSLOTS) +#define PYGAMEAPI_SURFACE_NUMSLOTS 3 +typedef struct { + PyObject_HEAD SDL_Surface *surf; +#if IS_SDLv2 + int owner; +#endif /* IS_SDLv2 */ + struct pgSubSurface_Data *subsurface; /*ptr to subsurface data (if a + * subsurface)*/ + PyObject *weakreflist; + PyObject *locklist; + PyObject *dependency; +} pgSurfaceObject; +#define pgSurface_AsSurface(x) (((pgSurfaceObject *)x)->surf) +#ifndef PYGAMEAPI_SURFACE_INTERNAL +#define pgSurface_Check(x) \ + (PyObject_IsInstance((x), \ + (PyObject *)PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 0])) +#define pgSurface_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 0]) +#if IS_SDLv1 +#define pgSurface_New \ + (*(PyObject * (*)(SDL_Surface *)) \ + PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 1]) +#else /* IS_SDLv2 */ +#define pgSurface_New2 \ + (*(PyObject * (*)(SDL_Surface *, int)) \ + PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 1]) +#endif /* IS_SDLv2 */ +#define pgSurface_Blit \ + (*(int (*)(PyObject *, PyObject *, SDL_Rect *, SDL_Rect *, \ + int))PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 2]) + +#define import_pygame_surface() \ + do { \ + IMPORT_PYGAME_MODULE(surface, SURFACE); \ + if (PyErr_Occurred() != NULL) \ + break; \ + IMPORT_PYGAME_MODULE(surflock, SURFLOCK); \ + } while (0) + +#if IS_SDLv2 +#define pgSurface_New(surface) pgSurface_New2((surface), 1) +#define pgSurface_NewNoOwn(surface) pgSurface_New2((surface), 0) +#endif /* IS_SDLv2 */ + +#endif + +/* SURFLOCK */ /*auto import/init by surface*/ +#define PYGAMEAPI_SURFLOCK_FIRSTSLOT \ + (PYGAMEAPI_SURFACE_FIRSTSLOT + PYGAMEAPI_SURFACE_NUMSLOTS) +#define PYGAMEAPI_SURFLOCK_NUMSLOTS 8 +struct pgSubSurface_Data { + PyObject *owner; + int pixeloffset; + int offsetx, offsety; +}; + +typedef struct { + PyObject_HEAD PyObject *surface; + PyObject *lockobj; + PyObject *weakrefs; +} pgLifetimeLockObject; + +#ifndef PYGAMEAPI_SURFLOCK_INTERNAL +#define pgLifetimeLock_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 0]) +#define pgSurface_Prep(x) \ + if (((pgSurfaceObject *)x)->subsurface) \ + (*(*(void (*)( \ + PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 1]))(x) + +#define pgSurface_Unprep(x) \ + if (((pgSurfaceObject *)x)->subsurface) \ + (*(*(void (*)( \ + PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 2]))(x) + +#define pgSurface_Lock \ + (*(int (*)(PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 3]) +#define pgSurface_Unlock \ + (*(int (*)(PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 4]) +#define pgSurface_LockBy \ + (*(int (*)(PyObject *, \ + PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 5]) +#define pgSurface_UnlockBy \ + (*(int (*)(PyObject *, \ + PyObject *))PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 6]) +#define pgSurface_LockLifetime \ + (*(PyObject * (*)(PyObject *, PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_SURFLOCK_FIRSTSLOT + 7]) +#endif + +/* EVENT */ +#define PYGAMEAPI_EVENT_FIRSTSLOT \ + (PYGAMEAPI_SURFLOCK_FIRSTSLOT + PYGAMEAPI_SURFLOCK_NUMSLOTS) +#if IS_SDLv1 +#define PYGAMEAPI_EVENT_NUMSLOTS 4 +#else /* IS_SDLv2 */ +#define PYGAMEAPI_EVENT_NUMSLOTS 6 +#endif /* IS_SDLv2 */ + +typedef struct { + PyObject_HEAD int type; + PyObject *dict; +} pgEventObject; + +#ifndef PYGAMEAPI_EVENT_INTERNAL +#define pgEvent_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 0]) +#define pgEvent_Type \ + (*(PyTypeObject *)PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 0]) +#define pgEvent_New \ + (*(PyObject * (*)(SDL_Event *)) \ + PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 1]) +#define pgEvent_New2 \ + (*(PyObject * (*)(int, PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 2]) +#define pgEvent_FillUserEvent \ + (*(int (*)(pgEventObject *, \ + SDL_Event *))PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 3]) +#if IS_SDLv2 +#define pg_EnableKeyRepeat \ + (*(int (*)(int, int))PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 4]) +#define pg_GetKeyRepeat \ + (*(void (*)(int *, int *))PyGAME_C_API[PYGAMEAPI_EVENT_FIRSTSLOT + 5]) +#endif /* IS_SDLv2 */ +#define import_pygame_event() IMPORT_PYGAME_MODULE(event, EVENT) +#endif + +/* RWOBJECT */ +/*the rwobject are only needed for C side work, not accessable from python*/ +#define PYGAMEAPI_RWOBJECT_FIRSTSLOT \ + (PYGAMEAPI_EVENT_FIRSTSLOT + PYGAMEAPI_EVENT_NUMSLOTS) +#define PYGAMEAPI_RWOBJECT_NUMSLOTS 6 +#ifndef PYGAMEAPI_RWOBJECT_INTERNAL +#define pgRWops_FromObject \ + (*(SDL_RWops * (*)(PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 0]) +#define pgRWops_IsFileObject \ + (*(int (*)(SDL_RWops *))PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 1]) +#define pg_EncodeFilePath \ + (*(PyObject * (*)(PyObject *, PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 2]) +#define pg_EncodeString \ + (*(PyObject * (*)(PyObject *, const char *, const char *, PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 3]) +#define pgRWops_FromFileObject \ + (*(SDL_RWops * (*)(PyObject *)) \ + PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 4]) +#define pgRWops_ReleaseObject \ + (*(int (*)(SDL_RWops *)) \ + PyGAME_C_API[PYGAMEAPI_RWOBJECT_FIRSTSLOT + 5]) +#define import_pygame_rwobject() IMPORT_PYGAME_MODULE(rwobject, RWOBJECT) + +#endif + +/* PixelArray */ +#define PYGAMEAPI_PIXELARRAY_FIRSTSLOT \ + (PYGAMEAPI_RWOBJECT_FIRSTSLOT + PYGAMEAPI_RWOBJECT_NUMSLOTS) +#define PYGAMEAPI_PIXELARRAY_NUMSLOTS 2 +#ifndef PYGAMEAPI_PIXELARRAY_INTERNAL +#define PyPixelArray_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_PIXELARRAY_FIRSTSLOT + 0]) +#define PyPixelArray_New \ + (*(PyObject * (*)) PyGAME_C_API[PYGAMEAPI_PIXELARRAY_FIRSTSLOT + 1]) +#define import_pygame_pixelarray() IMPORT_PYGAME_MODULE(pixelarray, PIXELARRAY) +#endif /* PYGAMEAPI_PIXELARRAY_INTERNAL */ + +/* Color */ +#define PYGAMEAPI_COLOR_FIRSTSLOT \ + (PYGAMEAPI_PIXELARRAY_FIRSTSLOT + PYGAMEAPI_PIXELARRAY_NUMSLOTS) +#define PYGAMEAPI_COLOR_NUMSLOTS 4 +#ifndef PYGAMEAPI_COLOR_INTERNAL +#define pgColor_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_COLOR_FIRSTSLOT + 0]) +#define pgColor_Type (*(PyObject *)PyGAME_C_API[PYGAMEAPI_COLOR_FIRSTSLOT]) +#define pgColor_New \ + (*(PyObject * (*)(Uint8 *)) PyGAME_C_API[PYGAMEAPI_COLOR_FIRSTSLOT + 1]) +#define pgColor_NewLength \ + (*(PyObject * (*)(Uint8 *, Uint8)) \ + PyGAME_C_API[PYGAMEAPI_COLOR_FIRSTSLOT + 3]) + +#define pg_RGBAFromColorObj \ + (*(int (*)(PyObject *, \ + Uint8 *))PyGAME_C_API[PYGAMEAPI_COLOR_FIRSTSLOT + 2]) +#define import_pygame_color() IMPORT_PYGAME_MODULE(color, COLOR) +#endif /* PYGAMEAPI_COLOR_INTERNAL */ + +/* Math */ +#define PYGAMEAPI_MATH_FIRSTSLOT \ + (PYGAMEAPI_COLOR_FIRSTSLOT + PYGAMEAPI_COLOR_NUMSLOTS) +#define PYGAMEAPI_MATH_NUMSLOTS 2 +#ifndef PYGAMEAPI_MATH_INTERNAL +#define pgVector2_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_MATH_FIRSTSLOT + 0]) +#define pgVector3_Check(x) \ + ((x)->ob_type == \ + (PyTypeObject *)PyGAME_C_API[PYGAMEAPI_MATH_FIRSTSLOT + 1]) +/* +#define pgVector2_New \ + (*(PyObject*(*)) PyGAME_C_API[PYGAMEAPI_MATH_FIRSTSLOT + 1]) +*/ +#define import_pygame_math() IMPORT_PYGAME_MODULE(math, MATH) +#endif /* PYGAMEAPI_MATH_INTERNAL */ + +#define PG_CAPSULE_NAME(m) (IMPPREFIX m "." PYGAMEAPI_LOCAL_ENTRY) + +#define _IMPORT_PYGAME_MODULE(module, MODULE, api_root) \ + { \ + PyObject *_module = PyImport_ImportModule(IMPPREFIX #module); \ + \ + if (_module != NULL) { \ + PyObject *_c_api = \ + PyObject_GetAttrString(_module, PYGAMEAPI_LOCAL_ENTRY); \ + \ + Py_DECREF(_module); \ + if (_c_api != NULL && PyCapsule_CheckExact(_c_api)) { \ + void **localptr = (void **)PyCapsule_GetPointer( \ + _c_api, PG_CAPSULE_NAME(#module)); \ + \ + if (localptr != NULL) { \ + memcpy(api_root + PYGAMEAPI_##MODULE##_FIRSTSLOT, \ + localptr, \ + sizeof(void **) * PYGAMEAPI_##MODULE##_NUMSLOTS); \ + } \ + } \ + Py_XDECREF(_c_api); \ + } \ + } + +#ifndef NO_PYGAME_C_API +#define IMPORT_PYGAME_MODULE(module, MODULE) \ + _IMPORT_PYGAME_MODULE(module, MODULE, PyGAME_C_API) +#define PYGAMEAPI_TOTALSLOTS \ + (PYGAMEAPI_MATH_FIRSTSLOT + PYGAMEAPI_MATH_NUMSLOTS) + +#ifdef PYGAME_H +void *PyGAME_C_API[PYGAMEAPI_TOTALSLOTS] = {NULL}; +#else +extern void *PyGAME_C_API[PYGAMEAPI_TOTALSLOTS]; +#endif +#endif + +#if PG_HAVE_CAPSULE +#define encapsulate_api(ptr, module) \ + PyCapsule_New(ptr, PG_CAPSULE_NAME(module), NULL) +#else +#define encapsulate_api(ptr, module) PyCObject_FromVoidPtr(ptr, NULL) +#endif + +#ifndef PG_INLINE +#if defined(__clang__) +#define PG_INLINE __inline__ __attribute__((__unused__)) +#elif defined(__GNUC__) +#define PG_INLINE __inline__ +#elif defined(_MSC_VER) +#define PG_INLINE __inline +#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#define PG_INLINE inline +#else +#define PG_INLINE +#endif +#endif + +/*last platform compiler stuff*/ +#if defined(macintosh) && defined(__MWERKS__) || defined(__SYMBIAN32__) +#define PYGAME_EXPORT __declspec(export) +#else +#define PYGAME_EXPORT +#endif + + +#endif /* PYGAME_H */ diff --git a/venv/include/site/python3.8/pygame/_surface.h b/venv/include/site/python3.8/pygame/_surface.h new file mode 100644 index 0000000..016aac0 --- /dev/null +++ b/venv/include/site/python3.8/pygame/_surface.h @@ -0,0 +1,31 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + Copyright (C) 2007 Marcus von Appen + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#ifndef _SURFACE_H +#define _SURFACE_H + +#include "_pygame.h" +#include "surface.h" + +#endif + diff --git a/venv/include/site/python3.8/pygame/bitmask.h b/venv/include/site/python3.8/pygame/bitmask.h new file mode 100644 index 0000000..1230497 --- /dev/null +++ b/venv/include/site/python3.8/pygame/bitmask.h @@ -0,0 +1,146 @@ +/* + Bitmask 1.7 - A pixel-perfect collision detection library. + + Copyright (C) 2002-2005 Ulf Ekstrom except for the bitcount + function which is copyright (C) Donald W. Gillies, 1992. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +#ifndef BITMASK_H +#define BITMASK_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +/* Define INLINE for different compilers. If your compiler does not + support inlining then there might be a performance hit in + bitmask_overlap_area(). +*/ +#ifndef INLINE +# ifdef __GNUC__ +# define INLINE inline +# else +# ifdef _MSC_VER +# define INLINE __inline +# else +# define INLINE +# endif +# endif +#endif + +#define BITMASK_W unsigned long int +#define BITMASK_W_LEN (sizeof(BITMASK_W)*CHAR_BIT) +#define BITMASK_W_MASK (BITMASK_W_LEN - 1) +#define BITMASK_N(n) ((BITMASK_W)1 << (n)) + +typedef struct bitmask +{ + int w,h; + BITMASK_W bits[1]; +} bitmask_t; + +/* Creates a bitmask of width w and height h, where + w and h must both be greater than or equal to 0. + The mask is automatically cleared when created. + */ +bitmask_t *bitmask_create(int w, int h); + +/* Frees all the memory allocated by bitmask_create for m. */ +void bitmask_free(bitmask_t *m); + +/* Clears all bits in the mask */ +void bitmask_clear(bitmask_t *m); + +/* Sets all bits in the mask */ +void bitmask_fill(bitmask_t *m); + +/* Flips all bits in the mask */ +void bitmask_invert(bitmask_t *m); + +/* Counts the bits in the mask */ +unsigned int bitmask_count(bitmask_t *m); + +/* Returns nonzero if the bit at (x,y) is set. Coordinates start at + (0,0) */ +static INLINE int bitmask_getbit(const bitmask_t *m, int x, int y) +{ + return (m->bits[x/BITMASK_W_LEN*m->h + y] & BITMASK_N(x & BITMASK_W_MASK)) != 0; +} + +/* Sets the bit at (x,y) */ +static INLINE void bitmask_setbit(bitmask_t *m, int x, int y) +{ + m->bits[x/BITMASK_W_LEN*m->h + y] |= BITMASK_N(x & BITMASK_W_MASK); +} + +/* Clears the bit at (x,y) */ +static INLINE void bitmask_clearbit(bitmask_t *m, int x, int y) +{ + m->bits[x/BITMASK_W_LEN*m->h + y] &= ~BITMASK_N(x & BITMASK_W_MASK); +} + +/* Returns nonzero if the masks overlap with the given offset. + The overlap tests uses the following offsets (which may be negative): + + +----+----------.. + |A | yoffset + | +-+----------.. + +--|B + |xoffset + | | + : : +*/ +int bitmask_overlap(const bitmask_t *a, const bitmask_t *b, int xoffset, int yoffset); + +/* Like bitmask_overlap(), but will also give a point of intersection. + x and y are given in the coordinates of mask a, and are untouched + if there is no overlap. */ +int bitmask_overlap_pos(const bitmask_t *a, const bitmask_t *b, + int xoffset, int yoffset, int *x, int *y); + +/* Returns the number of overlapping 'pixels' */ +int bitmask_overlap_area(const bitmask_t *a, const bitmask_t *b, int xoffset, int yoffset); + +/* Fills a mask with the overlap of two other masks. A bitwise AND. */ +void bitmask_overlap_mask (const bitmask_t *a, const bitmask_t *b, bitmask_t *c, int xoffset, int yoffset); + +/* Draws mask b onto mask a (bitwise OR). Can be used to compose large + (game background?) mask from several submasks, which may speed up + the testing. */ + +void bitmask_draw(bitmask_t *a, const bitmask_t *b, int xoffset, int yoffset); + +void bitmask_erase(bitmask_t *a, const bitmask_t *b, int xoffset, int yoffset); + +/* Return a new scaled bitmask, with dimensions w*h. The quality of the + scaling may not be perfect for all circumstances, but it should + be reasonable. If either w or h is 0 a clear 1x1 mask is returned. */ +bitmask_t *bitmask_scale(const bitmask_t *m, int w, int h); + +/* Convolve b into a, drawing the output into o, shifted by offset. If offset + * is 0, then the (x,y) bit will be set if and only if + * bitmask_overlap(a, b, x - b->w - 1, y - b->h - 1) returns true. + * + * Modifies bits o[xoffset ... xoffset + a->w + b->w - 1) + * [yoffset ... yoffset + a->h + b->h - 1). */ +void bitmask_convolve(const bitmask_t *a, const bitmask_t *b, bitmask_t *o, int xoffset, int yoffset); + +#ifdef __cplusplus +} /* End of extern "C" { */ +#endif + +#endif diff --git a/venv/include/site/python3.8/pygame/camera.h b/venv/include/site/python3.8/pygame/camera.h new file mode 100644 index 0000000..46d2beb --- /dev/null +++ b/venv/include/site/python3.8/pygame/camera.h @@ -0,0 +1,201 @@ +/* + pygame - Python Game Library + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +*/ + +#include "pygame.h" +#include "doc/camera_doc.h" + +#if defined(__unix__) + #include + #include + #include + #include + #include + + #include /* low-level i/o */ + #include + #include + #include + #include + #include + #include + #include + + /* on freebsd there is no asm/types */ + #ifdef linux + #include /* for videodev2.h */ + #endif + + #include +#elif defined(__APPLE__) + #include + /* We support OSX 10.6 and below. */ + #if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1060 + #define PYGAME_MAC_CAMERA_OLD 1 + #endif +#endif + +#if defined(PYGAME_MAC_CAMERA_OLD) + #include + #include + #include +#endif + +/* some constants used which are not defined on non-v4l machines. */ +#ifndef V4L2_PIX_FMT_RGB24 + #define V4L2_PIX_FMT_RGB24 'RGB3' +#endif +#ifndef V4L2_PIX_FMT_RGB444 + #define V4L2_PIX_FMT_RGB444 'R444' +#endif +#ifndef V4L2_PIX_FMT_YUYV + #define V4L2_PIX_FMT_YUYV 'YUYV' +#endif + +#define CLEAR(x) memset (&(x), 0, sizeof (x)) +#define SAT(c) if (c & (~255)) { if (c < 0) c = 0; else c = 255; } +#define SAT2(c) ((c) & (~255) ? ((c) < 0 ? 0 : 255) : (c)) +#define DEFAULT_WIDTH 640 +#define DEFAULT_HEIGHT 480 +#define RGB_OUT 1 +#define YUV_OUT 2 +#define HSV_OUT 4 +#define CAM_V4L 1 /* deprecated. the incomplete support in pygame was removed */ +#define CAM_V4L2 2 + +struct buffer { + void * start; + size_t length; +}; + +#if defined(__unix__) +typedef struct pgCameraObject { + PyObject_HEAD + char* device_name; + int camera_type; + unsigned long pixelformat; + unsigned int color_out; + struct buffer* buffers; + unsigned int n_buffers; + int width; + int height; + int size; + int hflip; + int vflip; + int brightness; + int fd; +} pgCameraObject; +#elif defined(PYGAME_MAC_CAMERA_OLD) +typedef struct pgCameraObject { + PyObject_HEAD + char* device_name; /* unieke name of the device */ + OSType pixelformat; + unsigned int color_out; + SeqGrabComponent component; /* A type used by the Sequence Grabber API */ + SGChannel channel; /* Channel of the Sequence Grabber */ + GWorldPtr gworld; /* Pointer to the struct that holds the data of the captured image */ + Rect boundsRect; /* bounds of the image frame */ + long size; /* size of the image in our buffer to draw */ + int hflip; + int vflip; + short depth; + struct buffer pixels; + //struct buffer tmp_pixels /* place where the flipped image in temporarly stored if hflip or vflip is true.*/ +} pgCameraObject; + +#else +/* generic definition. +*/ + +typedef struct pgCameraObject { + PyObject_HEAD + char* device_name; + int camera_type; + unsigned long pixelformat; + unsigned int color_out; + struct buffer* buffers; + unsigned int n_buffers; + int width; + int height; + int size; + int hflip; + int vflip; + int brightness; + int fd; +} pgCameraObject; +#endif + +/* internal functions for colorspace conversion */ +void colorspace (SDL_Surface *src, SDL_Surface *dst, int cspace); +void rgb24_to_rgb (const void* src, void* dst, int length, SDL_PixelFormat* format); +void rgb444_to_rgb (const void* src, void* dst, int length, SDL_PixelFormat* format); +void rgb_to_yuv (const void* src, void* dst, int length, + unsigned long source, SDL_PixelFormat* format); +void rgb_to_hsv (const void* src, void* dst, int length, + unsigned long source, SDL_PixelFormat* format); +void yuyv_to_rgb (const void* src, void* dst, int length, SDL_PixelFormat* format); +void yuyv_to_yuv (const void* src, void* dst, int length, SDL_PixelFormat* format); +void uyvy_to_rgb (const void* src, void* dst, int length, SDL_PixelFormat* format); +void uyvy_to_yuv (const void* src, void* dst, int length, SDL_PixelFormat* format); +void sbggr8_to_rgb (const void* src, void* dst, int width, int height, + SDL_PixelFormat* format); +void yuv420_to_rgb (const void* src, void* dst, int width, int height, + SDL_PixelFormat* format); +void yuv420_to_yuv (const void* src, void* dst, int width, int height, + SDL_PixelFormat* format); + +#if defined(__unix__) +/* internal functions specific to v4l2 */ +char** v4l2_list_cameras (int* num_devices); +int v4l2_get_control (int fd, int id, int *value); +int v4l2_set_control (int fd, int id, int value); +PyObject* v4l2_read_raw (pgCameraObject* self); +int v4l2_xioctl (int fd, int request, void *arg); +int v4l2_process_image (pgCameraObject* self, const void *image, + unsigned int buffer_size, SDL_Surface* surf); +int v4l2_query_buffer (pgCameraObject* self); +int v4l2_read_frame (pgCameraObject* self, SDL_Surface* surf); +int v4l2_stop_capturing (pgCameraObject* self); +int v4l2_start_capturing (pgCameraObject* self); +int v4l2_uninit_device (pgCameraObject* self); +int v4l2_init_mmap (pgCameraObject* self); +int v4l2_init_device (pgCameraObject* self); +int v4l2_close_device (pgCameraObject* self); +int v4l2_open_device (pgCameraObject* self); + +#elif defined(PYGAME_MAC_CAMERA_OLD) +/* internal functions specific to mac */ +char** mac_list_cameras(int* num_devices); +int mac_open_device (pgCameraObject* self); +int mac_init_device(pgCameraObject* self); +int mac_close_device (pgCameraObject* self); +int mac_start_capturing(pgCameraObject* self); +int mac_stop_capturing (pgCameraObject* self); + +int mac_get_control(pgCameraObject* self, int id, int* value); +int mac_set_control(pgCameraObject* self, int id, int value); + +PyObject* mac_read_raw(pgCameraObject *self); +int mac_read_frame(pgCameraObject* self, SDL_Surface* surf); +int mac_camera_idle(pgCameraObject* self); +int mac_copy_gworld_to_surface(pgCameraObject* self, SDL_Surface* surf); + +void flip_image(const void* image, void* flipped_image, int width, int height, + short depth, int hflip, int vflip); + +#endif diff --git a/venv/include/site/python3.8/pygame/fastevents.h b/venv/include/site/python3.8/pygame/fastevents.h new file mode 100644 index 0000000..04098c3 --- /dev/null +++ b/venv/include/site/python3.8/pygame/fastevents.h @@ -0,0 +1,48 @@ +#ifndef _FASTEVENTS_H_ +#define _FASTEVENTS_H_ +/* + NET2 is a threaded, event based, network IO library for SDL. + Copyright (C) 2002 Bob Pendleton + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA + + If you do not wish to comply with the terms of the LGPL please + contact the author as other terms are available for a fee. + + Bob Pendleton + Bob@Pendleton.com +*/ + +#include "SDL.h" + +#ifdef __cplusplus +extern "C" { +#endif + + int FE_Init(void); // Initialize FE + void FE_Quit(void); // shutdown FE + + void FE_PumpEvents(void); // replacement for SDL_PumpEvents + int FE_PollEvent(SDL_Event *event); // replacement for SDL_PollEvent + int FE_WaitEvent(SDL_Event *event); // replacement for SDL_WaitEvent + int FE_PushEvent(SDL_Event *event); // replacement for SDL_PushEvent + + char *FE_GetError(void); // get the last error +#ifdef __cplusplus +} +#endif + +#endif diff --git a/venv/include/site/python3.8/pygame/font.h b/venv/include/site/python3.8/pygame/font.h new file mode 100644 index 0000000..b861a29 --- /dev/null +++ b/venv/include/site/python3.8/pygame/font.h @@ -0,0 +1,57 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#include +#if defined(HAVE_SNPRINTF) /* also defined in SDL_ttf (SDL.h) */ +#undef HAVE_SNPRINTF /* remove GCC macro redefine warning */ +#endif +#include + + +/* test font initialization */ +#define FONT_INIT_CHECK() \ + if(!(*(int*)PyFONT_C_API[2])) \ + return RAISE(pgExc_SDLError, "font system not initialized") + + + +#define PYGAMEAPI_FONT_FIRSTSLOT 0 +#define PYGAMEAPI_FONT_NUMSLOTS 3 +typedef struct { + PyObject_HEAD + TTF_Font* font; + PyObject* weakreflist; +} PyFontObject; +#define PyFont_AsFont(x) (((PyFontObject*)x)->font) + +#ifndef PYGAMEAPI_FONT_INTERNAL +#define PyFont_Check(x) ((x)->ob_type == (PyTypeObject*)PyFONT_C_API[0]) +#define PyFont_Type (*(PyTypeObject*)PyFONT_C_API[0]) +#define PyFont_New (*(PyObject*(*)(TTF_Font*))PyFONT_C_API[1]) +/*slot 2 taken by FONT_INIT_CHECK*/ + +#define import_pygame_font() \ + _IMPORT_PYGAME_MODULE(font, FONT, PyFONT_C_API) + +static void* PyFONT_C_API[PYGAMEAPI_FONT_NUMSLOTS] = {NULL}; +#endif + diff --git a/venv/include/site/python3.8/pygame/freetype.h b/venv/include/site/python3.8/pygame/freetype.h new file mode 100644 index 0000000..fda7226 --- /dev/null +++ b/venv/include/site/python3.8/pygame/freetype.h @@ -0,0 +1,137 @@ +/* + pygame - Python Game Library + Copyright (C) 2009 Vicent Marti + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +*/ +#ifndef _PYGAME_FREETYPE_H_ +#define _PYGAME_FREETYPE_H_ + +#define PGFT_PYGAME1_COMPAT +#define HAVE_PYGAME_SDL_VIDEO +#define HAVE_PYGAME_SDL_RWOPS + +#include "pygame.h" +#include "pgcompat.h" + +#if PY3 +# define IS_PYTHON_3 +#endif + +#include +#include FT_FREETYPE_H +#include FT_CACHE_H +#include FT_XFREE86_H +#include FT_TRIGONOMETRY_H + +/********************************************************** + * Global module constants + **********************************************************/ + +/* Render styles */ +#define FT_STYLE_NORMAL 0x00 +#define FT_STYLE_STRONG 0x01 +#define FT_STYLE_OBLIQUE 0x02 +#define FT_STYLE_UNDERLINE 0x04 +#define FT_STYLE_WIDE 0x08 +#define FT_STYLE_DEFAULT 0xFF + +/* Bounding box modes */ +#define FT_BBOX_EXACT FT_GLYPH_BBOX_SUBPIXELS +#define FT_BBOX_EXACT_GRIDFIT FT_GLYPH_BBOX_GRIDFIT +#define FT_BBOX_PIXEL FT_GLYPH_BBOX_TRUNCATE +#define FT_BBOX_PIXEL_GRIDFIT FT_GLYPH_BBOX_PIXELS + +/* Rendering flags */ +#define FT_RFLAG_NONE (0) +#define FT_RFLAG_ANTIALIAS (1 << 0) +#define FT_RFLAG_AUTOHINT (1 << 1) +#define FT_RFLAG_VERTICAL (1 << 2) +#define FT_RFLAG_HINTED (1 << 3) +#define FT_RFLAG_KERNING (1 << 4) +#define FT_RFLAG_TRANSFORM (1 << 5) +#define FT_RFLAG_PAD (1 << 6) +#define FT_RFLAG_ORIGIN (1 << 7) +#define FT_RFLAG_UCS4 (1 << 8) +#define FT_RFLAG_USE_BITMAP_STRIKES (1 << 9) +#define FT_RFLAG_DEFAULTS (FT_RFLAG_HINTED | \ + FT_RFLAG_USE_BITMAP_STRIKES | \ + FT_RFLAG_ANTIALIAS) + + +#define FT_RENDER_NEWBYTEARRAY 0x0 +#define FT_RENDER_NEWSURFACE 0x1 +#define FT_RENDER_EXISTINGSURFACE 0x2 + +/********************************************************** + * Global module types + **********************************************************/ + +typedef struct _scale_s { + FT_UInt x, y; +} Scale_t; +typedef FT_Angle Angle_t; + +struct fontinternals_; +struct freetypeinstance_; + +typedef struct { + FT_Long font_index; + FT_Open_Args open_args; +} pgFontId; + +typedef struct { + PyObject_HEAD + pgFontId id; + PyObject *path; + int is_scalable; + + Scale_t face_size; + FT_Int16 style; + FT_Int16 render_flags; + double strength; + double underline_adjustment; + FT_UInt resolution; + Angle_t rotation; + FT_Matrix transform; + FT_Byte fgcolor[4]; + + struct freetypeinstance_ *freetype; /* Personal reference */ + struct fontinternals_ *_internals; +} pgFontObject; + +#define pgFont_IS_ALIVE(o) \ + (((pgFontObject *)(o))->_internals != 0) + +/********************************************************** + * Module declaration + **********************************************************/ +#define PYGAMEAPI_FREETYPE_FIRSTSLOT 0 +#define PYGAMEAPI_FREETYPE_NUMSLOTS 2 + +#ifndef PYGAME_FREETYPE_INTERNAL + +#define pgFont_Check(x) ((x)->ob_type == (PyTypeObject*)PgFREETYPE_C_API[0]) +#define pgFont_Type (*(PyTypeObject*)PgFREETYPE_C_API[1]) +#define pgFont_New (*(PyObject*(*)(const char*, long))PgFREETYPE_C_API[1]) + +#define import_pygame_freetype() \ + _IMPORT_PYGAME_MODULE(freetype, FREETYPE, PgFREETYPE_C_API) + +static void *PgFREETYPE_C_API[PYGAMEAPI_FREETYPE_NUMSLOTS] = {0}; +#endif /* PYGAME_FREETYPE_INTERNAL */ + +#endif /* _PYGAME_FREETYPE_H_ */ diff --git a/venv/include/site/python3.8/pygame/mask.h b/venv/include/site/python3.8/pygame/mask.h new file mode 100644 index 0000000..b151dd4 --- /dev/null +++ b/venv/include/site/python3.8/pygame/mask.h @@ -0,0 +1,25 @@ +#include +#include "bitmask.h" + +#define PYGAMEAPI_MASK_FIRSTSLOT 0 +#define PYGAMEAPI_MASK_NUMSLOTS 1 +#define PYGAMEAPI_LOCAL_ENTRY "_PYGAME_C_API" + +typedef struct { + PyObject_HEAD + bitmask_t *mask; +} pgMaskObject; + +#define pgMask_AsBitmap(x) (((pgMaskObject*)x)->mask) + +#ifndef PYGAMEAPI_MASK_INTERNAL + +#define pgMask_Type (*(PyTypeObject*)PyMASK_C_API[0]) +#define pgMask_Check(x) ((x)->ob_type == &pgMask_Type) + +#define import_pygame_mask() \ + _IMPORT_PYGAME_MODULE(mask, MASK, PyMASK_C_API) + +static void* PyMASK_C_API[PYGAMEAPI_MASK_NUMSLOTS] = {NULL}; +#endif /* #ifndef PYGAMEAPI_MASK_INTERNAL */ + diff --git a/venv/include/site/python3.8/pygame/mixer.h b/venv/include/site/python3.8/pygame/mixer.h new file mode 100644 index 0000000..36d57f3 --- /dev/null +++ b/venv/include/site/python3.8/pygame/mixer.h @@ -0,0 +1,65 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#include +#include +#include + + +/* test mixer initializations */ +#define MIXER_INIT_CHECK() \ + if(!SDL_WasInit(SDL_INIT_AUDIO)) \ + return RAISE(pgExc_SDLError, "mixer not initialized") + + +#define PYGAMEAPI_MIXER_FIRSTSLOT 0 +#define PYGAMEAPI_MIXER_NUMSLOTS 7 +typedef struct { + PyObject_HEAD + Mix_Chunk *chunk; + Uint8 *mem; + PyObject *weakreflist; +} pgSoundObject; +typedef struct { + PyObject_HEAD + int chan; +} pgChannelObject; +#define pgSound_AsChunk(x) (((pgSoundObject*)x)->chunk) +#define pgChannel_AsInt(x) (((pgChannelObject*)x)->chan) + +#ifndef PYGAMEAPI_MIXER_INTERNAL +#define pgSound_Check(x) ((x)->ob_type == (PyTypeObject*)pgMIXER_C_API[0]) +#define pgSound_Type (*(PyTypeObject*)pgMIXER_C_API[0]) +#define pgSound_New (*(PyObject*(*)(Mix_Chunk*))pgMIXER_C_API[1]) +#define pgSound_Play (*(PyObject*(*)(PyObject*, PyObject*))pgMIXER_C_API[2]) +#define pgChannel_Check(x) ((x)->ob_type == (PyTypeObject*)pgMIXER_C_API[3]) +#define pgChannel_Type (*(PyTypeObject*)pgMIXER_C_API[3]) +#define pgChannel_New (*(PyObject*(*)(int))pgMIXER_C_API[4]) +#define pgMixer_AutoInit (*(PyObject*(*)(PyObject*, PyObject*))pgMIXER_C_API[5]) +#define pgMixer_AutoQuit (*(void(*)(void))pgMIXER_C_API[6]) + +#define import_pygame_mixer() \ + _IMPORT_PYGAME_MODULE(mixer, MIXER, pgMIXER_C_API) + +static void* pgMIXER_C_API[PYGAMEAPI_MIXER_NUMSLOTS] = {NULL}; +#endif + diff --git a/venv/include/site/python3.8/pygame/palette.h b/venv/include/site/python3.8/pygame/palette.h new file mode 100644 index 0000000..1ae4cf6 --- /dev/null +++ b/venv/include/site/python3.8/pygame/palette.h @@ -0,0 +1,123 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#ifndef PALETTE_H +#define PALETTE_H + +#include + +/* SDL 2 does not assign a default palette color scheme to a new 8 bit + * surface. Instead, the palette is set all white. This defines the SDL 1.2 + * default palette. + */ +static const SDL_Color default_palette_colors[] = { + {0, 0, 0, 255}, {0, 0, 85, 255}, {0, 0, 170, 255}, + {0, 0, 255, 255}, {0, 36, 0, 255}, {0, 36, 85, 255}, + {0, 36, 170, 255}, {0, 36, 255, 255}, {0, 73, 0, 255}, + {0, 73, 85, 255}, {0, 73, 170, 255}, {0, 73, 255, 255}, + {0, 109, 0, 255}, {0, 109, 85, 255}, {0, 109, 170, 255}, + {0, 109, 255, 255}, {0, 146, 0, 255}, {0, 146, 85, 255}, + {0, 146, 170, 255}, {0, 146, 255, 255}, {0, 182, 0, 255}, + {0, 182, 85, 255}, {0, 182, 170, 255}, {0, 182, 255, 255}, + {0, 219, 0, 255}, {0, 219, 85, 255}, {0, 219, 170, 255}, + {0, 219, 255, 255}, {0, 255, 0, 255}, {0, 255, 85, 255}, + {0, 255, 170, 255}, {0, 255, 255, 255}, {85, 0, 0, 255}, + {85, 0, 85, 255}, {85, 0, 170, 255}, {85, 0, 255, 255}, + {85, 36, 0, 255}, {85, 36, 85, 255}, {85, 36, 170, 255}, + {85, 36, 255, 255}, {85, 73, 0, 255}, {85, 73, 85, 255}, + {85, 73, 170, 255}, {85, 73, 255, 255}, {85, 109, 0, 255}, + {85, 109, 85, 255}, {85, 109, 170, 255}, {85, 109, 255, 255}, + {85, 146, 0, 255}, {85, 146, 85, 255}, {85, 146, 170, 255}, + {85, 146, 255, 255}, {85, 182, 0, 255}, {85, 182, 85, 255}, + {85, 182, 170, 255}, {85, 182, 255, 255}, {85, 219, 0, 255}, + {85, 219, 85, 255}, {85, 219, 170, 255}, {85, 219, 255, 255}, + {85, 255, 0, 255}, {85, 255, 85, 255}, {85, 255, 170, 255}, + {85, 255, 255, 255}, {170, 0, 0, 255}, {170, 0, 85, 255}, + {170, 0, 170, 255}, {170, 0, 255, 255}, {170, 36, 0, 255}, + {170, 36, 85, 255}, {170, 36, 170, 255}, {170, 36, 255, 255}, + {170, 73, 0, 255}, {170, 73, 85, 255}, {170, 73, 170, 255}, + {170, 73, 255, 255}, {170, 109, 0, 255}, {170, 109, 85, 255}, + {170, 109, 170, 255}, {170, 109, 255, 255}, {170, 146, 0, 255}, + {170, 146, 85, 255}, {170, 146, 170, 255}, {170, 146, 255, 255}, + {170, 182, 0, 255}, {170, 182, 85, 255}, {170, 182, 170, 255}, + {170, 182, 255, 255}, {170, 219, 0, 255}, {170, 219, 85, 255}, + {170, 219, 170, 255}, {170, 219, 255, 255}, {170, 255, 0, 255}, + {170, 255, 85, 255}, {170, 255, 170, 255}, {170, 255, 255, 255}, + {255, 0, 0, 255}, {255, 0, 85, 255}, {255, 0, 170, 255}, + {255, 0, 255, 255}, {255, 36, 0, 255}, {255, 36, 85, 255}, + {255, 36, 170, 255}, {255, 36, 255, 255}, {255, 73, 0, 255}, + {255, 73, 85, 255}, {255, 73, 170, 255}, {255, 73, 255, 255}, + {255, 109, 0, 255}, {255, 109, 85, 255}, {255, 109, 170, 255}, + {255, 109, 255, 255}, {255, 146, 0, 255}, {255, 146, 85, 255}, + {255, 146, 170, 255}, {255, 146, 255, 255}, {255, 182, 0, 255}, + {255, 182, 85, 255}, {255, 182, 170, 255}, {255, 182, 255, 255}, + {255, 219, 0, 255}, {255, 219, 85, 255}, {255, 219, 170, 255}, + {255, 219, 255, 255}, {255, 255, 0, 255}, {255, 255, 85, 255}, + {255, 255, 170, 255}, {255, 255, 255, 255}, {0, 0, 0, 255}, + {0, 0, 85, 255}, {0, 0, 170, 255}, {0, 0, 255, 255}, + {0, 36, 0, 255}, {0, 36, 85, 255}, {0, 36, 170, 255}, + {0, 36, 255, 255}, {0, 73, 0, 255}, {0, 73, 85, 255}, + {0, 73, 170, 255}, {0, 73, 255, 255}, {0, 109, 0, 255}, + {0, 109, 85, 255}, {0, 109, 170, 255}, {0, 109, 255, 255}, + {0, 146, 0, 255}, {0, 146, 85, 255}, {0, 146, 170, 255}, + {0, 146, 255, 255}, {0, 182, 0, 255}, {0, 182, 85, 255}, + {0, 182, 170, 255}, {0, 182, 255, 255}, {0, 219, 0, 255}, + {0, 219, 85, 255}, {0, 219, 170, 255}, {0, 219, 255, 255}, + {0, 255, 0, 255}, {0, 255, 85, 255}, {0, 255, 170, 255}, + {0, 255, 255, 255}, {85, 0, 0, 255}, {85, 0, 85, 255}, + {85, 0, 170, 255}, {85, 0, 255, 255}, {85, 36, 0, 255}, + {85, 36, 85, 255}, {85, 36, 170, 255}, {85, 36, 255, 255}, + {85, 73, 0, 255}, {85, 73, 85, 255}, {85, 73, 170, 255}, + {85, 73, 255, 255}, {85, 109, 0, 255}, {85, 109, 85, 255}, + {85, 109, 170, 255}, {85, 109, 255, 255}, {85, 146, 0, 255}, + {85, 146, 85, 255}, {85, 146, 170, 255}, {85, 146, 255, 255}, + {85, 182, 0, 255}, {85, 182, 85, 255}, {85, 182, 170, 255}, + {85, 182, 255, 255}, {85, 219, 0, 255}, {85, 219, 85, 255}, + {85, 219, 170, 255}, {85, 219, 255, 255}, {85, 255, 0, 255}, + {85, 255, 85, 255}, {85, 255, 170, 255}, {85, 255, 255, 255}, + {170, 0, 0, 255}, {170, 0, 85, 255}, {170, 0, 170, 255}, + {170, 0, 255, 255}, {170, 36, 0, 255}, {170, 36, 85, 255}, + {170, 36, 170, 255}, {170, 36, 255, 255}, {170, 73, 0, 255}, + {170, 73, 85, 255}, {170, 73, 170, 255}, {170, 73, 255, 255}, + {170, 109, 0, 255}, {170, 109, 85, 255}, {170, 109, 170, 255}, + {170, 109, 255, 255}, {170, 146, 0, 255}, {170, 146, 85, 255}, + {170, 146, 170, 255}, {170, 146, 255, 255}, {170, 182, 0, 255}, + {170, 182, 85, 255}, {170, 182, 170, 255}, {170, 182, 255, 255}, + {170, 219, 0, 255}, {170, 219, 85, 255}, {170, 219, 170, 255}, + {170, 219, 255, 255}, {170, 255, 0, 255}, {170, 255, 85, 255}, + {170, 255, 170, 255}, {170, 255, 255, 255}, {255, 0, 0, 255}, + {255, 0, 85, 255}, {255, 0, 170, 255}, {255, 0, 255, 255}, + {255, 36, 0, 255}, {255, 36, 85, 255}, {255, 36, 170, 255}, + {255, 36, 255, 255}, {255, 73, 0, 255}, {255, 73, 85, 255}, + {255, 73, 170, 255}, {255, 73, 255, 255}, {255, 109, 0, 255}, + {255, 109, 85, 255}, {255, 109, 170, 255}, {255, 109, 255, 255}, + {255, 146, 0, 255}, {255, 146, 85, 255}, {255, 146, 170, 255}, + {255, 146, 255, 255}, {255, 182, 0, 255}, {255, 182, 85, 255}, + {255, 182, 170, 255}, {255, 182, 255, 255}, {255, 219, 0, 255}, + {255, 219, 85, 255}, {255, 219, 170, 255}, {255, 219, 255, 255}, + {255, 255, 0, 255}, {255, 255, 85, 255}, {255, 255, 170, 255}, + {255, 255, 255, 255}}; + +static const int default_palette_size = + (int)(sizeof(default_palette_colors) / sizeof(SDL_Color)); + +#endif diff --git a/venv/include/site/python3.8/pygame/pgarrinter.h b/venv/include/site/python3.8/pygame/pgarrinter.h new file mode 100644 index 0000000..5ba096b --- /dev/null +++ b/venv/include/site/python3.8/pygame/pgarrinter.h @@ -0,0 +1,26 @@ +/* array structure interface version 3 declarations */ + +#if !defined(PG_ARRAYINTER_HEADER) +#define PG_ARRAYINTER_HEADER + +static const int PAI_CONTIGUOUS = 0x01; +static const int PAI_FORTRAN = 0x02; +static const int PAI_ALIGNED = 0x100; +static const int PAI_NOTSWAPPED = 0x200; +static const int PAI_WRITEABLE = 0x400; +static const int PAI_ARR_HAS_DESCR = 0x800; + +typedef struct { + int two; /* contains the integer 2 -- simple sanity check */ + int nd; /* number of dimensions */ + char typekind; /* kind in array -- character code of typestr */ + int itemsize; /* size of each element */ + int flags; /* flags indicating how the data should be */ + /* interpreted */ + Py_intptr_t *shape; /* A length-nd array of shape information */ + Py_intptr_t *strides; /* A length-nd array of stride information */ + void *data; /* A pointer to the first element of the array */ + PyObject *descr; /* NULL or a data-description */ +} PyArrayInterface; + +#endif diff --git a/venv/include/site/python3.8/pygame/pgbufferproxy.h b/venv/include/site/python3.8/pygame/pgbufferproxy.h new file mode 100644 index 0000000..92dc2f0 --- /dev/null +++ b/venv/include/site/python3.8/pygame/pgbufferproxy.h @@ -0,0 +1,52 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + Copyright (C) 2007 Rene Dudfield, Richard Goedeken + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +/* Bufferproxy module C api. + Depends on pygame.h being included first. + */ +#if !defined(PG_BUFPROXY_HEADER) + +#define PYGAMEAPI_BUFPROXY_NUMSLOTS 4 +#define PYGAMEAPI_BUFPROXY_FIRSTSLOT 0 + +#if !(defined(PYGAMEAPI_BUFPROXY_INTERNAL) || defined(NO_PYGAME_C_API)) +static void *PgBUFPROXY_C_API[PYGAMEAPI_BUFPROXY_NUMSLOTS]; + +typedef PyObject *(*_pgbufproxy_new_t)(PyObject *, getbufferproc); +typedef PyObject *(*_pgbufproxy_get_obj_t)(PyObject *); +typedef int (*_pgbufproxy_trip_t)(PyObject *); + +#define pgBufproxy_Type (*(PyTypeObject*)PgBUFPROXY_C_API[0]) +#define pgBufproxy_New (*(_pgbufproxy_new_t)PgBUFPROXY_C_API[1]) +#define pgBufproxy_GetParent \ + (*(_pgbufproxy_get_obj_t)PgBUFPROXY_C_API[2]) +#define pgBufproxy_Trip (*(_pgbufproxy_trip_t)PgBUFPROXY_C_API[3]) +#define pgBufproxy_Check(x) ((x)->ob_type == (pgBufproxy_Type)) +#define import_pygame_bufferproxy() \ + _IMPORT_PYGAME_MODULE(bufferproxy, BUFPROXY, PgBUFPROXY_C_API) + +#endif /* #if !(defined(PYGAMEAPI_BUFPROXY_INTERNAL) || ... */ + +#define PG_BUFPROXY_HEADER + +#endif /* #if !defined(PG_BUFPROXY_HEADER) */ diff --git a/venv/include/site/python3.8/pygame/pgcompat.h b/venv/include/site/python3.8/pygame/pgcompat.h new file mode 100644 index 0000000..9eb1b88 --- /dev/null +++ b/venv/include/site/python3.8/pygame/pgcompat.h @@ -0,0 +1,195 @@ +/* Python 2.x/3.x compitibility tools + */ + +#if !defined(PGCOMPAT_H) +#define PGCOMPAT_H + +#if PY_MAJOR_VERSION >= 3 + +#define PY3 1 + +/* Define some aliases for the removed PyInt_* functions */ +#define PyInt_Check(op) PyLong_Check(op) +#define PyInt_FromString PyLong_FromString +#define PyInt_FromUnicode PyLong_FromUnicode +#define PyInt_FromLong PyLong_FromLong +#define PyInt_FromSize_t PyLong_FromSize_t +#define PyInt_FromSsize_t PyLong_FromSsize_t +#define PyInt_AsLong PyLong_AsLong +#define PyInt_AsSsize_t PyLong_AsSsize_t +#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask +#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask +#define PyInt_AS_LONG PyLong_AS_LONG +#define PyNumber_Int PyNumber_Long + +/* Weakrefs flags changed in 3.x */ +#define Py_TPFLAGS_HAVE_WEAKREFS 0 + +/* Module init function returns new module instance. */ +#define MODINIT_RETURN(x) return x +#define MODINIT_DEFINE(mod_name) PyMODINIT_FUNC PyInit_##mod_name (void) +#define DECREF_MOD(mod) Py_DECREF (mod) + +/* Type header differs. */ +#define TYPE_HEAD(x,y) PyVarObject_HEAD_INIT(x,y) + +/* Text interface. Use unicode strings. */ +#define Text_Type PyUnicode_Type +#define Text_Check PyUnicode_Check + +#ifndef PYPY_VERSION +#define Text_FromLocale(s) PyUnicode_DecodeLocale((s), "strict") +#else /* PYPY_VERSION */ +/* workaround: missing function for pypy */ +#define Text_FromLocale PyUnicode_FromString +#endif /* PYPY_VERSION */ + +#define Text_FromUTF8 PyUnicode_FromString +#define Text_FromUTF8AndSize PyUnicode_FromStringAndSize +#define Text_FromFormat PyUnicode_FromFormat +#define Text_GetSize PyUnicode_GetSize +#define Text_GET_SIZE PyUnicode_GET_SIZE + +/* Binary interface. Use bytes. */ +#define Bytes_Type PyBytes_Type +#define Bytes_Check PyBytes_Check +#define Bytes_Size PyBytes_Size +#define Bytes_AsString PyBytes_AsString +#define Bytes_AsStringAndSize PyBytes_AsStringAndSize +#define Bytes_FromStringAndSize PyBytes_FromStringAndSize +#define Bytes_FromFormat PyBytes_FromFormat +#define Bytes_AS_STRING PyBytes_AS_STRING +#define Bytes_GET_SIZE PyBytes_GET_SIZE +#define Bytes_AsDecodeObject PyBytes_AsDecodedObject + +#define Object_Unicode PyObject_Str + +#define IsTextObj(x) (PyUnicode_Check(x) || PyBytes_Check(x)) + +/* Renamed builtins */ +#define BUILTINS_MODULE "builtins" +#define BUILTINS_UNICODE "str" +#define BUILTINS_UNICHR "chr" + +/* Defaults for unicode file path encoding */ +#define UNICODE_DEF_FS_CODEC Py_FileSystemDefaultEncoding +#if defined(MS_WIN32) +#define UNICODE_DEF_FS_ERROR "replace" +#else +#define UNICODE_DEF_FS_ERROR "surrogateescape" +#endif + +#else /* #if PY_MAJOR_VERSION >= 3 */ + +#define PY3 0 + +/* Module init function returns nothing. */ +#define MODINIT_RETURN(x) return +#define MODINIT_DEFINE(mod_name) PyMODINIT_FUNC init##mod_name (void) +#define DECREF_MOD(mod) + +/* Type header differs. */ +#define TYPE_HEAD(x,y) \ + PyObject_HEAD_INIT(x) \ + 0, + +/* Text interface. Use ascii strings. */ +#define Text_Type PyString_Type +#define Text_Check PyString_Check +#define Text_FromLocale PyString_FromString +#define Text_FromUTF8 PyString_FromString +#define Text_FromUTF8AndSize PyString_FromStringAndSize +#define Text_FromFormat PyString_FromFormat +#define Text_GetSize PyString_GetSize +#define Text_GET_SIZE PyString_GET_SIZE + +/* Binary interface. Use ascii strings. */ +#define Bytes_Type PyString_Type +#define Bytes_Check PyString_Check +#define Bytes_Size PyString_Size +#define Bytes_AsString PyString_AsString +#define Bytes_AsStringAndSize PyString_AsStringAndSize +#define Bytes_FromStringAndSize PyString_FromStringAndSize +#define Bytes_FromFormat PyString_FromFormat +#define Bytes_AS_STRING PyString_AS_STRING +#define Bytes_GET_SIZE PyString_GET_SIZE +#define Bytes_AsDecodedObject PyString_AsDecodedObject + +#define Object_Unicode PyObject_Unicode + +/* Renamed builtins */ +#define BUILTINS_MODULE "__builtin__" +#define BUILTINS_UNICODE "unicode" +#define BUILTINS_UNICHR "unichr" + +/* Defaults for unicode file path encoding */ +#define UNICODE_DEF_FS_CODEC Py_FileSystemDefaultEncoding +#define UNICODE_DEF_FS_ERROR "strict" + +#endif /* #if PY_MAJOR_VERSION >= 3 */ + +#define PY2 (!PY3) + +#define MODINIT_ERROR MODINIT_RETURN (NULL) + +/* Module state. These macros are used to define per-module macros. + * v - global state variable (Python 2.x) + * s - global state structure (Python 3.x) + */ +#define PY2_GETSTATE(v) (&(v)) +#define PY3_GETSTATE(s, m) ((struct s *) PyModule_GetState (m)) + +/* Pep 3123: Making PyObject_HEAD conform to standard C */ +#if !defined(Py_TYPE) +#define Py_TYPE(o) (((PyObject *)(o))->ob_type) +#define Py_REFCNT(o) (((PyObject *)(o))->ob_refcnt) +#define Py_SIZE(o) (((PyVarObject *)(o))->ob_size) +#endif + +/* Encode a unicode file path */ +#define Unicode_AsEncodedPath(u) \ + PyUnicode_AsEncodedString ((u), UNICODE_DEF_FS_CODEC, UNICODE_DEF_FS_ERROR) + +#define RELATIVE_MODULE(m) ("." m) + +#define HAVE_OLD_BUFPROTO PY2 + +#if !defined(PG_ENABLE_OLDBUF) /* allow for command line override */ +#if HAVE_OLD_BUFPROTO +#define PG_ENABLE_OLDBUF 1 +#else +#define PG_ENABLE_OLDBUF 0 +#endif +#endif + +#ifndef Py_TPFLAGS_HAVE_NEWBUFFER +#define Py_TPFLAGS_HAVE_NEWBUFFER 0 +#endif + +#ifndef Py_TPFLAGS_HAVE_CLASS +#define Py_TPFLAGS_HAVE_CLASS 0 +#endif + +#ifndef Py_TPFLAGS_CHECKTYPES +#define Py_TPFLAGS_CHECKTYPES 0 +#endif + +#if PY_VERSION_HEX >= 0x03020000 +#define Slice_GET_INDICES_EX(slice, length, start, stop, step, slicelength) \ + PySlice_GetIndicesEx(slice, length, start, stop, step, slicelength) +#else +#define Slice_GET_INDICES_EX(slice, length, start, stop, step, slicelength) \ + PySlice_GetIndicesEx((PySliceObject *)(slice), length, \ + start, stop, step, slicelength) +#endif + +/* Support new buffer protocol? */ +#if !defined(PG_ENABLE_NEWBUF) /* allow for command line override */ +#if !defined(PYPY_VERSION) +#define PG_ENABLE_NEWBUF 1 +#else +#define PG_ENABLE_NEWBUF 0 +#endif +#endif + +#endif /* #if !defined(PGCOMPAT_H) */ diff --git a/venv/include/site/python3.8/pygame/pgopengl.h b/venv/include/site/python3.8/pygame/pgopengl.h new file mode 100644 index 0000000..3c80dca --- /dev/null +++ b/venv/include/site/python3.8/pygame/pgopengl.h @@ -0,0 +1,16 @@ +#if !defined(PGOPENGL_H) +#define PGOPENGL_H + +/** This header includes definitions of Opengl functions as pointer types for + ** use with the SDL function SDL_GL_GetProcAddress. + **/ + +#if defined(_WIN32) +#define GL_APIENTRY __stdcall +#else +#define GL_APIENTRY +#endif + +typedef void (GL_APIENTRY *GL_glReadPixels_Func)(int, int, int, int, unsigned int, unsigned int, void*); + +#endif diff --git a/venv/include/site/python3.8/pygame/pygame.h b/venv/include/site/python3.8/pygame/pygame.h new file mode 100644 index 0000000..bcbf1d9 --- /dev/null +++ b/venv/include/site/python3.8/pygame/pygame.h @@ -0,0 +1,34 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +/* To allow the Pygame C api to be globally shared by all code within an + * extension module built from multiple C files, only include the pygame.h + * header within the top level C file, the one which calls the + * 'import_pygame_*' macros. All other C source files of the module should + * include _pygame.h instead. + */ +#ifndef PYGAME_H +#define PYGAME_H + +#include "_pygame.h" + +#endif diff --git a/venv/include/site/python3.8/pygame/scrap.h b/venv/include/site/python3.8/pygame/scrap.h new file mode 100644 index 0000000..b1b3856 --- /dev/null +++ b/venv/include/site/python3.8/pygame/scrap.h @@ -0,0 +1,143 @@ +/* + pygame - Python Game Library + Copyright (C) 2006, 2007 Rene Dudfield, Marcus von Appen + + Originally put in the public domain by Sam Lantinga. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +/* This is unconditionally defined in Python.h */ +#if defined(_POSIX_C_SOURCE) +#undef _POSIX_C_SOURCE +#endif + +#include + +/* Handle clipboard text and data in arbitrary formats */ + +/** + * Predefined supported pygame scrap types. + */ +#define PYGAME_SCRAP_TEXT "text/plain" +#define PYGAME_SCRAP_BMP "image/bmp" +#define PYGAME_SCRAP_PPM "image/ppm" +#define PYGAME_SCRAP_PBM "image/pbm" + +/** + * The supported scrap clipboard types. + * + * This is only relevant in a X11 environment, which supports mouse + * selections as well. For Win32 and MacOS environments the default + * clipboard is used, no matter what value is passed. + */ +typedef enum +{ + SCRAP_CLIPBOARD, + SCRAP_SELECTION /* only supported in X11 environments. */ +} ScrapClipType; + +/** + * Macro for initialization checks. + */ +#define PYGAME_SCRAP_INIT_CHECK() \ + if(!pygame_scrap_initialized()) \ + return (PyErr_SetString (pgExc_SDLError, \ + "scrap system not initialized."), NULL) + +/** + * \brief Checks, whether the pygame scrap module was initialized. + * + * \return 1 if the modules was initialized, 0 otherwise. + */ +extern int +pygame_scrap_initialized (void); + +/** + * \brief Initializes the pygame scrap module internals. Call this before any + * other method. + * + * \return 1 on successful initialization, 0 otherwise. + */ +extern int +pygame_scrap_init (void); + +/** + * \brief Checks, whether the pygame window lost the clipboard focus or not. + * + * \return 1 if the window lost the focus, 0 otherwise. + */ +extern int +pygame_scrap_lost (void); + +/** + * \brief Places content of a specific type into the clipboard. + * + * \note For X11 the following notes are important: The following types + * are reserved for internal usage and thus will throw an error on + * setting them: "TIMESTAMP", "TARGETS", "SDL_SELECTION". + * Setting PYGAME_SCRAP_TEXT ("text/plain") will also automatically + * set the X11 types "STRING" (XA_STRING), "TEXT" and "UTF8_STRING". + * + * For Win32 the following notes are important: Setting + * PYGAME_SCRAP_TEXT ("text/plain") will also automatically set + * the Win32 type "TEXT" (CF_TEXT). + * + * For QNX the following notes are important: Setting + * PYGAME_SCRAP_TEXT ("text/plain") will also automatically set + * the QNX type "TEXT" (Ph_CL_TEXT). + * + * \param type The type of the content. + * \param srclen The length of the content. + * \param src The NULL terminated content. + * \return 1, if the content could be successfully pasted into the clipboard, + * 0 otherwise. + */ +extern int +pygame_scrap_put (char *type, int srclen, char *src); + +/** + * \brief Gets the current content from the clipboard. + * + * \note The received content does not need to be the content previously + * placed in the clipboard using pygame_put_scrap(). See the + * pygame_put_scrap() notes for more details. + * + * \param type The type of the content to receive. + * \param count The size of the returned content. + * \return The content or NULL in case of an error or if no content of the + * specified type was available. + */ +extern char* +pygame_scrap_get (char *type, unsigned long *count); + +/** + * \brief Gets the currently available content types from the clipboard. + * + * \return The different available content types or NULL in case of an + * error or if no content type is available. + */ +extern char** +pygame_scrap_get_types (void); + +/** + * \brief Checks whether content for the specified scrap type is currently + * available in the clipboard. + * + * \param type The type to check for. + * \return 1, if there is content and 0 otherwise. + */ +extern int +pygame_scrap_contains (char *type); diff --git a/venv/include/site/python3.8/pygame/surface.h b/venv/include/site/python3.8/pygame/surface.h new file mode 100644 index 0000000..cc5f071 --- /dev/null +++ b/venv/include/site/python3.8/pygame/surface.h @@ -0,0 +1,383 @@ +/* + pygame - Python Game Library + Copyright (C) 2000-2001 Pete Shinners + Copyright (C) 2007 Marcus von Appen + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Pete Shinners + pete@shinners.org +*/ + +#ifndef SURFACE_H +#define SURFACE_H + +/* This is defined in SDL.h */ +#if defined(_POSIX_C_SOURCE) +#undef _POSIX_C_SOURCE +#endif + +#include +#include "pygame.h" + +/* Blend modes */ +#define PYGAME_BLEND_ADD 0x1 +#define PYGAME_BLEND_SUB 0x2 +#define PYGAME_BLEND_MULT 0x3 +#define PYGAME_BLEND_MIN 0x4 +#define PYGAME_BLEND_MAX 0x5 + +#define PYGAME_BLEND_RGB_ADD 0x1 +#define PYGAME_BLEND_RGB_SUB 0x2 +#define PYGAME_BLEND_RGB_MULT 0x3 +#define PYGAME_BLEND_RGB_MIN 0x4 +#define PYGAME_BLEND_RGB_MAX 0x5 + +#define PYGAME_BLEND_RGBA_ADD 0x6 +#define PYGAME_BLEND_RGBA_SUB 0x7 +#define PYGAME_BLEND_RGBA_MULT 0x8 +#define PYGAME_BLEND_RGBA_MIN 0x9 +#define PYGAME_BLEND_RGBA_MAX 0x10 +#define PYGAME_BLEND_PREMULTIPLIED 0x11 + + + + + +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define GET_PIXEL_24(b) (b[0] + (b[1] << 8) + (b[2] << 16)) +#else +#define GET_PIXEL_24(b) (b[2] + (b[1] << 8) + (b[0] << 16)) +#endif + +#define GET_PIXEL(pxl, bpp, source) \ + switch (bpp) \ + { \ + case 2: \ + pxl = *((Uint16 *) (source)); \ + break; \ + case 4: \ + pxl = *((Uint32 *) (source)); \ + break; \ + default: \ + { \ + Uint8 *b = (Uint8 *) source; \ + pxl = GET_PIXEL_24(b); \ + } \ + break; \ + } + +#if IS_SDLv1 +#define GET_PIXELVALS(_sR, _sG, _sB, _sA, px, fmt, ppa) \ + _sR = ((px & fmt->Rmask) >> fmt->Rshift); \ + _sR = (_sR << fmt->Rloss) + (_sR >> (8 - (fmt->Rloss << 1))); \ + _sG = ((px & fmt->Gmask) >> fmt->Gshift); \ + _sG = (_sG << fmt->Gloss) + (_sG >> (8 - (fmt->Gloss << 1))); \ + _sB = ((px & fmt->Bmask) >> fmt->Bshift); \ + _sB = (_sB << fmt->Bloss) + (_sB >> (8 - (fmt->Bloss << 1))); \ + if (ppa) \ + { \ + _sA = ((px & fmt->Amask) >> fmt->Ashift); \ + _sA = (_sA << fmt->Aloss) + (_sA >> (8 - (fmt->Aloss << 1))); \ + } \ + else \ + { \ + _sA = 255; \ + } + +#define GET_PIXELVALS_1(sr, sg, sb, sa, _src, _fmt) \ + sr = _fmt->palette->colors[*((Uint8 *) (_src))].r; \ + sg = _fmt->palette->colors[*((Uint8 *) (_src))].g; \ + sb = _fmt->palette->colors[*((Uint8 *) (_src))].b; \ + sa = 255; + +/* For 1 byte palette pixels */ +#define SET_PIXELVAL(px, fmt, _dR, _dG, _dB, _dA) \ + *(px) = (Uint8) SDL_MapRGB(fmt, _dR, _dG, _dB) +#else /* IS_SDLv2 */ +#define GET_PIXELVALS(_sR, _sG, _sB, _sA, px, fmt, ppa) \ + SDL_GetRGBA(px, fmt, &(_sR), &(_sG), &(_sB), &(_sA)); \ + if (!ppa) { \ + _sA = 255; \ + } + +#define GET_PIXELVALS_1(sr, sg, sb, sa, _src, _fmt) \ + sr = _fmt->palette->colors[*((Uint8 *) (_src))].r; \ + sg = _fmt->palette->colors[*((Uint8 *) (_src))].g; \ + sb = _fmt->palette->colors[*((Uint8 *) (_src))].b; \ + sa = 255; + +/* For 1 byte palette pixels */ +#define SET_PIXELVAL(px, fmt, _dR, _dG, _dB, _dA) \ + *(px) = (Uint8) SDL_MapRGBA(fmt, _dR, _dG, _dB, _dA) +#endif /* IS_SDLv2 */ + + + + + + + + +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define SET_OFFSETS_24(or, og, ob, fmt) \ + { \ + or = (fmt->Rshift == 0 ? 0 : \ + fmt->Rshift == 8 ? 1 : \ + 2 ); \ + og = (fmt->Gshift == 0 ? 0 : \ + fmt->Gshift == 8 ? 1 : \ + 2 ); \ + ob = (fmt->Bshift == 0 ? 0 : \ + fmt->Bshift == 8 ? 1 : \ + 2 ); \ + } + +#define SET_OFFSETS_32(or, og, ob, fmt) \ + { \ + or = (fmt->Rshift == 0 ? 0 : \ + fmt->Rshift == 8 ? 1 : \ + fmt->Rshift == 16 ? 2 : \ + 3 ); \ + og = (fmt->Gshift == 0 ? 0 : \ + fmt->Gshift == 8 ? 1 : \ + fmt->Gshift == 16 ? 2 : \ + 3 ); \ + ob = (fmt->Bshift == 0 ? 0 : \ + fmt->Bshift == 8 ? 1 : \ + fmt->Bshift == 16 ? 2 : \ + 3 ); \ + } +#else +#define SET_OFFSETS_24(or, og, ob, fmt) \ + { \ + or = (fmt->Rshift == 0 ? 2 : \ + fmt->Rshift == 8 ? 1 : \ + 0 ); \ + og = (fmt->Gshift == 0 ? 2 : \ + fmt->Gshift == 8 ? 1 : \ + 0 ); \ + ob = (fmt->Bshift == 0 ? 2 : \ + fmt->Bshift == 8 ? 1 : \ + 0 ); \ + } + +#define SET_OFFSETS_32(or, og, ob, fmt) \ + { \ + or = (fmt->Rshift == 0 ? 3 : \ + fmt->Rshift == 8 ? 2 : \ + fmt->Rshift == 16 ? 1 : \ + 0 ); \ + og = (fmt->Gshift == 0 ? 3 : \ + fmt->Gshift == 8 ? 2 : \ + fmt->Gshift == 16 ? 1 : \ + 0 ); \ + ob = (fmt->Bshift == 0 ? 3 : \ + fmt->Bshift == 8 ? 2 : \ + fmt->Bshift == 16 ? 1 : \ + 0 ); \ + } +#endif + + +#define CREATE_PIXEL(buf, r, g, b, a, bp, ft) \ + switch (bp) \ + { \ + case 2: \ + *((Uint16 *) (buf)) = \ + ((r >> ft->Rloss) << ft->Rshift) | \ + ((g >> ft->Gloss) << ft->Gshift) | \ + ((b >> ft->Bloss) << ft->Bshift) | \ + ((a >> ft->Aloss) << ft->Ashift); \ + break; \ + case 4: \ + *((Uint32 *) (buf)) = \ + ((r >> ft->Rloss) << ft->Rshift) | \ + ((g >> ft->Gloss) << ft->Gshift) | \ + ((b >> ft->Bloss) << ft->Bshift) | \ + ((a >> ft->Aloss) << ft->Ashift); \ + break; \ + } + +/* Pretty good idea from Tom Duff :-). */ +#define LOOP_UNROLLED4(code, n, width) \ + n = (width + 3) / 4; \ + switch (width & 3) \ + { \ + case 0: do { code; \ + case 3: code; \ + case 2: code; \ + case 1: code; \ + } while (--n > 0); \ + } + +/* Used in the srcbpp == dstbpp == 1 blend functions */ +#define REPEAT_3(code) \ + code; \ + code; \ + code; + +#define REPEAT_4(code) \ + code; \ + code; \ + code; \ + code; + + +#define BLEND_ADD(tmp, sR, sG, sB, sA, dR, dG, dB, dA) \ + tmp = dR + sR; dR = (tmp <= 255 ? tmp : 255); \ + tmp = dG + sG; dG = (tmp <= 255 ? tmp : 255); \ + tmp = dB + sB; dB = (tmp <= 255 ? tmp : 255); + +#define BLEND_SUB(tmp, sR, sG, sB, sA, dR, dG, dB, dA) \ + tmp = dR - sR; dR = (tmp >= 0 ? tmp : 0); \ + tmp = dG - sG; dG = (tmp >= 0 ? tmp : 0); \ + tmp = dB - sB; dB = (tmp >= 0 ? tmp : 0); + +#define BLEND_MULT(sR, sG, sB, sA, dR, dG, dB, dA) \ + dR = (dR && sR) ? (dR * sR) >> 8 : 0; \ + dG = (dG && sG) ? (dG * sG) >> 8 : 0; \ + dB = (dB && sB) ? (dB * sB) >> 8 : 0; + +#define BLEND_MIN(sR, sG, sB, sA, dR, dG, dB, dA) \ + if(sR < dR) { dR = sR; } \ + if(sG < dG) { dG = sG; } \ + if(sB < dB) { dB = sB; } + +#define BLEND_MAX(sR, sG, sB, sA, dR, dG, dB, dA) \ + if(sR > dR) { dR = sR; } \ + if(sG > dG) { dG = sG; } \ + if(sB > dB) { dB = sB; } + + + + + + +#define BLEND_RGBA_ADD(tmp, sR, sG, sB, sA, dR, dG, dB, dA) \ + tmp = dR + sR; dR = (tmp <= 255 ? tmp : 255); \ + tmp = dG + sG; dG = (tmp <= 255 ? tmp : 255); \ + tmp = dB + sB; dB = (tmp <= 255 ? tmp : 255); \ + tmp = dA + sA; dA = (tmp <= 255 ? tmp : 255); + +#define BLEND_RGBA_SUB(tmp, sR, sG, sB, sA, dR, dG, dB, dA) \ + tmp = dR - sR; dR = (tmp >= 0 ? tmp : 0); \ + tmp = dG - sG; dG = (tmp >= 0 ? tmp : 0); \ + tmp = dB - sB; dB = (tmp >= 0 ? tmp : 0); \ + tmp = dA - sA; dA = (tmp >= 0 ? tmp : 0); + +#define BLEND_RGBA_MULT(sR, sG, sB, sA, dR, dG, dB, dA) \ + dR = (dR && sR) ? (dR * sR) >> 8 : 0; \ + dG = (dG && sG) ? (dG * sG) >> 8 : 0; \ + dB = (dB && sB) ? (dB * sB) >> 8 : 0; \ + dA = (dA && sA) ? (dA * sA) >> 8 : 0; + +#define BLEND_RGBA_MIN(sR, sG, sB, sA, dR, dG, dB, dA) \ + if(sR < dR) { dR = sR; } \ + if(sG < dG) { dG = sG; } \ + if(sB < dB) { dB = sB; } \ + if(sA < dA) { dA = sA; } + +#define BLEND_RGBA_MAX(sR, sG, sB, sA, dR, dG, dB, dA) \ + if(sR > dR) { dR = sR; } \ + if(sG > dG) { dG = sG; } \ + if(sB > dB) { dB = sB; } \ + if(sA > dA) { dA = sA; } + + + + + + + + + + + +#if 1 +/* Choose an alpha blend equation. If the sign is preserved on a right shift + * then use a specialized, faster, equation. Otherwise a more general form, + * where all additions are done before the shift, is needed. +*/ +#if (-1 >> 1) < 0 +#define ALPHA_BLEND_COMP(sC, dC, sA) ((((sC - dC) * sA + sC) >> 8) + dC) +#else +#define ALPHA_BLEND_COMP(sC, dC, sA) (((dC << 8) + (sC - dC) * sA + sC) >> 8) +#endif + +#define ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB, dA) \ + do { \ + if (dA) \ + { \ + dR = ALPHA_BLEND_COMP(sR, dR, sA); \ + dG = ALPHA_BLEND_COMP(sG, dG, sA); \ + dB = ALPHA_BLEND_COMP(sB, dB, sA); \ + dA = sA + dA - ((sA * dA) / 255); \ + } \ + else \ + { \ + dR = sR; \ + dG = sG; \ + dB = sB; \ + dA = sA; \ + } \ + } while(0) + +#define ALPHA_BLEND_PREMULTIPLIED_COMP(sC, dC, sA) (sC + dC - ((dC * sA) >> 8)) + +#define ALPHA_BLEND_PREMULTIPLIED(tmp, sR, sG, sB, sA, dR, dG, dB, dA) \ + do { \ + tmp = ALPHA_BLEND_PREMULTIPLIED_COMP(sR, dR, sA); dR = (tmp > 255 ? 255 : tmp); \ + tmp = ALPHA_BLEND_PREMULTIPLIED_COMP(sG, dG, sA); dG = (tmp > 255 ? 255 : tmp); \ + tmp = ALPHA_BLEND_PREMULTIPLIED_COMP(sB, dB, sA); dB = (tmp > 255 ? 255 : tmp); \ + dA = sA + dA - ((sA * dA) / 255); \ + } while(0) +#elif 0 + +#define ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB, dA) \ + do { \ + if(sA){ \ + if(dA && sA < 255){ \ + int dContrib = dA*(255 - sA)/255; \ + dA = sA+dA - ((sA*dA)/255); \ + dR = (dR*dContrib + sR*sA)/dA; \ + dG = (dG*dContrib + sG*sA)/dA; \ + dB = (dB*dContrib + sB*sA)/dA; \ + }else{ \ + dR = sR; \ + dG = sG; \ + dB = sB; \ + dA = sA; \ + } \ + } \ + } while(0) +#endif + +int +surface_fill_blend (SDL_Surface *surface, SDL_Rect *rect, Uint32 color, + int blendargs); + +void +surface_respect_clip_rect (SDL_Surface *surface, SDL_Rect *rect); + +int +pygame_AlphaBlit (SDL_Surface * src, SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect, int the_args); + +int +pygame_Blit (SDL_Surface * src, SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect, int the_args); + +#endif /* SURFACE_H */ diff --git a/venv/lib64 b/venv/lib64 new file mode 120000 index 0000000..7951405 --- /dev/null +++ b/venv/lib64 @@ -0,0 +1 @@ +lib \ No newline at end of file diff --git a/venv/pyvenv.cfg b/venv/pyvenv.cfg new file mode 100644 index 0000000..4118bb9 --- /dev/null +++ b/venv/pyvenv.cfg @@ -0,0 +1,3 @@ +home = /usr/bin +include-system-site-packages = false +version = 3.8.2 diff --git a/wandb/debug.log b/wandb/debug.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/config.yaml b/wandb/run-20200126_144058-y7pjuj9j/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/diff.patch b/wandb/run-20200126_144058-y7pjuj9j/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/output.log b/wandb/run-20200126_144058-y7pjuj9j/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/requirements.txt b/wandb/run-20200126_144058-y7pjuj9j/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/wandb-events.jsonl b/wandb/run-20200126_144058-y7pjuj9j/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/wandb-history.jsonl b/wandb/run-20200126_144058-y7pjuj9j/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/wandb-metadata.json b/wandb/run-20200126_144058-y7pjuj9j/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200126_144058-y7pjuj9j/wandb-summary.json b/wandb/run-20200126_144058-y7pjuj9j/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/config.yaml b/wandb/run-20200127_134136-6kfphe8s/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/diff.patch b/wandb/run-20200127_134136-6kfphe8s/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/output.log b/wandb/run-20200127_134136-6kfphe8s/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/requirements.txt b/wandb/run-20200127_134136-6kfphe8s/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/wandb-events.jsonl b/wandb/run-20200127_134136-6kfphe8s/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/wandb-history.jsonl b/wandb/run-20200127_134136-6kfphe8s/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/wandb-metadata.json b/wandb/run-20200127_134136-6kfphe8s/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134136-6kfphe8s/wandb-summary.json b/wandb/run-20200127_134136-6kfphe8s/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/config.yaml b/wandb/run-20200127_134706-7uy589ms/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/diff.patch b/wandb/run-20200127_134706-7uy589ms/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/output.log b/wandb/run-20200127_134706-7uy589ms/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/requirements.txt b/wandb/run-20200127_134706-7uy589ms/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/wandb-events.jsonl b/wandb/run-20200127_134706-7uy589ms/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/wandb-history.jsonl b/wandb/run-20200127_134706-7uy589ms/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/wandb-metadata.json b/wandb/run-20200127_134706-7uy589ms/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_134706-7uy589ms/wandb-summary.json b/wandb/run-20200127_134706-7uy589ms/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/config.yaml b/wandb/run-20200127_141031-92wkr1uh/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/diff.patch b/wandb/run-20200127_141031-92wkr1uh/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/output.log b/wandb/run-20200127_141031-92wkr1uh/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/requirements.txt b/wandb/run-20200127_141031-92wkr1uh/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/wandb-events.jsonl b/wandb/run-20200127_141031-92wkr1uh/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/wandb-history.jsonl b/wandb/run-20200127_141031-92wkr1uh/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141031-92wkr1uh/wandb-metadata.json b/wandb/run-20200127_141031-92wkr1uh/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/config.yaml b/wandb/run-20200127_141329-lscctqxi/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/diff.patch b/wandb/run-20200127_141329-lscctqxi/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/output.log b/wandb/run-20200127_141329-lscctqxi/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/requirements.txt b/wandb/run-20200127_141329-lscctqxi/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/wandb-events.jsonl b/wandb/run-20200127_141329-lscctqxi/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/wandb-history.jsonl b/wandb/run-20200127_141329-lscctqxi/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141329-lscctqxi/wandb-metadata.json b/wandb/run-20200127_141329-lscctqxi/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/config.yaml b/wandb/run-20200127_141628-v2eude0z/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/diff.patch b/wandb/run-20200127_141628-v2eude0z/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/output.log b/wandb/run-20200127_141628-v2eude0z/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/requirements.txt b/wandb/run-20200127_141628-v2eude0z/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/wandb-events.jsonl b/wandb/run-20200127_141628-v2eude0z/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/wandb-history.jsonl b/wandb/run-20200127_141628-v2eude0z/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/wandb-metadata.json b/wandb/run-20200127_141628-v2eude0z/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141628-v2eude0z/wandb-summary.json b/wandb/run-20200127_141628-v2eude0z/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141825-a21xsfye/config.yaml b/wandb/run-20200127_141825-a21xsfye/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141825-a21xsfye/output.log b/wandb/run-20200127_141825-a21xsfye/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141825-a21xsfye/wandb-history.jsonl b/wandb/run-20200127_141825-a21xsfye/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_141825-a21xsfye/wandb-metadata.json b/wandb/run-20200127_141825-a21xsfye/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/config.yaml b/wandb/run-20200127_142807-st277t0v/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/diff.patch b/wandb/run-20200127_142807-st277t0v/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/output.log b/wandb/run-20200127_142807-st277t0v/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/requirements.txt b/wandb/run-20200127_142807-st277t0v/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/wandb-events.jsonl b/wandb/run-20200127_142807-st277t0v/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/wandb-history.jsonl b/wandb/run-20200127_142807-st277t0v/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/wandb-metadata.json b/wandb/run-20200127_142807-st277t0v/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_142807-st277t0v/wandb-summary.json b/wandb/run-20200127_142807-st277t0v/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/config.yaml b/wandb/run-20200127_143851-1cqtetvf/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/diff.patch b/wandb/run-20200127_143851-1cqtetvf/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/output.log b/wandb/run-20200127_143851-1cqtetvf/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/requirements.txt b/wandb/run-20200127_143851-1cqtetvf/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/wandb-events.jsonl b/wandb/run-20200127_143851-1cqtetvf/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/wandb-history.jsonl b/wandb/run-20200127_143851-1cqtetvf/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/wandb-metadata.json b/wandb/run-20200127_143851-1cqtetvf/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_143851-1cqtetvf/wandb-summary.json b/wandb/run-20200127_143851-1cqtetvf/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/config.yaml b/wandb/run-20200127_150751-y1w180kc/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/diff.patch b/wandb/run-20200127_150751-y1w180kc/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/output.log b/wandb/run-20200127_150751-y1w180kc/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/requirements.txt b/wandb/run-20200127_150751-y1w180kc/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/wandb-events.jsonl b/wandb/run-20200127_150751-y1w180kc/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/wandb-history.jsonl b/wandb/run-20200127_150751-y1w180kc/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/wandb-metadata.json b/wandb/run-20200127_150751-y1w180kc/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150751-y1w180kc/wandb-summary.json b/wandb/run-20200127_150751-y1w180kc/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/config.yaml b/wandb/run-20200127_150938-yi0otqy5/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/diff.patch b/wandb/run-20200127_150938-yi0otqy5/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/output.log b/wandb/run-20200127_150938-yi0otqy5/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/requirements.txt b/wandb/run-20200127_150938-yi0otqy5/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/wandb-events.jsonl b/wandb/run-20200127_150938-yi0otqy5/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/wandb-history.jsonl b/wandb/run-20200127_150938-yi0otqy5/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/wandb-metadata.json b/wandb/run-20200127_150938-yi0otqy5/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_150938-yi0otqy5/wandb-summary.json b/wandb/run-20200127_150938-yi0otqy5/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/config.yaml b/wandb/run-20200127_151617-6htqx9qa/config.yaml old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/diff.patch b/wandb/run-20200127_151617-6htqx9qa/diff.patch old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/output.log b/wandb/run-20200127_151617-6htqx9qa/output.log old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/requirements.txt b/wandb/run-20200127_151617-6htqx9qa/requirements.txt old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/wandb-events.jsonl b/wandb/run-20200127_151617-6htqx9qa/wandb-events.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/wandb-history.jsonl b/wandb/run-20200127_151617-6htqx9qa/wandb-history.jsonl old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/wandb-metadata.json b/wandb/run-20200127_151617-6htqx9qa/wandb-metadata.json old mode 100644 new mode 100755 diff --git a/wandb/run-20200127_151617-6htqx9qa/wandb-summary.json b/wandb/run-20200127_151617-6htqx9qa/wandb-summary.json old mode 100644 new mode 100755 diff --git a/wandb/settings b/wandb/settings old mode 100644 new mode 100755