# Training yoloX

**URL:** <https://community.wandb.ai/t/training-yolox/2825>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [July 29, 2022, 10:14am UTC](https://community.wandb.ai/t/training-yolox/2825 "2022-07-29T10:14:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phoenix64](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@phoenix64](https://community.wandb.ai/u/phoenix64)\
**Post date:** [July 29, 2022, 10:14am UTC](https://community.wandb.ai/t/training-yolox/2825/1 "2022-07-29T10:14:11Z")

</div>

hi,  
i am trying to enable logging for yolox nano, but when i start training i get this error :

File “/content/YOLOX/yolox/utils/logger.py”, line 206, in **init**  
self.cats = val\_dataset.cats  
│ └ \<yolox.data.datasets.voc.VOCDetection object at 0x7f6f1d379e10\>  
└ \<yolox.utils.logger.WandbLogger object at 0x7f6f1e77ed10\>

AttributeError: ‘VOCDetection’ object has no attribute ‘cats’

also this is my colab code:  
!python tools/train.py -f exps/example/yolox\_voc/yolox\_voc\_nano.py -d 1 -b 16 --fp16 -o --logger wandb wandb-project object-detectiontemp -c weights/yolox\_nano.pth

could you please guide me or give me some hints on what should i do ?  
because as i see there is a val\_dataset variable, but i have no idea how do you fill that .

thanks.

---

<div class="post-metadata">

**Author:** ![manan-goel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@manan-goel](https://community.wandb.ai/u/manan-goel)\
**Post date:** [July 29, 2022, 10:43am UTC](https://community.wandb.ai/t/training-yolox/2825/2 "2022-07-29T10:43:00Z")

</div>

Hi @phoenix64 ! Engineer from W&B here. The reason for this issue is that currently we support only COCO style datasets in YOLOX. We are working on creating it for VOC as well

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [July 30, 2022, 12:07am UTC](https://community.wandb.ai/t/training-yolox/2825/3 "2022-07-30T00:07:20Z")

</div>

Hi @phoenix64 , please see @manan-goel response above and please let us know if you have any additional questions.

---

<div class="post-metadata">

**Author:** ![phoenix64](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@phoenix64](https://community.wandb.ai/u/phoenix64)\
**Post date:** [July 30, 2022, 1:01am UTC](https://community.wandb.ai/t/training-yolox/2825/4 "2022-07-30T01:01:08Z")

</div>

thank you so much,  
is it determined approximately when would the new version for this out?  
i am saying that cause i was following this [Training your own YoloX Object Detection Model on Colab - YoloX Object Detection Model Deployment - YouTube](https://www.youtube.com/watch?v=be_D3V9Pxlg&ab_channel=Neuralearn) and they did no further configuration and get the result.  
is there any older version of that for example that work and i can use it for now?

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [August 5, 2022, 12:08am UTC](https://community.wandb.ai/t/training-yolox/2825/5 "2022-08-05T00:08:26Z")

</div>

Hi @phoenix64 , we cannot give an exact timeline on when this will be released. Please [see this wandb report](https://wandb.ai/manan-goel/yolox-nano/reports/Tracking-your-YOLOX-Runs-with-Weights-Biases---VmlldzoxNzc0NjA0) on YoloX.

---

<div class="post-metadata">

**Author:** ![manan-goel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@manan-goel](https://community.wandb.ai/u/manan-goel)\
**Post date:** [September 30, 2022, 1:12pm UTC](https://community.wandb.ai/t/training-yolox/2825/6 "2022-09-30T13:12:53Z")

</div>

Hi @phoenix64 ! A [PR](https://github.com/Megvii-BaseDetection/YOLOX/pull/1525) for this is up now

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [November 29, 2022, 1:13pm UTC](https://community.wandb.ai/t/training-yolox/2825/7 "2022-11-29T13:13:34Z")

</div>

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