| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -481,6 +481,7 @@ RUN pip install flashtext && \ | |||
| 481 | 481 | pip install plotly_express && \ | |
| 482 | 482 | pip install albumentations && \ | |
| 483 | 483 | pip install allennlp && \ | |
| 484 | + pip install pytorch-ignite && \ | ||
| 484 | 485 | /tmp/clean-layer.sh | |
| 485 | 486 | ||
| 486 | 487 | # Tesseract and some associated utility packages | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + import unittest | ||
| 2 | + | ||
| 3 | + from ignite.engine import Engine | ||
| 4 | + | ||
| 5 | + | ||
| 6 | + class TestPytorchIgnite(unittest.TestCase): | ||
| 7 | + def test_engine(self): | ||
| 8 | + | ||
| 9 | + def update_fn(engine, batch): | ||
| 10 | + pass | ||
| 11 | + | ||
| 12 | + engine = Engine(update_fn) | ||
| 13 | + engine.run([0, 1, 2]) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments