X2Paddle
X2Paddle copied to clipboard
关于三个算子缺少的问题
========= 3 OPs are not supported yet =========== ========== aten::upsample_nearest1d ============ ========== aten::upsample_nearest3d ============ ========== aten::reciprocal ============
@Saucup 您好,麻烦描述一下相关模型、业务场景以及部署场景,然后提供一下复线脚本~
是对这份代码转换过程中出现的问题 https://github.com/WenmuZhou/DBNet.pytorch
模型导入使用配置文件:
config/icdar2015_resnet18_FPN_DBhead_polyLR.yaml
转换过程按照您提供的转换代码
from x2paddle.convert import pytorch2paddle
save_dir = "pd_model_script"
jit_type = "script"
pytorch2paddle(module=torch_model,
save_dir=save_dir,
jit_type=jit_type)
只是做实验,没有业务场景。 看到文档中有提到如果缺少算子可以提issue,所以我提了这个issue