![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TensorFlow
文章平均质量分 97
lucky_chaichai
爱学习的仙女,都是一些基础知识随笔、总结哦,good good study,day day up~噢耶
展开
-
知识图谱中“三元组”抽取——Python中模型总结实战(基于TensorFlow2.5)
目录一、pyhanlp二、stanfordnlp三、pyltp一、pyhanlp【基于java的,安装使用前必须先安装java环境】二、stanfordnlp【官方GitHub介绍:https://stanfordnlp.github.io/stanfordnlp/training.html】1、安装:pip 安装 pip install stanfordnlp --proxy 111.666.88.688:8082、简单使用 import stanfordnlp三、pyltp【学习原创 2022-07-08 10:55:14 · 11708 阅读 · 9 评论 -
TensorFlow2(版本2.5.0)学习笔记(含keras_bert、W2V)
1、设置CPU/GPU运行环境:指定使用CPU:import tensorflow as tftf.debugging.set_log_device_placement (True) # 设置输出运算所在的设备cpus = tf.config.list_physical_devices ('CPU') # 获取当前设备的 CPU 列表tf.config.set_visible_devices (cpus) # 设置TensorFlow的可见设备范围为cpu2、tf定义变量原创 2021-02-03 14:20:26 · 4408 阅读 · 3 评论