Caching MNIST dataset for testing (#917)

* Caching MNIST dataset for testing

* Added MNIST datset to the tests directory

* Caches dataset based off hash of the test.pt file

* Cleaned Up yml file

* Cleaned Up yml file

* Removed MNIST Data from framework

* Set cache key for dataset to 'mnist'

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
This commit is contained in:
Donal Byrne
2020-02-25 09:20:41 -05:00
committed by GitHub
co-authored by Jirka Borovec
parent ceec51d96c
commit 9854084136
+7
View File
@@ -37,6 +37,13 @@ jobs:
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-${{ matrix.python-version }}-
- name: Cache datasets
uses: actions/cache@v1
with:
path: tests/models/mnist # This path is specific to Ubuntu
# Look to see if there is a cache hit for the corresponding requirements file
key: mnist-dataset
- name: Install dependencies
run: |
# python -m pip install --upgrade --user pip