mirror of
https://github.com/clearml/clearml-serving
synced 2025-01-31 02:46:54 +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
|
||||
|
||||
|
||||
# Notice Preprocess class Must be named "Preprocess"
|
||||
from clearml import StorageManager
|
||||
|
||||
|
||||
# Notice Preprocess class Must be named "Preprocess"
|
||||
class Preprocess(object):
|
||||
def __init__(self):
|
||||
# set internal state, this will be called only once. (i.e. not per request)
|
||||
|
Loading…
Reference in New Issue
Block a user