{"id":160,"date":"2022-12-11T04:21:23","date_gmt":"2022-12-11T04:21:23","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/?p=160"},"modified":"2022-12-21T15:14:02","modified_gmt":"2022-12-21T15:14:02","slug":"aditis-status-update-12-10","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/2022\/12\/11\/aditis-status-update-12-10\/","title":{"rendered":"Aditi&#8217;s Status Update 12\/10"},"content":{"rendered":"<p>This was a very eventful week for me. I spent over 24 hours this week working on various aspects of the project.<\/p>\n<p>On Monday, I gave our final presentation.\u00a0 Later in the week, I\u00a0<span style=\"font-weight: 400\">tested hosting both the web server and camera on the Jetson which worked as expected. Once I had completed that I te<\/span><span style=\"font-weight: 400\">sted our pipeline with live video footage. I found that our object detection algorithm was quite good at detecting chairs but was too sensitive and mistakenly marked a backpack as a chair.\u00a0 Keeping this in mind, I wrote a script to capture images with extra chairs to serve for test images for later. I was able to do this as I knew how many chairs I expected it to find. After this, I brainstormed how we might fix this issue. I looked into some inference parameters first and tried playing with the confidence threshold, NMS IOU threshold (which dictates how closes 2 bounding boxes can be before being considered as the same object) and lastly the model classes. Playing with the confidence threshold and NMS IOU did not make a significant impact but using model classes increased the confidence in chairs and people which was a helpful asset. That being said, the output classes for our custom trained model only looked for people, chairs and tables. I had a feeling that the algorithm was still identifying objects as we had frozen most of the earlier layers but since it only had 3 classification options it was trying to fit the object to one of the classes. With this in mind, I re-annotated our custom dataset to match all the classified objects in COCO including backpacks and laptops. I additionally tried to see if there were other dataset with less classes but had the classes we were looking for and found that possibly using PASCAL&#8217;s VOC dataset may be a better fit. I tried training with an increased number of classes with the relabelled data but my initial results gave undesirable results. I also wrote our sample thresholding algorithm.\u00a0<\/span><\/p>\n<p>Later on in the week, I tried integrating the 2 cameras.\u00a0 I got both cameras working with the pipeline separately but when I ran them at the same time the Jetson was taking a very long time to load the model. I used a resource called jetson stats to monitor the activity on the Jetson and found that the CPU&#8217;s and GPU&#8217;s were not being overloaded but the memory was maxing out. After reading a little bit more I figured I might have to switch from PyTorch inference to TensorRT or DeepStream. I spent 5+ hours on Saturday working on this but managed to get YOLOv5 working with TensorRT. I will need to port our code to work with TensorRT but I am quite proud of this accomplishment along with everything else I managed to get done this week.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a very eventful week for me. I spent over 24 hours this week working on various aspects of the project. On Monday, I gave our final presentation.\u00a0 Later in the week, I\u00a0tested hosting both the web server and camera on the Jetson which worked as expected. Once I had completed that I tested &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/2022\/12\/11\/aditis-status-update-12-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Aditi&#8217;s Status Update 12\/10&#8221;<\/span><\/a><\/p>\n","protected":false},"author":639,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,8],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/posts\/160"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/users\/639"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":164,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/posts\/160\/revisions\/164"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb3\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}