
tensorflow
文章平均质量分 66
Hhhy云帆
Keep simple things simple.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tf.keras损失函数总结
tf.keras损失函数一览keras.losses.mean_squared_errorkeras.losses.mean_absolute_errorkeras.losses.mean_absolute_percentage_errorkeras.losses.mean_squared_logarithmic_errorkeras.losses.squared_hingekera...原创 2019-02-26 15:54:08 · 6664 阅读 · 0 评论 -
TensorFlow Datasets
TensorFlow DatasetsTable of ContentsInstallationUsageDatasetBuilderNumPy usageWant a certain dataset?DisclaimersTensorFlow Datasets provides many public datasets as `tf.data.Datasets`.[![K...原创 2019-03-07 10:59:37 · 2963 阅读 · 0 评论 -
Tensorflow Datasets v1.0.1 API简介(一)
模块:tfds在__init__.py中定义。tensorflow_datasets(tfds)定义与TensorFlow一起使用的数据集集合。每个数据集都定义为tfds.core.DatasetBuilder,它封装了下载数据集和构造输入管道的逻辑,并包含数据集文档(版本,拆分,示例数等)。主库入口点是:tfds.builder:按名称获取tfds.core.DatasetBuil...原创 2019-03-07 11:29:35 · 1325 阅读 · 0 评论 -
Tensorflow Datasets v1.0.1 API tfds.core (二)
1. OverviewModule: tfds.coreDefined in core/init.py.API to define datasets.Classesclass lazy_imports:重度依赖项的延迟导入器。class BuilderConfig:DatasetBuilder数据配置的基类。class DatasetBuilder:所有数据集的抽象基类。...原创 2019-03-07 12:25:46 · 579 阅读 · 0 评论 -
Tensorflow Datasets v1.0.1 API tfds.download (三)
Module: tfds.downloadDefined in core/download/init.py.tfds.download.DownloadManager API.Classesclass DownloadConfig: Configuration for tfds.core.DatasetBuilder.download_and_prepare.class Down...原创 2019-03-07 14:59:36 · 623 阅读 · 0 评论 -
TensorFlow Datasets简介
公共数据集为机器学习研究的快速发展提供了动力,但仅仅将这些数据集放入机器学习管道仍然太困难了。 每个研究人员都经历了编写一次性脚本以下载和准备他们使用的每个数据集的痛苦,这些数据集都具有不同的源格式和复杂性。今天,我们很高兴推出TensorFlow Datasets(GitHub),它将公共研究数据集公开为tf.data.Datasets和NumPy数组。 它完成了获取源数据并将其准备为磁盘上...原创 2019-03-19 16:06:39 · 7621 阅读 · 0 评论 -
Tensorflow指数衰减源码
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# Y...原创 2019-01-09 17:10:06 · 637 阅读 · 0 评论 -
txt2xml.py文件
from xml.dom import minidomimport cv2import ospath = '/home/hy/work/OCR_Detection_Simple/data/label'setname = set([i.split('.')[0] for i in os.listdir(path)])for i in setname: txt_dirtory = ...原创 2018-09-03 18:48:19 · 913 阅读 · 1 评论 -
TensorFlow Models/Tutorials/image/alexnet模块源码分析之(二)
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# Y...原创 2018-07-30 11:51:14 · 314 阅读 · 0 评论 -
tensorflow术语
广播操作(Broadcasting operation) 一种用numpy-style broadcasting来保证tensor参数的形态兼容的操作。Devices 一块可以用来运算并且拥有自己的地址空间的硬件,比如GPU和CPU。eval Tensor 的一个方法,返回 Tensor 的值。触发任意一个图计算都需要计算出这个值。只能在一个已经启动的会话的图中才能调用该 Tensor 值原创 2017-08-29 22:25:15 · 367 阅读 · 0 评论 -
tensorflow实现Linear Regression
""" Simple linear regression example in TensorFlowThis program tries to predict the number of thefts from the number of fire in the city of ChicagoAuthor: Chip HuyenPrepared for the class CS 20SI:原创 2017-08-30 00:00:34 · 418 阅读 · 0 评论 -
查看CUDA和cudnn版本
tb@tb:~/work/OCR$ cat /usr/local/cuda/version.txtCUDA Version 8.0.61tb@tb:~/work/OCR$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2#define CUDNN_MAJOR 5#define CUDNN_MINOR ...原创 2018-03-08 16:49:08 · 1262 阅读 · 0 评论 -
ubuntu16.04 tensorflow 报错 ImportError: cannot import name 'audio_ops'
Traceback (most recent call last): File "train.py", line 81, in <module> import input_data File "/devdata/AI/DL/tensorflow/tensorflow/examples/speech_commands/input_data.py", line 35,...原创 2018-03-13 14:33:25 · 3813 阅读 · 0 评论 -
Google最新语义图像分割模型DeepLab-v3+
paper地址: https://arxiv.org/abs/1802.02611 GitHub 地址:https://github.com/tensorflow/models/tree/master/research/deeplab摘要:深度神经网络使用空间金字塔池化模块或编码器-解码器结构执行语义分割任务。前者通过在多个 rate、多个有效视野上用滤波器探测输入特征或执行池化操作,来编码...转载 2018-03-13 17:35:30 · 2127 阅读 · 0 评论 -
ubuntu16.04 libcublas.so.9.0: cannot open shared object file: No such file or directory报错
解决办法: tensorflow版本是1.6 ,需要支持CUDA9.0 高于我的CUDA版本,所以重新安装低版本的tensorflow sudo pip3 install tensorflow-gpu==1.4 -i https://pypi.tuna.tsinghua.edu.cn/simple/ 使用国内源安装速度会快些Traceback (most recent call las...原创 2018-03-13 17:41:18 · 1062 阅读 · 0 评论 -
UnknownError (see above for traceback): exceptions.AttributeError: 'module' object has no attribute
./scripts/test.sh 0 ./models/seglink-512/model.ckpt-217867 ./datasets/ICDAR2015/Challenge4/ch4_test_images+ set -e+ export CUDA_VISIBLE_DEVICES=0+ CUDA_VISIBLE_DEVICES=0+ CHECKPOINT_PATH=./models/...原创 2018-07-02 12:06:14 · 1517 阅读 · 0 评论 -
Models/Tutorials/image/mnist模块源码分析之(一)
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# Y...原创 2018-07-20 12:07:08 · 338 阅读 · 0 评论