jiangzhongshi / SurfaceNetworks

Source code for CVPR 2018 Oral paper "Surface Networks"
91 stars 20 forks source link

Issues running main.py in mesh_mnist and main.py in dense_correspondence #3

Open qyzdao opened 5 years ago

qyzdao commented 5 years ago

In line 104 of main.py in mesh_mnist: Di.append(samples[ind]['Di']) It has errors as KeyError. But I couldn't understand where is 'Di' in samples which are training dataset.

In line 255~259 of main.py in dense_correspondence. It also has errors as log doesn't exist. I wonder how can I run the code without existing log files?

jiangzhongshi commented 5 years ago

Hi, Di is the Dirac operator, which is supposed to be included in the dataset, and can be generated from https://github.com/jiangzhongshi/SurfaceNetworks/blob/master/src/utils/mesh.py#L35

for dense_correspondence, it should create a new log if not exists (the open(file, 'a') flag), can you check what's the filename?