Update export.py

Signed-off-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
pull/13548/head
Muhammad Rizwan Munawar 2025-03-27 05:50:15 +05:00 committed by GitHub
parent 61c22e2d20
commit ad450f09c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ def export_paddle(model, im, file, metadata, prefix=colorstr("PaddlePaddle:")):
$ pip install paddlepaddle x2paddle
```
"""
check_requirements(("paddlepaddle", "x2paddle"))
check_requirements(("paddlepaddle<3.0.0", "x2paddle"))
import x2paddle
from x2paddle.convert import pytorch2paddle