Patribots4738 / Crescendo2024

The digital home of The Patribots FRC Team 4738's code for Crescendo (2024)
Other
7 stars 1 forks source link

Configure Dataset for coral with a note using better data than what is currently publicly available #7

Closed Jacob1010-h closed 8 months ago

Jacob1010-h commented 9 months ago

This includes Tuning and proper calibration with updated data

Jacob1010-h commented 9 months ago

The issue we ran into last night seems to be due to the sheer size of the dataset we are dealing with here. I've found a different way to do it, and would like to show it to you @YoungChadawan later today

Jacob1010-h commented 9 months ago

I'm on the right track, but more will be done later today, there are some bugs with the python code right now which I need to look over. However once I get it working, this should be a very good ai model 😃 (9,000+ images training, and abt 25,000+ total)

Jacob1010-h commented 9 months ago

Currently an issue with tenserflow updating their stuff to version 2 https://colab.research.google.com/drive/1adWIOWY9Ga_uUUq92FBnsvlC2uAqBjp7?usp=sharing

PatribotsProgramming commented 9 months ago

Running into errors using your linked colab on exporting the trained inference graph. Started using https://colab.research.google.com/github/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/blob/master/Train_TFLite2_Object_Detction_Model.ipynb#scrollTo=tQTfZChVzzpZ which has an outdated TensorFlow. Going back to your linked one however it is not detecting the label map for some reason will have to figure out why

YoungChadawan commented 9 months ago

Having trouble training the model. Keep getting the error "ModuleNotFoundError: No module named 'tensorflow_io'". I believe this has something to do with the dataset URLs I am giving it in prepare data. As of now I have given both the COCO link but it does say to do Tensorflow record for the first and COCO for the 2nd. However, that does not seem to work either.

Jacob1010-h commented 9 months ago

We are going to go back to a working dataset for the notes right now, and then when something is updated with the tflite models then we will take a look

Jacob1010-h commented 8 months ago

https://datasetcolab.com/models

Jacob1010-h commented 8 months ago

Then we export to TF lite!!

Jacob1010-h commented 8 months ago

https://docs.ultralytics.com/yolov5/tutorials/model_export/?h=to+tf

YoungChadawan commented 8 months ago

Took them long enough

GalexY727 commented 8 months ago

me when i brick my limelight