提交 7366a63b 编写于 作者: C chenjian

fix according to review

上级 45eef069
import numpy as np
import os import os
from skimage.io import imread, imsave
from skimage.transform import estimate_transform, warp
from time import time from time import time
import numpy as np
import paddle import paddle
from skimage.io import imread
from skimage.io import imsave
from skimage.transform import estimate_transform
from skimage.transform import warp
from .predictor import PosPrediction from .predictor import PosPrediction
......
...@@ -11,23 +11,25 @@ ...@@ -11,23 +11,25 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import os
import argparse import argparse
import copy import copy
import os
import paddle
import paddlehub as hub
from paddlehub.module.module import moduleinfo, runnable, serving
import numpy as np
import cv2 import cv2
import numpy as np
import paddle
from skimage.io import imread from skimage.io import imread
from skimage.transform import rescale, resize from skimage.transform import rescale
from skimage.transform import resize
from .util import base64_to_cv2 import paddlehub as hub
from .api import PRN
from .predictor import PosPrediction from .predictor import PosPrediction
from .util import base64_to_cv2
from .utils.render import render_texture from .utils.render import render_texture
from .api import PRN from paddlehub.module.module import moduleinfo
from paddlehub.module.module import runnable
from paddlehub.module.module import serving
@moduleinfo(name="prnet", type="CV/", author="paddlepaddle", author_email="", summary="", version="1.0.0") @moduleinfo(name="prnet", type="CV/", author="paddlepaddle", author_email="", summary="", version="1.0.0")
......
import base64 import base64
import cv2 import cv2
import numpy as np import numpy as np
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册