3 Replies
      Latest reply: Aug 17, 2017 11:01 PM by srikris RSS
      rmsmith Level 1 Level 1 (0 points)

        Hi, I have a very simple coreml script that works on the simulator but not on the real device. Using iOS11 Beta5 for both xcode and on the phone.

         

         

        'MTLTextureDescriptor has arrayLength (29952) greater than the maximum allowed size of 2048.'
        validateTextureDimensions:765: failed assertion `MTLTextureDescriptor has arrayLength (29952) greater than the maximum allowed size of 2048.'
        

         

        I have remade the project and used as simple neural network as possible to remove possibility of it being anything else. This is the network 3 fully connected dense layers with a softmax.

         

        input_data = Input(name='the_input', shape=(None,mfcc_features))
        x = Dense(fc_size, name='fc1', activation=relu)(input_data)
        x = Dense(fc_size, name='fc2', activation=relu)(x)
        x = Dense(fc_size, name='fc3', activation=relu)(x)
        y_pred = Dense(num_classes, name="y_pred", activation="softmax")(x)
        

         

        Any ideas? What differences are there between the simulator and the device with regards to coreml?

         

        thanks