FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add pytorch-ignite with test · HpcDataLab/docker-python@65069cb · GitHub

Repository navigation

Commit 65069cb

Browse files
committed
Add pytorch-ignite with test
1 parent 2cac9bf commit 65069cb

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ RUN pip install flashtext && \
481481
pip install plotly_express && \
482482
pip install albumentations && \
483483
pip install allennlp && \
484+
pip install pytorch-ignite && \
484485
/tmp/clean-layer.sh
485486

486487
# Tesseract and some associated utility packages

‎tests/test_pytorch_ignite.py‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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])

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL