PaddlePaddle / X2Paddle

Deep learning model converter for PaddlePaddle. (『飞桨』深度学习模型转换工具)
http://www.paddlepaddle.org/
Apache License 2.0
740 stars 165 forks source link

【论文复现营】提示不支持相关包--The unsupported packages or operators #584

Open 156aasdfg opened 3 years ago

156aasdfg commented 3 years ago

模型来源: Pytorch 模型说明: Swin Transformer 转换过程出错提示如下:

Can not convert the file /home/xp/yds_multimodal/swintr/models/swin_transformer.py.
The unsupported packages or operators are: [torch.roll, torch.meshgrid, torch.utils.checkpoint.checkpoint, torch.utils.checkpoint, torch.flatten, torch.jit.ignore].

Can not convert the file /home/xp/yds_multimodal/swintr/utils.py.
The unsupported packages or operators are: [torch.distributed.all_reduce, torch.distributed.get_world_size].

这个不支持这些包吗?

SunAhong1993 commented 3 years ago

这些暂时不支持,您可以通过文档自行添加,为我们贡献PR。