# coding: utf-8 import tensorflow as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1" print(tf.__version__) print(tf.test.is_gpu_available()) fr ...
分类:
其他好文 时间:
2020-07-10 10:00:02
阅读次数:
62
# coding: utf-8 get_ipython().run_line_magic('matplotlib', 'notebook') import matplotlib.pyplot as plt import tensorflow as tf import tensorflow.contr ...
分类:
其他好文 时间:
2020-07-10 09:31:57
阅读次数:
78
# 加载图片 data = tf.keras.datasets.mnist (x_train, y_train), (x_test, y_test) = data.load_data() plt.imshow(x_train[0], cmap='gray') # 创建10个文件夹存放每一类图片 fo ...
分类:
其他好文 时间:
2020-07-09 12:39:50
阅读次数:
94
昨天学习了简单的文本处理,之后在课后的练习中实现了包括了对tf-idf的处理和基于朴素贝叶斯简单的文本分类 基于tf-idf的数据集在出现多个关键词的时候一般能够相对准确对文本进行分类,但是对于相对具有深层含义的内容,例如情感的积极,情感的消息这方面的分类来说,就显得有些乏力的。根据昨天构建的文本分 ...
分类:
其他好文 时间:
2020-07-09 10:48:09
阅读次数:
72
当执行 SQL语句删除行时,InnoDB不会立即从数据库中物理删除。 仅当InnoDB 丢弃 为删除而编写的undo log 时,才会物理删除行及其索引记录(删除对应数据文件中的记录和索引)。 这种仅发生在不再需要多版本并发控制(MVCC)或回滚之后的删除操作,称为purge。 purge 操作用于 ...
分类:
数据库 时间:
2020-07-09 00:41:03
阅读次数:
106
7月9日本周四19:00,TF Live直播间等你上线。
分类:
其他好文 时间:
2020-07-08 18:11:51
阅读次数:
105
官网:https://tensorflow.google.cn/tfx/guide/serving 步骤1:保存pb模型 # 为模型每一个参数添加name # ner demo: https://github.com/buppt/ChineseNER self.input_x = tf.placeh ...
分类:
Web程序 时间:
2020-07-08 15:34:47
阅读次数:
153
需要引用strUtils unit Unit1; interface uses Windows, StrUtils,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TF ...
--vs安装目录cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise --强制撤销签出 tf undo /workspace:工作区;域名\用户名 签出的源码路径(到目录即可) /recursive ...
分类:
Web程序 时间:
2020-07-07 17:59:07
阅读次数:
89
if exists (select * from sysobjects where id = object_id(N'[fn_ChineseToSpell]') and xtype in (N'FN', N'IF', N'TF')) drop function [fn_ChineseToSpell] ...
分类:
数据库 时间:
2020-07-07 15:36:09
阅读次数:
89