We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044cd01 commit ffac295Copy full SHA for ffac295
paddlex/inference/__init__.py
@@ -12,14 +12,16 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-from ..utils import flags
+from ..utils import logging
16
from ..utils.flags import USE_NEW_INFERENCE, NEW_PREDICTOR
17
18
if USE_NEW_INFERENCE:
19
+ logging.warning("=" * 20 + " Using pipelines_new " + "=" * 20)
20
from .pipelines_new import create_pipeline
21
else:
22
from .pipelines import create_pipeline
23
if NEW_PREDICTOR:
24
+ logging.warning("=" * 20 + " Using models_new " + "=" * 20)
25
from .models_new import create_predictor
26
27
from .models import create_predictor
0 commit comments