ltp icon indicating copy to clipboard operation
ltp copied to clipboard

ltp cache model owner and group error.owner is 501,group is games

Open weidongkx opened this issue 3 years ago • 4 comments

LTP() will download 'small': 'http://39.96.43.154/ltp/v3/small.tgz' default, but it's owner and group is error image

weidongkx avatar Dec 16 '21 02:12 weidongkx

Should we modify the download logic to keep the downloaded model's group is downloader?

weidongkx avatar Dec 16 '21 02:12 weidongkx

Also, the downloader should check if the model is corrupted and should be downloaded again.

FranklinBao avatar Dec 26 '21 12:12 FranklinBao

我们是不是应该把下载的文件设置成用户所在组?

Should we modify the download logic to keep the downloaded model's group is downloader?

另外我认为还应该检查一下文件完整性,比如在下载失败会导致模型加载错误

FranklinBao avatar Dec 26 '21 12:12 FranklinBao

Good suggestion! I will try it!

AlongWY avatar Feb 20 '22 02:02 AlongWY

新版本更新了下载插件,该问题已修复 /close

weidongkx avatar Dec 26 '22 07:12 weidongkx