SurfaceNetworks icon indicating copy to clipboard operation
SurfaceNetworks copied to clipboard

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

Open qyzdao opened this issue 5 years ago • 1 comments

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?

qyzdao avatar May 28 '19 01:05 qyzdao

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?

jiangzhongshi avatar Jun 09 '19 15:06 jiangzhongshi