use ignite for exp2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from pathlib import Path
|
||||
import tensorflow as tf
|
||||
from PIL import Image
|
||||
import numpy as np
|
||||
@@ -33,6 +34,7 @@ class Predict(object):
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = Predict()
|
||||
app.predict('./test_images/0.png')
|
||||
app.predict('./test_images/1.png')
|
||||
app.predict('./test_images/4.png')
|
||||
images_dir = Path(__file__).resolve().parent.parent / 'test_images'
|
||||
app.predict(images_dir / '0.png')
|
||||
app.predict(images_dir / '1.png')
|
||||
app.predict(images_dir / '4.png')
|
||||
|
||||
Reference in New Issue
Block a user