Week 7 (Jul 15 - Jul 21)

Meeting with Mentors

  • I showed them the dataset tab I have worked on. David suggested that I include the option for the user to also select a specific dataset sample with a drop-down list. Apart from that, no other concerns were raised regarding the dataset tab.
  • I went on to ask their ideas for the inference tab. David let me know that the user should also be allowed to input the model config parameters along with the JSON file. They clarified that showing the ground truth is not necessary in this tab, since the user should be able to upload any picture from the internet and see the inference for that image. The comparison with ground truth can be done in the metrics tab.
  • We also discussed the changes requested on the PR; the main one being that ontology conversion is not necessary.

To Do for This Week

  • Finish the changes requested on the PR and get the object detection code merged
  • Finish on the inference tab

Progress

  • I started this week by making the changes David requested in the pull request. I began by pulling his changes regarding not using ontology translations in the sample notebook and modified the code from there.
  • I have modified the code so that both datasets and model ontologies follow the format { “class_name_a”: {idx: 0, rgb: [0, 0, 0]}, “class_name_b”: {idx: 1, rgb: [0, 0, 0]} }, etc. I also added a split parameter for the dataset class and initialized the dataset object with it in the sample notebook. Regarding the iou_threshold, I previously defaulted it to 0.5 by mistake. After David pointed that out, I am now reading the value from the model config, and if it is not defined, I default to 0.5. In the future, we plan to accept a range of values as well. I have also formatted all the files using black 24.10.0.
  • Next, I refined the dataset viewer tab. I added a search icon to let the user select a particular sample from the dataset and made some UI refinements.
  • Then I started working on the UI for the inference tab. I have included file upload input boxes for the model file, ontology, and image. For the model configuration, the user can either select a model file or manually provide values for each parameter. After providing all the details, when the user selects ‘run inference’, the inference image with color-coded bounding boxes appears in the UI.
  • Currently, one issue I have noted is the time taken to run inference, and even in the dataset viewer tab, the time taken to load the selected picture is high. I will try to reduce the loading time.

What’s Next?

  • After receiving feedback from the mentors on the UI, I will make the necessary changes.
  • I will also work on the metrics tab.



Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Final Report
  • Week 11 (Aug 12 - Aug 22)
  • Week 9 (Jul 29 - Aug 4)
  • Week 6 (Jul 7 - Jul 14)
  • Week 8 (Jul 22 - Jul 28)