Skip to content

Nov05/fastai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastai

PyTorch fastai - Practical Deep Learning

Versions

For fastai courses, use fastai 0.7.0

cd ~/fastai
source activate fastai (conda activate fastai)
conda install jupyter
conda env update
source deactivate (conda deactivate)
source activate fastai (condata activate fastai)
jupyter notebook
conda activate fastai
conda uninstall pytorch
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
conda install -c pytorch pytorch

Check Versions

Use the following code to check versions.

import torch
print("PyTorch version: ", torch.__version__)
print("CUDA Version: ", torch.version.cuda)
print("cuDNN version is: ", torch.backends.cudnn.version())
print('Device:', torch.device('cuda:0'))




P.S.

  • After seting up fastai for Windows 10, two "Jupyter Notebook" options can be found in the Start Menu.

  • To start the non-fastai environment, you can choose "Jupyter Notebook" in the Windows Start Menu, or simply type jupyter notebook in Anaconda. e.g. I got the following version information.

  • To start the fastai environment, you can choose "Jupyter Notebook (fastai)" in the Start Menu, or run the following code in Anaconda.
conda activate fastai
jupyter notebook

e.g. I got the following version information.

  • If you ran into error similar to "Found GPU0 GeForce GTX 950M which is of cuda capability 5.0.", update PyTorch version to later than 0.4.0 in the fastai environment with the method mentioned before.

e.g. I got the following version information after updating.

About

PyTorch fastai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published