Closed cysmith closed 2 years ago
You are using the model2017-1_face12_nomouth
model which is just the face part of BFM 2017, which is not the correct file. As you use the face only mesh, the pre-computed indices exceed the number of vertices of the model. Instead, please use the full BFM 2017 model model2017-1_bfm_nomouth
.
I downloaded the models from the links as shown. The model file had a different name, so I updated in the code:
bfm_model = load_BFM_2017('./model/model2017-1_face12_nomouth.h5')
Then when I ran
python col_to_tex.py
, I get this error: