mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Other] Fix order of paddle and fastdeploy (#1451)
* Fix order of paddle and fastdeploy * update comment
This commit is contained in:
@@ -16,6 +16,14 @@ import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Note(zhoushunjie): Fix the import order of paddle and fastdeploy library.
|
||||
# This solution will be removed it when the confilct of paddle and
|
||||
# fastdeploy is fixed.
|
||||
try:
|
||||
import paddle
|
||||
except:
|
||||
pass
|
||||
|
||||
from .c_lib_wrap import (
|
||||
ModelFormat,
|
||||
Backend,
|
||||
|
Reference in New Issue
Block a user