We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9856520 commit 735df77Copy full SHA for 735df77
tests/README.md
@@ -18,10 +18,6 @@ pip install -r requirements.txt
18
19
# run tests
20
py.test
21
-
22
-# or to generate coverage
23
-pip install coverage
24
-coverage run tests/test_models.py
25
```
26
27
To test models that require GPU make sure to run the above command on a GPU machine.
@@ -46,4 +42,17 @@ For each set up it also tests:
46
42
4. simulated save from HPC signal.
47
43
5. simulated load from HPC signal.
48
44
45
+## Running Coverage
+
+```bash
+cd pytorch-lightning
49
50
+# generate coverage
51
+pip install coverage
52
+coverage run tests/test_models.py
53
54
+# print coverage stats
55
+coverage report -m
56
+```
57
58
0 commit comments