Roboflow template in Lens Studio

Options

Hello,

I’m trying to scope out the possibilities for using Roboflow in combination with Lens Studio but i’m running into some issues. At first i assumed i did something wrong training my model, however the same issues is there in the Lens Studio example project from this livestream of Roboflow and Snap:
Livestream video: https://www.youtube.com/watch?v=ggb2R6J2Z4M&t=3304s
Template download: https://media.roboflow.com/lens.zip

The project runs in Lens Studio but when i deploy to a mobile device i get the following error in Snapchat: "Error: Shape value cannot be 0" originating in the DetectionHelpersModule.js line 59.

When i select the ML model in Lens Studio i can see the Compability Table which has a bunch of things not supported. Layers like Concat / Constant / Permuta / Reshape / Split.

I’m using Lens Studio version 4.55 on a Windows PC. On the models i trained with Roboflow myself i get the same error on mobile device. If anyone has an idea of how to fix this that would be much appreciated.

Mobile devices:
iPhone 14 Pro iOS 17.2 Snapchat 12.64.0.39
Samsung Galaxy S20 Snapchat 12.64.0.42

Cheers,

Leon

Answers

  • Valerii Pidhurskyi
    Options

    I encountered exactly the same problem as here, when not a single model from Roboflow runs on the phone. Over a month has passed, but no positive changes have occurred :'(

  • ch Usama Naeem
    Options

    @Valerii Pidhurskyi said:
    I encountered exactly the same problem as here, when not a single model from Roboflow runs on the phone. Over a month has passed, but no positive changes have occurred :'(

    this can happen