Skip to content

BaronYSYong/fast-ai-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast AI Tutorial

Reference

Lesson 1: Image Recognition

Get data

Kaggle CLI

Arrange data

$ sh arrange_data.sh

Reference

Memo to train model by using GPU

  • modify ~/.theanorc
[global]
floatX = float32
device = gpu
optimizer = fast_run

[lib]
cnmem = 0.8

[nvcc]
fastmath = True

[blas]
ldflags = -llapack -lblas
  • modify ~/.keras/keras.json
{
    "image_dim_ordering": "tf", 
    "epsilon": 1e-07, 
    "floatx": "float32", 
    "backend": "tensorflow"
}
  • change "tf" to "th"
  • change "tensorflow" to "theano"
  • "tf" = tensorflow
  • "th" = theano
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64
$ export CUDA_HOME=/usr/local/cuda-8.0
$ export PATH=$PATH:/usr/local/cuda-8.0/bin

About

Tutorial from fast AI course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published