mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-07 05:18:12 +00:00
Update preprocess.py
This commit is contained in:
parent
906d74a268
commit
0ca2d8ce3a
@ -4,10 +4,10 @@ import numpy as np
|
|||||||
from PIL import Image, ImageOps
|
from PIL import Image, ImageOps
|
||||||
|
|
||||||
|
|
||||||
# Notice Preprocess class Must be named "Preprocess"
|
|
||||||
from clearml import StorageManager
|
from clearml import StorageManager
|
||||||
|
|
||||||
|
|
||||||
|
# Notice Preprocess class Must be named "Preprocess"
|
||||||
class Preprocess(object):
|
class Preprocess(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# set internal state, this will be called only once. (i.e. not per request)
|
# set internal state, this will be called only once. (i.e. not per request)
|
||||||
|
Loading…
Reference in New Issue
Block a user