Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indices[3304] = [2, 44, 112] does not index into param shape [3,112,112,32] #16

Open
camelliawb opened this issue Nov 22, 2020 · 5 comments

Comments

@camelliawb
Copy link

Hi!When I run step3 train_p2mpp.py I got error:
2020-11-22 17:39:06.603485: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at gather_nd_op.cc:50 : Invalid argument: indices[3304] = [2, 44, 112] does not index into param shape [3,112,112,32]
2020-11-22 17:39:06.608624: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at gather_nd_op.cc:50 : Invalid argument: indices[3304] = [2, 45, 112] does not index into param shape [3,112,112,32]
2020-11-22 17:39:06.681729: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at gather_nd_op.cc:50 : Invalid argument: indices[3304] = [2, 23, 56] does not index into param shape [3,56,56,64]
2020-11-22 17:39:06.684780: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at gather_nd_op.cc:50 : Invalid argument: indices[3304] = [2, 22, 56] does not index into param shape [3,56,56,64]
Traceback (most recent call last):
File "/home/fullo/.conda/envs/p2mplus/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/home/fullo/.conda/envs/p2mplus/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/fullo/.conda/envs/p2mplus/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[3304] = [2, 44, 112] does not index into param shape [3,112,112,32]
[[{{node graph_localproj_1_layer_1/GatherNd_29}} = GatherNd[Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](meshnet/pixel2mesh/cnn/conv2d_5/Relu, graph_localproj_1_layer_1/stack_47)]]

I try google but I get any useful information.Can you help me?

@walsvid
Copy link
Owner

walsvid commented Nov 23, 2020

I'm sorry, but it's also hard for me to judge what is wrong from the information you gave. I would suggest that you can check that the tensor associated with the projection has the correct shape, and the version of TensorFlow used is consistent with README.

@camelliawb
Copy link
Author

Hi,now I met a new problem,when I train step1, I used about one week,when I train step3 I need to spend about one month I think,I use the dataset you provide, I don't know what's wrong,can you help me ? @walsvid

@walsvid
Copy link
Owner

walsvid commented Jan 28, 2021

Hi,now I met a new problem,when I train step1, I used about one week,when I train step3 I need to spend about one month I think,I use the dataset you provide, I don't know what's wrong,can you help me ? @walsvid

Hi @camelliawb , the training should not be so slow, maybe you can check if you are using GPU, generally speaking the training can be finished within 30+ hours or so.

@Yangleyang
Copy link

Hi, I would like to know how you solved your problem

@tPPMc-cs
Copy link

@camelliawb @walsvid @Yangleyang Hi, I encountered the same error, could you tell me how you solved your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants