R-DFPN_FPN_Tensorflow icon indicating copy to clipboard operation
R-DFPN_FPN_Tensorflow copied to clipboard

InvalidArgumentError (see above for traceback): input must have at least k columns

Open DL-ljw opened this issue 6 years ago • 4 comments

When I use SAR images, I got the following error. Can you help me to solve it? InvalidArgumentError (see above for traceback): input must have at least k columns [[Node: rpn_losses/TopKV2 = TopKV2[T=DT_FLOAT, sorted=true, _device="/job:localhost/replica:0/task:0/cpu:0"](rpn_losses/strided_slice_2/_4989, rpn_losses/TopKV2/k)]] [[Node: fast_rcnn_predict/fast_rcnn_proposals/cond/Slice/_4787 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_7827_fast_rcnn_predict/fast_rcnn_proposals/cond/Slice", tensor_type=DT_INT64, _device="/job:localhost/replica:0/task:0/gpu:0"]]

Process finished with exit code 1

DL-ljw avatar Apr 16 '18 10:04 DL-ljw

Comment the topk's summary related code.

yangxue0827 avatar Apr 24 '18 09:04 yangxue0827

@DL-ljw I encountered the same problem. Have you solved it?

tsing-cv avatar Jun 29 '18 01:06 tsing-cv

The same problem. When I train the network at step 301, the problem occurs.

W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: input must have at least k columns

@DL-ljw @tsing-cv @yangxue0827 have you guys solved this problem? Thanks.

kealennieh avatar Oct 26 '18 07:10 kealennieh

@DL-ljw @tsing-cv @yangxue0827 have you guys solved this problem? Thanks.

GuoleiSun avatar May 14 '19 10:05 GuoleiSun