yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.68k stars 615 forks source link

An error is reported on line 100 of generate.m #90

Open pfeducode opened 2 years ago

pfeducode commented 2 years ago

An error is reported on line 100 of generate.m. "copyfile('3ddfa/pncc_code.mat', 'Out/pncc_code.mat')". I checked the MATLAB syntax and found that when the second parameter of copyfile is a file, the first parameter must be a folder。 https://ww2.mathworks.cn/help/matlab/ref/copyfile.html#bvigrz6-1

pfeducode commented 2 years ago

it work well when I use "copyfile( 'Out/pncc_code.mat','3ddfa/pncc_code.mat')" , my matlab version is R2021b