question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CLI]: yolov5 artifacts uploading issue

See original GitHub issue

Describe the bug

I followed up the youtube tutorial https://www.youtube.com/watch?v=a9Bre0YJ8L8&t=878s, and I was going to upload my own labeled dataset. When I proceeded to the step of running the upload dataset command, it came up with an error below. If there is any way I can deal with it?

E:\個人資料\Hank9938\專題yolo訓練資料\yolov5-master>python utils/loggers/wandb/log_dataset.py --project custom_yolov5 --data data/custom_dataset.yaml
Traceback (most recent call last):
  File "E:\個人資料\Hank9938\專題yolo訓練資料\yolov5-master\utils\loggers\wandb\log_dataset.py", line 27, in <module>
    create_dataset_artifact(opt)
  File "E:\個人資料\Hank9938\專題yolo訓練資料\yolov5-master\utils\loggers\wandb\log_dataset.py", line 11, in create_dataset_artifact
    logger = WandbLogger(opt, None, job_type='Dataset Creation')  # TODO: return value unused
  File "E:\個人資料\Hank9938\專題yolo訓練資料\yolov5-master\utils\loggers\wandb\wandb_utils.py", line 136, in __init__
    if opt.upload_dataset:
AttributeError: 'Namespace' object has no attribute 'upload_dataset'

Additional Files

image

Environment

WandB version:0.13.4

OS:windows

Python version:3.9

Versions of relevant libraries: pytorch1.12.1

Additional Context

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MBakirWBcommented, Oct 22, 2022

Hi @hank9938 , thank you for writing in with your question. I was able to replicate the issue on my end. It appears the upload_dataset flag was recently disabled, see here. @soumik12345 , could you please expand on the reasons for this change, thanks,

0reactions
parambharatcommented, Oct 28, 2022

Hi @hank9938, Thank you for your patience. We will look into this issue in the coming week and you can expect a fix in about 2 weeks time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collect and Label Images to Train a YOLOv5 Object Detection ...
First you need to download and unzip the labeling repo from GitHub. ... Once the download is complete, extract the folder. ... You'll...
Read more >
How to Train YOLOv5 On a Custom Dataset - Roboflow Blog
In this post, we will walk through how you can train YOLOv5 to recognize your custom objects for your custom use case.
Read more >
PyTorch Hub
Loading models. Users can load pre-trained models using torch.hub.load() API. Here's an example showing how to ...
Read more >
Aerial object using YoloV5 and Kili Technology
Training an object detection model using YoloV5 ... you to a page where you can now create your project, upload, and annotate the...
Read more >
Yolo V5 issue "Exception: Dataset not found." on local machine
All you have to do is to keep train, test, validation (these three folders containing images and labels), and yolov5 folder (that is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found