| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ Next run the build: | |||
| 51 | 51 | Finally run the tests: | |
| 52 | 52 | ||
| 53 | 53 | ``` | |
| 54 | - ./tests | ||
| 54 | + ./test | ||
| 55 | 55 | ``` | |
| 56 | 56 | ||
| 57 | 57 | Then submit your pull request, and you're all set! | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,14 @@ | |||
| 1 | + # This Dockerfile is a temporary solution to unblock the | ||
| 2 | + # community team by updating their library latest using | ||
| 3 | + # the latest python image. | ||
| 4 | + # This is needed until we resolved the issues with the | ||
| 5 | + # main build. | ||
| 6 | + | ||
| 7 | + # Usage: | ||
| 8 | + # docker build --rm -t kaggle/python-build -f kaggle_tools_update.Dockerfile . | ||
| 9 | + # ./test | ||
| 10 | + # ./push (if tests are passing) | ||
| 11 | + | ||
| 12 | + FROM gcr.io/kaggle-images/python:latest | ||
| 13 | + | ||
| 14 | + RUN pip install git+https://github.com/Kaggle/learntools | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,8 @@ | |||
| 15 | 15 | from keras.optimizers import SGD | |
| 16 | 16 | print("Keras ok") | |
| 17 | 17 | ||
| 18 | + # Test learntools | ||
| 19 | + | ||
| 18 | 20 | # PyTorch smoke test based on http://pytorch.org/tutorials/beginner/nlp/deep_learning_tutorial.html | |
| 19 | 21 | import torch | |
| 20 | 22 | import torch.nn as tnn | |
| Back | FazBrowse Home | New Git URL |
0 commit comments