anilbas / 3DMMasSTN

MatConvNet implementation for incorporating a 3D Morphable Model (3DMM) into a Spatial Transformer Network (STN)
Apache License 2.0
279 stars 50 forks source link

can't find vl_nnbilinearsampler #3

Closed WangYanru-NJU closed 6 years ago

WangYanru-NJU commented 6 years ago

hi @anilbas,

Thanks for sharing the code!

I followed your readme to run the demo.m, but i can't find vl_nnbilinearsampler function. Could you please release that part of code?

sampler = vl_nnbilinearsampler(Images,grid); demo (line 131)

Thanks in advance!

patrikhuber commented 6 years ago

Hi @2013211543, vl_nnbilinearsampler is part of MatConvNet: http://www.vlfeat.org/matconvnet/mfiles/vl_nnbilinearsampler/. So I suspect that you didn't install MatConvNet correctly, maybe didn't run vl_setupnn or something like that.

WangYanru-NJU commented 6 years ago

Thank you, @patrikhuber, I have fixed my problem with your advice.