Before doing anything else, install those:
- VirtualBox: https://www.virtualbox.org/wiki/Downloads
- Vagrant: https://www.vagrantup.com/downloads.html
- git: http://git-scm.com/download/win
| def kernel_images(name, x, pad=1, max_images=-1, summarize=True): | |
| """Create image summaries of 2d convolution kernel weights.""" | |
| def factorization(n): | |
| """Calculates kernel grid dimensions.""" | |
| for i in range(int(sqrt(float(n))), 0, -1): | |
| if n % i == 0: | |
| return i, n // i | |
| with tf.name_scope(name): |
| license: gpl-3.0 |
Before doing anything else, install those: