You are browsing as a guest. Sign up (or log in) to start making projects!

AI collision detector

  • 2 Devlogs
  • 3 Total hours

This transfomer based ai model can detect any type of collisions including the camera being collided itself and uses cross-layer entropy for better detection in any scenario like e.g; A fast ball colliding.

Ship #1 Changes requested

I have made a AI collsion detector which can detect colssions and do the object tracking too. its use can be tweaked and changed too.I have coded this in python and us ed the architecture transfomers for it and also used open cv for the main camera use while running the model and making this model was hard too beucase after making the model and then training it on google colab there were many dimesion matching errors and the time history errors of the open cv and etc more but I did evnetually fix it and got the model weigths and then made the github repo which ahs evrything from the library needed to run the model and the traning code but its not needed as i have also kept the model weights folder and also the code to run the model

  • 2 devlogs
  • 3h
Try project → See source code →
Open comments for this post

30m 14s logged

i have made the more changes need for a better readbality and some chnages for better warning statements and a better bias ratio in the code so the ai model detects much better wihtout being too senstive and the github repo is all done mostly too any updates i will post a devlog and change it.

i have made the more changes need for a better readbality and some chnages for better warning statements and a better bias ratio in the code so the ai model detects much better wihtout being too senstive and the github repo is all done mostly too any updates i will post a devlog and change it.

Replying to @shivamgupta_official13

0
13
Open comments for this post

2h 22m 58s logged

Hi ,I was working on a transformer based Ai model which is an time series sequence classifier with also using and encoder and decoder .this time series transformer unlike other models like gpt which are decoder only and basic vision models use encoder only ,my model uses both halves and the encoder ingests the past values and processes 15 frame history matrix of coordinates (x,y,area) to check for the speed,patterns and movement contexts while the decoder takes the multi head attention map outputted by the encoder and cacultes what state it looks like in edge of impact or futute_state also and also uses cross-layer entropy loss or the weigthed croos layer entropy loss in my training code to take and check the diffrence between what the model thinks and waht the label is (collision,warn,safe) and it penalized the model heavily if it is confident in a wrong answer or a prediction. you can also see a picture below of my rc car crashing into the wall and see it flags it as a collision.you can also try out my model by visting my project repository and look at the instructions and in depth detail of my project and the Ai model.

Hi ,I was working on a transformer based Ai model which is an time series sequence classifier with also using and encoder and decoder .this time series transformer unlike other models like gpt which are decoder only and basic vision models use encoder only ,my model uses both halves and the encoder ingests the past values and processes 15 frame history matrix of coordinates (x,y,area) to check for the speed,patterns and movement contexts while the decoder takes the multi head attention map outputted by the encoder and cacultes what state it looks like in edge of impact or futute_state also and also uses cross-layer entropy loss or the weigthed croos layer entropy loss in my training code to take and check the diffrence between what the model thinks and waht the label is (collision,warn,safe) and it penalized the model heavily if it is confident in a wrong answer or a prediction. you can also see a picture below of my rc car crashing into the wall and see it flags it as a collision.you can also try out my model by visting my project repository and look at the instructions and in depth detail of my project and the Ai model.

Replying to @shivamgupta_official13

0
3

Followers

Loading…