# Seeking Advice on Optimizing Hyperparameters for Door Type Analysis in Architectural Floorplans

**URL:** <https://discuss.roboflow.com/t/seeking-advice-on-optimizing-hyperparameters-for-door-type-analysis-in-architectural-floorplans/5517>\
**Category:** 🤝  Community Help\
**Created:** [April 26, 2024, 8:28am UTC](https://discuss.roboflow.com/t/seeking-advice-on-optimizing-hyperparameters-for-door-type-analysis-in-architectural-floorplans/5517 "2024-04-26T08:28:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samir\_Tak](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/samir_tak/32/4390_2.png) [@Samir\_Tak](https://discuss.roboflow.com/u/Samir_Tak)\
**Post date:** [April 26, 2024, 8:28am UTC](https://discuss.roboflow.com/t/seeking-advice-on-optimizing-hyperparameters-for-door-type-analysis-in-architectural-floorplans/5517/1 "2024-04-26T08:28:06Z")

</div>

I’m currently tackling a challenging project that involves detecting doors in architectural floorplans. While the detection accuracy of doors is quite good, I’m facing difficulty in analyzing the door types.

There are over 25 classes of door types, such as barn\_single, bifold\_double, swing\_single\_right\_hand, swing\_single\_left\_hand, and more. Each class represents a different type of door, which adds complexity to the task.

I have a dataset of around 5000 images of floorplans, which I’m using to train the model.

I’m working on a Windows-based system, and I would greatly appreciate help with determining the hyperparameters to improve results for door type analysis. Hyperparameters are settings that control the learning process of the model, such as learning rate, batch size, and the number of training epochs.

I am using YOLOv7 as the pre-trained model.

If you’re familiar with machine learning or computer vision techniques, any advice on adjusting these hyperparameters for better results would be invaluable. Additionally, if there’s anything unclear or if you need more details, please let me know, and I’ll provide further information.

---

<div class="post-metadata">

**Author:** ![trevorhlynn](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/trevorhlynn/32/1690_2.png) [@trevorhlynn](https://discuss.roboflow.com/u/trevorhlynn)\
**Post date:** [April 29, 2024, 1:09pm UTC](https://discuss.roboflow.com/t/seeking-advice-on-optimizing-hyperparameters-for-door-type-analysis-in-architectural-floorplans/5517/2 "2024-04-29T13:09:33Z")

</div>

Hello! I might want to consider using an object detection model to identify the door, then crop the detection and pass it to a classification model to understand the door type.

Also, consider expanding your dataset by use flip or rotation augmentation.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [May 20, 2024, 1:10pm UTC](https://discuss.roboflow.com/t/seeking-advice-on-optimizing-hyperparameters-for-door-type-analysis-in-architectural-floorplans/5517/3 "2024-05-20T13:10:32Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
