SharelockSmile

Results 4 comments of SharelockSmile

> LCQMC_trainer.py使用了[pytorch_lightning](https://pytorch-lightning.readthedocs.io/en/latest/)框架,参数的输入参照该框架要求。52行和149行可能需要做相应改动。 > 建议使用GPU, CPU训练会非常慢。。 本机上目前还没有GPU,想先测试一下,就可以不写--gpus这个参数吗

> 可以的,但是代码也要相应做一些改动。 我改完之后又报了新的错,这和我的配置有关系吗,是用CPU运行的, ![报错](https://user-images.githubusercontent.com/31130831/126621627-ea30c64a-2c47-4488-83fc-564a4fe4c682.png)

![image](https://user-images.githubusercontent.com/31130831/168783872-5dedb1e2-b54b-4e55-abf8-2ab160357d91.png)

![image](https://user-images.githubusercontent.com/31130831/149603248-10bc2eb5-1344-4057-b74d-71530a5be89a.png) 数字类型不能正确转换,没有endwith这个方法 Duplicate of #