gaolinorange / Automatic-Unpaired-Shape-Deformation-Transfer

SIGGRAPH ASIA 2018
Other
248 stars 44 forks source link

issue in LoadFeature.m and model.py #5

Open wdear opened 5 years ago

wdear commented 5 years ago
  1. LoadFeature.m I use _metric(modelfolder_a,modelfolderb) in matlabscript with my own model A and B to get the lightfield.mat as ABlfd.mat(if this was right), and got error:

Subscripted assignment dimension mismatch. in LoadFeature (line 39) FeatureVector(i,posArt) = LoadArt(artfile);

as well as the following 3 lines LoadFD, LoadCir and LoadEcc although results of ndims() on both sides of the ‘=’ are equal, so I couldn't figure out where went wrong.

  1. model.py I commented out 4 lines mentioned above and got ABlfd.mat, with togFeaturepoolingc.mat from get_feature17() for both A and B, run “python main.py --dataname_a A -dataname_b B” and got error:

..\python\model.py", line 125, in init name='a/L1') ValueError: Cannot create a tensor proto whose content is larger than 2GB.

Is this error possibly connected to the 4 lines I commented out? Those 4 lines seems only caculate the FeatureVector without changing size.

I'm new in matlab and tensorflow and may misunderstood these code. Any suggestion appreciated.