Commit d9b5327
committed
test: remove boilerplate and adjust parameters
- removed unnecessary “if __name__ == '__main__'” block
- changed second Trainer's max_epochs from 1 to 2
- reduced queue.get() timeout to 5 seconds for faster test execution
- deleted accidental extra trainer.fit() call1 parent 696257b commit d9b5327
File tree
1 file changed
+2
-6
lines changed- tests/tests_pytorch/loops
1 file changed
+2
-6
lines changedLines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
| 54 | + | |
56 | 55 | | |
57 | | - | |
58 | | - | |
59 | | - | |
0 commit comments