fix docker

This commit is contained in:
Daniel Gatis 2023-06-29 21:20:45 -03:00
parent a9026d02e0
commit acc526fbaf

View File

@ -23,13 +23,7 @@ class U2netCustomSession(BaseSession):
if model_path is None:
raise ValueError("model_path is required")
super().__init__(
model_name,
sess_opts,
providers,
*args,
**kwargs
)
super().__init__(model_name, sess_opts, providers, *args, **kwargs)
def predict(self, img: PILImage, *args, **kwargs) -> List[PILImage]:
ort_outs = self.inner_session.run(