未验证 提交 6ffa0c6c 编写于 作者: G Guanghua Yu 提交者: GitHub

set deploy python path (#1723)

上级 d30443c2
......@@ -12,7 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os, sys
# add python path of PadleDetection to sys.path
parent_path = os.path.abspath(os.path.join(__file__, *(['..'] * 3)))
if parent_path not in sys.path:
sys.path.append(parent_path)
import argparse
import time
import yaml
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册