Skip to content

Commit

Permalink
Fixed missing pytorch.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhkhuc committed Jul 2, 2017
1 parent d699c24 commit 39902df
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
os:
- linux
language: python
python:
- "2.7"
- "3.6"
- 2.7
- 3.6
cache: bundler
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
pip install -q http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp27-none-linux_x86_64.whl;
else
pip install -q http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp36-cp36m-linux_x86_64.whl;
fi
- pip install -q torchvision
- pip install -q numpy==1.13.0
script:
- python 0_multiply.py
- 1_linear_regression.py
- 2_logistic_regression.py
- 3_neural_net.py
- 4_modern_neural_net.py
- 5_convolutional_net.py
- 6_lstm.py
- python 1_linear_regression.py
- python 2_logistic_regression.py
- python 3_neural_net.py
- python 4_modern_neural_net.py
- python 5_convolutional_net.py
- python 6_lstm.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/vinhkhuc/PyTorch-Mini-Tutorials.svg?branch=master)](https://travis-ci.org/vinhkhuc/PyTorch-Mini-Tutorials)
<!-- [![Build Status](https://travis-ci.org/vinhkhuc/PyTorch-Mini-Tutorials.svg?branch=master)](https://travis-ci.org/vinhkhuc/PyTorch-Mini-Tutorials) -->

Minimal tutorials for [PyTorch](https://github.com/pytorch/pytorch) adapted
from Alec Radford's [Theano tutorials](https://github.com/Newmu/Theano-Tutorials).
Expand Down

0 comments on commit 39902df

Please sign in to comment.