From be04c3391255f21917a9d7bc68c2aee35f2c948b Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Thu, 21 Nov 2024 19:59:19 +0800 Subject: [PATCH] fix --- modelscope/pipelines/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modelscope/pipelines/base.py b/modelscope/pipelines/base.py index 1495eaee..dc51b50a 100644 --- a/modelscope/pipelines/base.py +++ b/modelscope/pipelines/base.py @@ -197,7 +197,9 @@ class Pipeline(ABC): # simple showcase, need to support iterator type for both tensorflow and pytorch # input_dict = self._handle_input(input) - + print('__call__') + print(input) + print(kwargs) # sanitize the parameters batch_size = kwargs.pop('batch_size', None) preprocess_params, forward_params, postprocess_params = self._sanitize_parameters(