Uploading a custom model to Limelight

I have created a custom model using the Limelight documentation instructions on neural networks and they say that in 2023.1 custom models will be able to be uploaded. However I am on 2023.1 OS and I am unable to upload my custom model and I don’t see anywhere on the Limelight website to upload the model. Has anybody else been able to get this working?

1 Like

I’m not very familiar with the limelight’s new classifier features, but I believe it requires a google coral accelerator plugged into the limelight USB port to be enabled.

This. Plus you need a limelight 3, as 2+ and older version did not have this feature.

1 Like

This works on the 2+ with the current dataset that was preloaded in the 2023 image. I believe the website docs are not up to date, as the custom model feature has been pushed to at least the next image.

This is written at the bottom of the 2023.1 announcement thread.
Nerual Net upload is being pushed to 2023.2!

Interesting, my understand was that you needed the google coral. Thanks for the correction!

You do need the google coral as well, but it’s not limited to the 3 only.

1 Like

For teams without a Coral, it is possible to evaluate ML models on an unaccelerated Raspberry Pi if it is exported in the right format. I’ve been testing Teachable Machines models that run at the same ~7.5 fps on an RPi 4 with or without the Coral attached. Axon object tracking models also work. Not blazing performance, but maybe adequate for a lot of uses.

I am documenting this process, but it is one of about six “should have been an offseason” projects on my desk right now.



Hi, I’m trying to upload the neural network and it says the model and labels has been uploaded but it still is using the built-in model and labels.

Did you unzip the model before uploading the two files separately?

Can you try switching pipelines and switching back in the web UI?

You can send the files to me for testing w/ google drive if something seems wrong!

Yes I tried both of these and the upload still is not working.

This is the link to my labels
This is the link to my model
You can test these out, maybe I’m just doing something wrong

1 Like

It works and seems to perform pretty well in my limited testing! Can you try uploading the labels file first, and then the model file?
Edit - Maybe you are using the detection pipeline instead of the classifier pipeline? Make sure you’re set to “classifier.”

Is detector not supported yet? We are getting the same results, only classifier works with the model and labels.

You have to update the Limelight Software to 2023.3 or higher to be able to upload a custom neural network. As for uploading, you have to open the Limelight Dashboard once the Limelight is connected to the RoboRIO and you have to specify the type to a Classifier or Detector which then gives you the option to upload the model and a label map.