gmalivenko / pytorch2keras

PyTorch to Keras model convertor
https://pytorch2keras.readthedocs.io/en/latest/
MIT License
858 stars 143 forks source link

tensorflow.python.framework.errors_impl.InvalidArgumentError: cannot compute ConcatV2 as input #1(zero-based) was expected to be a int64 tensor but is a int32 tensor [Op:ConcatV2] name: concat #109

Open suven2019 opened 4 years ago

suven2019 commented 4 years ago

Feature request tensorflow.python.framework.errors_impl.InvalidArgumentError: cannot compute Con catV2 as input #1(zero-based) was expected to be a int64 tensor but is a int32 t ensor [Op:ConcatV2] name: concat

suven2019 commented 4 years ago

i have no idea,help me

suven2019 commented 4 years ago

File "/home/sw/anaconda3/lib/python3.7/site-packages/onnx2keras/reshape_layers.py", line 206, in convert_reshape raise AttributeError('Can\'t reshape dynamic size.') AttributeError: Can't reshape dynamic size.