yfeng95 / PRNet

Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network (ECCV 2018)
http://openaccess.thecvf.com/content_ECCV_2018/papers/Yao_Feng_Joint_3D_Face_ECCV_2018_paper.pdf
MIT License
4.95k stars 947 forks source link

Resolve undefined name 'image' in utils/render.py #25

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/YadiraF/PRNet on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./utils/render.py:362:17: F821 undefined name 'image'
    [h, w, _] = image.shape
                ^
1     F821 undefined name 'image'
1
yfeng95 commented 6 years ago

I forgot to modify this func, thanks again!