IBM / Graph2Seq

Graph2Seq is a simple code for building a graph-encoder and sequence-decoder for NLP and other AI/ML/DL tasks.
Apache License 2.0
237 stars 61 forks source link

slice index 0 of dimension 0 out of bounds. #11

Open sulisetyowidodo opened 1 year ago

sulisetyowidodo commented 1 year ago

Hi..

I have a problem when run this code "!python ./main/run_model.py train". im getting this error " ValueError: slice index 0 of dimension 0 out of bounds. for '{{node Decoder/strided_slice_1}} = StridedSlice[Index=DT_INT32, T=DT_INT32, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1](Decoder/Shape_1, Decoder/strided_slice_1/stack, Decoder/strided_slice_1/stack_1, Decoder/strided_slice_1/stack_2)' with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <0>, input[2] = <1>, input[3] = <1>."

Thanks.