PaddlePaddle / X2Paddle

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

torch2Paddle源码拼写出错,导致不能调用 #770

Open seancoding1 opened 2 years ago

seancoding1 commented 2 years ago

感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. :smile_cat:

问题描述

File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle/project_convertor/pytorch/torch2paddle/io.py", line 172, in init seld.batch_sampler.sampler = sampler NameError: name 'seld' is not defined

源码拼写出错

具体信息

wjj19950828 commented 2 years ago

@seancoding1 感谢反馈,您可以提个PR修复一下~