jingweimo的个人博客分享 http://blog.sciencenet.cn/u/jingweimo

博文

Updating Theano 0.9.0 to 1.02

已有 2096 次阅读 2018-6-13 11:08 |系统分类:科研笔记

Updated as of 06/21/2018

  1. conda install numpy scipy mkl-service libpython m2w64-toolchain #dependencies 

    (Only the last 'libpython' and 'm2w64-toolchain' are needed actually for the anaconda distribtuion)(see https://github.com/Theano/Theano/issues/6614)

  2. pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git

  3. conda install pygpu 

  #conda install -c conda-forge pygpu #install pygpu-0.7.6

(Note: theano does not support python 3.6)


  1. import theano #test theano


    Using cuDNN version 5110 on context None
    Mapped name None to device cuda: GeForce 940M (0000:01:00.0)


Note .theanorc:

[global]
floatX = float32
device = cuda

[nvcc]
fastmath = True
compiler_bindir = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

[dnn]
library_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64
include_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include
enabled = True


As MILA will stop develop theano (https://groups.google.com/forum/#!msg/theano-users/7Poq8BZutbY/rNCIfvAEAwAJ), consider switching to Tensorflow as back engine next.  



https://wap.sciencenet.cn/blog-578676-1118730.html

上一篇:Caffe for faster rcnn (Win10+VS2013+Cuda7.5+Matlab2016b)
下一篇:Nonlinearity and loss function in multi-tasking problems
收藏 IP: 73.18.82.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-15 00:51

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部