jiangzhongshi / SurfaceNetworks

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

error in main.py-> line 106/107 #5

Closed SimonPig closed 4 years ago

SimonPig commented 5 years ago

'Di.append(samples[ind]['Di']) DiA.append(samples[ind]['DiA'])': KeyError:'Di'

i looked into the samples and saw no elements named 'Di' nor 'DiA'... should them be 'V' and 'F' instead?

thank u ;)

jiangzhongshi commented 5 years ago

Hi Simon,

Which data are you using? MNIST or SpatioTemporal?

Best, Zhongshi

SimonPig commented 5 years ago

Thx for your rply, i only used MINST so far, and not quite get what Di/DiA indicates here Best regards, H

jiangzhongshi commented 5 years ago

Hi,

Firstly, Di/DiA means Dirac operator on meshes, you can refer to the paper for more details about it. For the MeshMNIST dataset, indeed there's no Di entry yet, and you need to run this first to generate them. Sorry for the confusion. I should try to add them to the dataset at some point. https://github.com/jiangzhongshi/SurfaceNetworks/blob/dev/src/mesh_mnist/add_laplacian.py

On the other hand, for other tasks Di/DiA are already there.

Best, Zhongshi