nywang16 / Pixel2Mesh

Pixel2Mesh: Generating 3D Mesh Models from Single RGB Images. In ECCV2018.

Home Page:http://openaccess.thecvf.com/content_ECCV_2018/papers/Nanyang_Wang_Pixel2Mesh_Generating_3D_ECCV_2018_paper.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tensorflow.python.framework.errors_impl.InvalidArgumentError

shayan-h72 opened this issue · comments

Thanks a lot for open-sourcing your source code.
When I tried your train.py code, I have a runtime error. The error in line 70 of the train.py file:

_, dists, out1, out2, out3 = sess.run ([model.opt_op, model.loss, model.output1, model.output2, model.output3], feed_dict = feed_dict)

The error is:

tensorflow.python.framework.errors_impl.InvalidArgumentError: indices [0,7] = -1 is not in [0, 157) [[node GatherV2_12 (defined at /.cifar/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748)]]

Do you have any suggestions for solving it?