# My flame-detection project isn't doing well with certain metrics

**URL:** <https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319>\
**Category:** 🤝  Community Help\
**Created:** [April 11, 2022, 7:11pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319 "2022-04-11T19:11:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashvith](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Ashvith](https://discuss.roboflow.com/u/Ashvith)\
**Post date:** [April 11, 2022, 7:11pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/1 "2022-04-11T19:11:19Z")

</div>

My project is based on object detection and the only class I am using is “Fire”. I have this rough idea about a drone project using deep learning and computer vision, and for that, I’ve used YOLOv5. I believe that a major part of the problem is because of the dataset that I am using. I have been recommended by my professors to use StyleGAN2 to synthesize fire dataset, but in my opinion, I think that this is completely irrelevant. Would be great if anyone could take a peek at my dataset.

By the way, hello @anon59033456, would you mind taking a look? The support key is `jzZVpDuEzzeaP7r9IhHT2M5Bk5V2`. I believe that this shoud provide access to my account. The problem that I think I am facing is with respect to the low precision and recall values. The loss and accuracy seems to be fine, at least to me, in both train and validation.

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 11, 2022, 7:29pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/2 "2022-04-11T19:29:55Z")

</div>

Yay! Taking a look now 🙂

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 11, 2022, 7:45pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/3 "2022-04-11T19:45:25Z")

</div>

`jzZVpDuEzzeaP7r9IhHT2M5Bk5V2` didn’t have a dataset, so I’m looking at `o4PqLaQWeN2KZhtoPjOp` which has 3.

I’m looking at `Fire Annotation (V3)` which has the most images. Here’s my feedback:

> My idea is that our drone will use reinforcement learning, and computer vision to detect flame region,

^^ Grabbed that form your Reddit post. If you want your drone to detect fires, it would be beneficial for it to have images that were captured aerially vs what currently looks like images that were taken from a person on the ground. (Though I didn’t look through them all, this is what I mostly saw)

Question I like to ask myself before gathering data “How will this model be used in the wild?” Use that answer ti gather images of it will encounter in the wild.

I really like that you have null images in here. I would add aerial null images. Null aerial forest images, city, beaches, or anywhere the drone would be detecting in the wild.

Does this help? Happy to jump on a call as well 🙂

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 11, 2022, 7:50pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/4 "2022-04-11T19:50:20Z")

</div>

Just saw your Reddit about being overseas. I’ll DM you a link to my Calendly

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 12, 2022, 2:06pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/6 "2022-04-12T14:06:53Z")

</div>

When you said your project isn’t doing well with certain metrics, which metrics were they?

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 12, 2022, 5:28pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/8 "2022-04-12T17:28:55Z")

</div>

I’m curious to see your metrics after you train on the Roboflow app. Looks like you have 10 free training credits. Would you be able to train the dataset you are looking to deploy a model for? Here’s how I would go about doing it with different versions to compare:

1. v1 - train raw. no preprocessing or augmentation
2. v2 - preprocessing: auto-orient, resize. Image level augmentation: Flip (horizontal and vertical), 90 degree rotate, crop, brightness, blur, noise. (you can train from your v1 checkpoint here)

I ask bc I feel like the current metrics are lower than I expected considering the current images you have and the amount of data. If you’d like like I can go ahead and train a version for you as well.

@Mohamed Would you be able to answer the rest of the questions Ashvith wants us to look into?

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [April 12, 2022, 5:51pm UTC](https://discuss.roboflow.com/t/my-flame-detection-project-isnt-doing-well-with-certain-metrics/319/10 "2022-04-12T17:51:45Z")

</div>

Sounds good. We’re here to help if you cross any blockers
