# RF-DETR Training Failed due to missing "wandb" module

**URL:** <https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409>\
**Category:** 🤝  Community Help\
**Created:** [April 11, 2025, 12:40am UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409 "2025-04-11T00:40:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerluc](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jerluc/32/7113_2.png) [@jerluc](https://discuss.roboflow.com/u/jerluc)\
**Post date:** [April 11, 2025, 12:40am UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/1 "2025-04-11T00:40:48Z")

</div>

![Screenshot 2025-04-10 at 5.35.35 PM](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/f/f39221a9f91890da9f538f95d3a81fcaf1c1d267.png)

This is a little confusing since we’re trying to train using the new RF-DETR model in the cloud, but it fails every time saying that Roboflow’s Python process is missing the “wandb” module.

The image dataset is correctly resized to 640x640, so the suggested fix does not seem to be the problem.

- **Project Type: Object Detection**
- **Operating System & Browser: macOS + Firefox**
- **Project Universe Link or Workspace/Project ID: stationa/we-rooftops-det (private workspace)**

---

<div class="post-metadata">

**Author:** ![peter\_roboflow](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/peter_roboflow/32/2609_2.png) [@peter\_roboflow](https://discuss.roboflow.com/u/peter_roboflow)\
**Post date:** [April 11, 2025, 3:38pm UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/2 "2025-04-11T15:38:43Z")

</div>

Hi, we’ve deployed a new version, can you retry and let me know how it goes

---

<div class="post-metadata">

**Author:** ![jerluc](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jerluc/32/7113_2.png) [@jerluc](https://discuss.roboflow.com/u/jerluc)\
**Post date:** [April 11, 2025, 8:02pm UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/3 "2025-04-11T20:02:18Z")

</div>

Thanks @peter_roboflow. That seems to have worked to train now!

I’m a little confused though as:

1. Training took only a little over an hour on a dataset of 2700 images despite that the estimates were claiming it would take closer to 8 hours. It also stopped after only 18 epochs (this might just mean the model wasn’t seeing much progress and stopped, but not sure).

2. The confusion matrix and vector analysis charts are completely empty at all confidence thresholds.

3. Both precision and recall show up as 100% which is highly suspect.

Any thoughts on what happened here?

(Sorry I tried to upload more screenshots, but the forum won’t let me since my account is new?)

---

<div class="post-metadata">

**Author:** ![peter\_roboflow](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/peter_roboflow/32/2609_2.png) [@peter\_roboflow](https://discuss.roboflow.com/u/peter_roboflow)\
**Post date:** [April 11, 2025, 10:21pm UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/4 "2025-04-11T22:21:23Z")

</div>

@jerluc sorry about the forum not allowing image uploads, not sure how to fix that 😕

> 1. Training took only a little over an hour on a dataset of 2700 images despite that the estimates were claiming it would take closer to 8 hours. It also stopped after only 18 epochs (this might just mean the model wasn’t seeing much progress and stopped, but not sure).

yeah, we do early stopping so that we don’t waste your money while the model isn’t improving. rf-detr converges really fast so it should generally take a lot less time than estimated – one of the aspects of the model we are proud of since it should save users credits

> 1. The confusion matrix and vector analysis charts are completely empty at all confidence thresholds.

hmmm, that should not be happening, we will look into that!

> 1. Both precision and recall show up as 100% which is highly suspect.

you are right to be suspicious – those numbers arent getting calculated yet for rf-detr other than in model eval. That was a frontend bug I thought we had fixed – do you mind sharing where exactly in the app you are seeing that? If you can’t upload images here you can electronically mail me at my name at roboflow dot com

---

<div class="post-metadata">

**Author:** ![jerluc](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jerluc/32/7113_2.png) [@jerluc](https://discuss.roboflow.com/u/jerluc)\
**Post date:** [April 12, 2025, 12:33am UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/5 "2025-04-12T00:33:05Z")

</div>

Thanks @peter_roboflow! It makes sense then that it didn’t take very long. I was just surprised to see it so much faster than was estimated!

Please let me know if you’ve found out anything about the confusion matrix. I figured this was related to the precision and recall showing up incorrectly, but maybe not.

For context, this is a screenshot from the top of the “Visualize” page that shows the 100% numbers:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/a/a66be4d37b65930d76b317204962abe0b07fa26b.png)

---

<div class="post-metadata">

**Author:** ![Matvei\_Popov](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/matvei_popov/32/7061_2.png) [@Matvei\_Popov](https://discuss.roboflow.com/u/Matvei_Popov)\
**Post date:** [April 14, 2025, 7:57pm UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/7 "2025-04-14T19:57:30Z")

</div>

Hello @jerluc I’m very sorry you experienced this issue. We found what was causing this problem and are currently working on fixing it. We will let you know as soon as it is ready!

---

<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 5, 2025, 7:57pm UTC](https://discuss.roboflow.com/t/rf-detr-training-failed-due-to-missing-wandb-module/9409/8 "2025-05-05T19:57:40Z")

</div>

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