- 博客(8)
- 收藏
- 关注
原创 实例 — 异常检测(2):癌细胞检测
import jsonimport mathimport osimport cv2from PIL import Imageimport numpy as npfrom keras import layersfrom keras.applications import DenseNet201from keras.callbacks import Callback, ModelChe...
2020-04-15 17:50:10
348
原创 实例 — 异常检测(1):用Pyod工具检测人工数据生成数据
import numpy as npfrom scipy import statsimport matplotlib.pyplot as pltimport matplotlib.font_manager# 导入想要用来检测数据集中异常值的模型。使用ABOD和KNN:from pyod.models.abod import ABODfrom pyod.models.knn import...
2020-04-15 15:28:11
429
原创 测试GPU是否可用
- Tensorflow# # tensorflowimport tensorflow as tfa = tf.test.is_built_with_cuda() # 判断CUDA是否可以用b = tf.test.is_gpu_available( cuda_only=False, min_cuda_compute_capability=None) ...
2020-04-09 20:12:00
2593
原创 改BUG:module ‘tensorflow_core._api.v2.config’ has no attribute ‘experimental_list_devices’
问题描述:module ‘tensorflow_core._api.v2.config’ has no attribute ‘experimental_list_devices’措施打开出错程序:修改506行#原始代码_LOCAL_DEVICES = tf.config.experimental_list_devices()#改为:devices = tf.config.li...
2020-04-09 20:04:01
4311
1
原创 改BUG:Keras 切换后端(Theano和TensorFlow)
问题描述:措施:1. 打开文件:C:\Users\用户\ >.keras>keras.json(用python打开)2. 修改代码:方案一:theano:{ "image_dim_ordering": "th", "epsilon": 1e-07, "floatx": "float32", "backend": "theano"...
2020-04-09 19:58:51
150
原创 改BUG:“Consider using the `--user` option or check the permissions”
“Consider using the --user option or check the permissions”纠正:以管理员身份运行
2020-04-09 19:46:39
276
转载 使用国内镜像源来加速python包的安装
网上有很多可用的源,例如:豆瓣:http://pypi.douban.com/simple/清华:https://pypi.tuna.tsinghua.edu.cn/simple示例:Python安装Tensorflow方法一$pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow方法二Linux下,修...
2020-04-05 21:19:51
184
原创 笔记(四)Modules2(神经网络):Pytorch
Jupyter Notebooks的安装说明:windows环境下安装和配置Jupyter Notebooks,默认已安装简介与使用手册Jupyter的官网:http://jupyter.org/index.html
2020-04-01 14:10:25
153
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人