Paddle export bug: torch tensor `.clone()` is not supported

Created by: Zengyf-CVer

Search before asking

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

YOLOv5 Component

Export

Bug

@glenn-jocher The problem occurs when I run the command below:

python export.py --weights yolov5s.pt --include paddle

ksnip_20220916-163859

Model conversion failed.

Environment

  • YOLOv5 🚀 v6.2-117-ga1e5f9a9 Python-3.8.13 torch-1.11.0+cu113 CPU
  • Ubuntu 20.04
  • Python 3.8.13

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
Assignee Loading
Time tracking Loading