Skip to content

TypeError: update_output_model() got an unexpected keyword argument 'auto_delete_file' #9889

@JeremyCraigMartinez

Description

@JeremyCraigMartinez

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

Training

Bug

Change from 2 months back seems to be failing. Perhaps a newer version of ClearML stripped this argument. Maybe a fix for this would be to add a version requirements for ClearML or remove it altogether?

Traceback (most recent call last):
  File "yolov5/train.py", line 630, in <module>
    main(opt)
  File "yolov5/train.py", line 524, in main
    train(opt.hyp, opt, device, callbacks)
  File "yolov5/train.py", line 424, in train
    callbacks.run('on_train_end', last, best, epoch, results)
  File "/home/ec2-user/SageMaker/Signature detection/yolov5/utils/callbacks.py", line 76, in run
    logger['callback'](*args, **kwargs)
  File "/home/ec2-user/SageMaker/Signature detection/yolov5/utils/loggers/__init__.py", line 297, in on_train_end
    auto_delete_file=False)
TypeError: update_output_model() got an unexpected keyword argument 'auto_delete_file'

Environment

  • YOLO: YOLOv5x
  • Sagemaker (EC2: ml.p2.xlarge)
  • Python: 3.7.12
  • OS: Linux ip-172-16-95-121 4.14.294-150.533.amzn1.x86_64 Image Hosting #1 SMP Thu Sep 29 00:51:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • ClearML: 1.0.3

Minimal Reproducible Example

!python yolov5/train.py ...

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions