ImportError:
get_linear_schedule_with_warmup requires the PyTorch library but it was not found in your environment. Checkout the instructions on the
installation page: https://pytorch.org/get-started/locally/ and follow the ones that match your environment.
以上是报错信息,transformers里面的学习率预热函数get_linear_schedule_with_warmup,paddle不支持
paddle有类似这样的函数吗?
感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. :smile_cat:
问题描述
pytorch转成paddle后transformers的包调用需要pytorch环境怎么办?
ImportError: get_linear_schedule_with_warmup requires the PyTorch library but it was not found in your environment. Checkout the instructions on the installation page: https://pytorch.org/get-started/locally/ and follow the ones that match your environment. 以上是报错信息,transformers里面的学习率预热函数get_linear_schedule_with_warmup,paddle不支持 paddle有类似这样的函数吗?
具体信息