This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # the sphinx extension 'sphinx.ext.viewcode' links documentation to an online | |
| # code repository but requires to bind the code to the url through a user | |
| # specific `linkcode_resolve` function. This implementation should be fairly | |
| # generic and easily adaptable. | |
| # | |
| # License: Public Domain, CC0 1.0 Universal (CC0 1.0) | |
| import sys | |
| import os | |
| import subprocess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from lasagne.layers import BatchNormLayer, NonlinearityLayer, Conv2DLayer, \ | |
| DropoutLayer, ElemwiseSumLayer, GlobalPoolLayer | |
| from lasagne.nonlinearities import rectify | |
| from lasagne.init import HeNormal | |
| def wide_resnet(l_in, d, k, dropout=0.): | |
| """Build a Wide-Resnet WRN-d-k [Zagoruyko2016]_ | |
| Parameters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ nosetests . | |
| Using cuDNN version 7005 on context None | |
| Preallocating 9494/11170 Mb (0.850000) on cuda1 | |
| Mapped name None to device cuda1: GeForce GTX 1080 Ti (0000:03:00.0) | |
| EEE | |
| ====================================================================== | |
| ERROR: test_forward_backward (test_ctc.TestCTC) | |
| -------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM nvidia/cuda:8.0-cudnn5-devel | |
| WORKDIR /root | |
| RUN apt-get update | |
| RUN apt-get upgrade -y | |
| RUN apt-get install -y --no-install-recommends openssl ca-certificates \ | |
| git-core cmake curl wget unzip gfortran libreadline-dev ncurses-dev \ | |
| libgoogle-glog-dev libboost-dev libboost-thread-dev libopenblas-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM nvidia/cuda:8.0-cudnn5-devel | |
| RUN apt-get update | |
| RUN apt-get upgrade -y | |
| RUN apt-get install -y --no-install-recommends openssl ca-certificates \ | |
| git-core cmake curl wget unzip gfortran libreadline-dev ncurses-dev \ | |
| libgoogle-glog-dev libboost-dev libboost-thread-dev libopenblas-dev | |
| # Core Torch packages | |
| RUN git clone https://github.com/torch/luajit-rocks.git |
NewerOlder