From 68cc383f41eadf5ff546f2389afdddce9b827bce Mon Sep 17 00:00:00 2001 From: yinhaofeng <1841837261@qq.com> Date: Thu, 17 Sep 2020 02:05:53 +0000 Subject: [PATCH] preprocess support py2 --- models/match/dssm/data/preprocess.py | 2 +- models/match/multiview-simnet/data/preprocess.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/match/dssm/data/preprocess.py b/models/match/dssm/data/preprocess.py index 3423120e..c2a41051 100644 --- a/models/match/dssm/data/preprocess.py +++ b/models/match/dssm/data/preprocess.py @@ -1,3 +1,4 @@ +#encoding=utf-8 # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -11,7 +12,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -#encoding=utf-8 import os import sys diff --git a/models/match/multiview-simnet/data/preprocess.py b/models/match/multiview-simnet/data/preprocess.py index d369fabd..4c0fb090 100644 --- a/models/match/multiview-simnet/data/preprocess.py +++ b/models/match/multiview-simnet/data/preprocess.py @@ -1,3 +1,4 @@ +#encoding=utf-8 # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -11,7 +12,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -#encoding=utf-8 import os import sys -- GitLab