12 2020 档案

摘要:背景:云物理机没安装tf相关环境,需要使用docker直接跑模型 在docker hub下载一个tensorflow gpu镜像 运行docker,直接进入bash,使用nvidia-smi正常看到现存,然后正常跑代码即可 docker run -v /data/bert:/app --runtim 阅读全文
posted @ 2020-12-25 14:44 致林 阅读(328) 评论(0) 推荐(0) 编辑
摘要:启动arthas,执行以下命令会提示所有java进程,选择进程id wget https://arthas.aliyun.com/arthas-boot.jar java -jar arthas-boot.jar 使用dashboard或thread列出所有线程 dashboard thread 找 阅读全文
posted @ 2020-12-21 14:40 致林 阅读(463) 评论(0) 推荐(0) 编辑
摘要:# 获取当前设备 device = torch.device("cuda" if torch.cuda.is_available() else "cpu") 阅读全文
posted @ 2020-12-16 11:29 致林 阅读(512) 评论(0) 推荐(0) 编辑
摘要:参考: Deep Joint Entity Disambiguation with Local Neural Attention. (Ganea and Hofmann, 2017, EMNLP) DeepType: multilingual entity linking by neural typ 阅读全文
posted @ 2020-12-04 15:33 致林 阅读(1046) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示