Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View darthdeus's full-sized avatar

Jakub Arnold darthdeus

View GitHub Profile
# This file is a template for a new experiment.
# It specifies how the experiment is to be created,
# but does not hold its state.
# Name of the experiment
name: {{experiment_name}}
# A List of hyperparamters to be tuned.
hyperparameters:
# Each hyperparameter needs to specify:
import tensorflow as tf
tf.reset_default_graph()
input = tf.placeholder(dtype=tf.float32, shape=None)
def encoder(x):
return x*x
def decoder(x):
@darthdeus
darthdeus / bednarek-testbed.hpp
Created December 23, 2018 00:57
when you otevres bednarkuv kod and generic_generator appears
template< typename SP, typename SQ>
class abstract_generator {
public:
virtual ~abstract_generator() {}
void label( logger & log) const { label_( log); }
template< bool debug>
void run( logger & log, const SP & sp, const SQ & sq) const
{
if ( debug )
run_debug_( log, sp, sq);
ATGCATCACCACCATCACCACGGCAGCGATAGCGAAGTTAACCAAGAGGCGAAACCTGAAGTTAAGCCAGAAGTCAAACCGGAAACCCACATTAATCTGAAAGTGTCCGACGGCAGCAGCGAGATCTTCTTCAAGATCAAAAAGACCACGCCGCTGCGTCGCCTGATGGAAGCTTTTGCGAAGCGTCAGGGTAAAGAAATGGACTCTCTGACCTTTCTGTATGACGGTATCGAGATCCAAGCCGATCAGACGCCGGAAGATTTGGACATGGAAGATAATGACATTATTGAAGCGCATCGTGAGCAAATTGGTGGCGAGAACCTGTACTTCCAGGGTGGCGGCCCGCGCCTGCGCGAAGTATTGAGCAGACTGAGCCTGGGCCGTCAAGATGTTTCCGAGGCATCGGGCTTGGTTAATCAAGTCGTGAGCCAGCTGATCCAGGCCATTCGTAGCCAAGAAGGCTCCTTTGGCAGCATTGAGCGTCTGAATACCGGTAGCTATTACGAACATGTCAAAATCAGCGAACCGAACGAATTTGACATTATGCTGGTTATGCCGGTTAGCCGCCTTCAATTGGACGAGTGTGACGATACGGGTGCGTTCTATTATCTGACCTTTAAACGTAATAGCAAAGATAAGCACTTGTTCAAGTTTCTGGATGAAGATGGCAAGCTGAGCGCGTTCAAGATGCTGCAGGCACTGCGTGACATCATCAAACGTGAAGTCAAGAATATCAAAAATGCAGAGGTCACCGTCAAGCGTAAAAAAGCTGGCAGCCCGGCGATTACGCTGCAAATCAAAAACCCGCCGGCCGTGATCAGCGTTGATATTATCCTGACTCTGGAACCACAACAAAGCTGGCCGCCGTCTACCCAGGACGGCCTGAAAATTGAGAAATGGCTGGGTCGCAAAGTGCGTGGTCAGTTCCGTAACAAGTCACTGTATTTGGTTGCGAAGCAAAACAAGCGCGAAAAAGTTCTGCGCGGTAACACGTGGCGCATTAGCTTTAGCCATATTGAAAAAG
$ bazel build --jobs=12 --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --verbose_failures @93bc2e2072
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/protobuf_archive/WORKSPACE:1: Workspace name in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/protobuf_archive/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@protobuf_archive); this will cause a build error in future versions
WARNING: /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/WORKSPACE:1: Workspace name in /home/darth/.cache/bazel/_bazel_darth/08554d152596e5a7df399506682a63f3/external/grpc/WORKSPACE (@com_github_grpc_grpc) does not match the name given in the repository's definition (@grpc); this will cause a bui
@darthdeus
darthdeus / min-char-rnn.py
Created March 16, 2018 17:09 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)

EVA 2

  • Eiben, Smith: Intro to Evolutionary Computing
  • Michalewitz: GA + DS = EP
  • Mitchell: Intro to GA
  • Field Guide to GP (FREE!)
  • Koza: NECIST

Multiagentni systemy

(tf-35) c:\dev>python check_blas.py
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release (v0.10). Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
Using gpu device 0: GeForce GTX 1080 Ti (CNMeM is disabled, cuDNN 6021)
C:\dev\Anaconda2\envs\tf-35\lib\site-packages\theano\sandbox\cuda\__init__.py:631: UserWarning: Your cuDNN version is more recent than the one Theano officially supports. If you see any problems, try updating Theano or downgrading cuDNN to version 5.1.
warnings.warn(warn)
Some results that you can compare against. They were 10 executions
of gemm in float64 with matrices of shape 2000x2000 (M=N=K=2000).
[ 22.408]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 22.408] X Protocol Version 11, Revision 0
[ 22.408] Build Operating System: Linux 4.9.11-1-ARCH x86_64
[ 22.408] Current Operating System: Linux prdik 4.10.10-1-ARCH #1 SMP PREEMPT Wed Apr 12 18:50:28 CEST 2017 x86_64
[ 22.408] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=fe76a81e-c658-4e4a-90eb-852136f5021c rw quiet
[ 22.409] Build Date: 07 April 2017 05:42:48PM
[ 22.409]
[ 22.409] Current version of pixman: 0.34.0
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
Subsystem: Acer Incorporated [ALI] Device 1051
Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: Acer Incorporated [ALI] Device 1051
Kernel driver in use: i915
Kernel modules: i915