Forums - [TensorFLow] RuntimeWarning: error_code=1004; error_message=Layer parameters combination is invalid.

1 post / 0 new
[TensorFLow] RuntimeWarning: error_code=1004; error_message=Layer parameters combination is invalid.
zhangjianbang1102
Join Date: 3 Aug 17
Posts: 1
Posted: Fri, 2017-11-03 10:51
Hello,
I am trying to convert a pretrained TensorFlow InceptionV3 to dlc. The net strucutre this https://github.com/tensorflow/models/blob/master/research/slim/nets/ince...
But I see an error "RuntimeWarning: error_code=1004; error_message=Layer parameters combination is invalid. Layer InceptionV3/InceptionV3/Mixed_7a/concat: input InceptionV3/InceptionV3/Mixed_7a/Branch_2/MaxPool_1a_3x3/MaxPool:0 has size 4 along axis 0, should match output dim (3); error_component=Model Validation; line_no=516; thread_id=140619388966656
  descriptor.axis)"
 
I don't understand what the converter complaining b/c there is nothing wrong with net atchitecture otherwise it would have complained by TensorFLow when I trained. I can train this model without problem for sure.
 
And also even more strange, in https://github.com/tensorflow/models/blob/master/research/slim/nets/ince...,  Mixed_6a has the same block deisgn as MIxed_7a and I don't see the converter complains Mixed_6a
 
Can anyone help?
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.