首页
学习
活动
专区
工具
TVP
发布

深度学习框架

专栏作者
32
文章
13094
阅读量
12
订阅数
Tensorflow Lite Model Maker --- 图像分类篇+源码
The TensorFlow Lite Model Maker library simplifies the process of adapting and converting a TensorFlow neural-network model to particular input data when deploying this model for on-device ML applications. 解读: 此处我们想要得到的是 .tflite 格式的模型,用于在移动端或者嵌入式设备上进行部署
XianxinMao
2021-10-10
1.1K0
图像分类-cifar100 实验研究
为了解决 cifar100 val_acc 过低的问题,本质上是过拟合问题,所以特地去 papers with code 网站上看了下 cifar100 benchmark 目前第一名做到了多少,如下图所示,val_cc = 0.96,有点东西哈,所以目前要做的是研究 SAM (Sharpness-Aware Minimization),主要用于提升模型的泛化性。
XianxinMao
2021-08-25
1.3K0
图像分类-flower_photos 实验研究
flower_photos 数据量比较小,所以 simple_cnn 可以在 trainset 上拟合到 0.99,意思就是数据复杂度 < 模型复杂度
XianxinMao
2021-08-22
5240
Tensorflow随笔(三)
上图我们可以发现,对于simple_cnn来说,数据增强有很明显的作用,可以显著提高val_acc,也就是模型的泛化性。
XianxinMao
2021-08-10
2170
Tensorflow随笔(二)
When training with methods such as tf.GradientTape(), use tf.summary to log the required information.
XianxinMao
2021-08-07
3090
Tensorflow API(一)
Return a list of physical devices visible to the host runtime.
XianxinMao
2021-08-07
3700
Tensorflow随笔(一)
In machine learning, to improve something you often need to be able to measure it. TensorBoard is a tool for providing the measurements and visualizations needed during the machine learning workflow. It enables tracking experiment metrics like loss and accuracy, visualizing the model graph, projecting embeddings to a lower dimensional space, and much more.
XianxinMao
2021-08-07
2250
Convolutional Neural Network (CNN)
我自己写的代码和该教程略有不一样,有三处改动,第一个地方是用归一化(均值为0,方差为1)代替数值缩放([0, 1]),代替的理由是能提升准确率
XianxinMao
2021-08-01
2630
Introduction to the Keras Tuner
The Keras Tuner is a library that helps you pick the optimal set of hyperparameters for your TensorFlow program. The process of selecting the right set of hyperparameters for your machine learning (ML) application is called hyperparameter tuning or hypertuning.
XianxinMao
2021-07-31
2560
Text classification with TensorFlow Hub: Movie reviews
This notebook classifies movie reviews as positive or negative using the text of the review. This is an example of binary—or two-class—classification, an important and widely applicable kind of machine learning problem.
XianxinMao
2021-07-31
2330
Tensorflow日常随笔(一)
TensorFlow is an end-to-end open source platform for machine learning
XianxinMao
2021-07-31
2280
Building deep retrieval models
In the featurization tutorial we incorporated multiple features into our models, but the models consist of only an embedding layer. We can add more dense layers to our models to increase their expressive power. In general, deeper models are capable of learning more complex patterns than shallower models. For example, our user model incorporates user ids and timestamps to model user preferences at a point in time. A shallow model (say, a single embedding layer) may only be able to learn the simplest relationships between those features and movies: a given movie is most popular around the time of its release, and a given user generally prefers horror movies to comedies. To capture more complex relationships, such as user preferences evolving over time, we may need a deeper model with multiple stacked dense layers.
XianxinMao
2021-07-30
3200
Taking advantage of context features
In the featurization tutorial we incorporated multiple features beyond just user and movie identifiers into our models, but we haven't explored whether those features improve model accuracy.
XianxinMao
2021-07-30
2110
Using side features: feature preprocessing
One of the great advantages of using a deep learning framework to build recommender models is the freedom to build rich, flexible feature representations.
XianxinMao
2021-07-30
3960
TensorFlow Recommenders: Quickstart
In this tutorial, we build a simple matrix factorization model using the MovieLens 100K dataset with TFRS. We can use this model to recommend movies for a given user.
XianxinMao
2021-07-30
3720
Tensorflow serving with docker
如上图所示,执行 pull 之后,我们看到本地已经存在 tensorflow/serving:latest
XianxinMao
2021-07-29
3270
花朵分类(一)
首先我们来介绍下数据集,该数据集有5种花,一共有3670张图片,分别是daisy、dandelion、roses、sunflowers、tulips,数据存放结构如下所示
XianxinMao
2021-07-29
4330
Load and preprocess images
This tutorial shows how to load and preprocess an image dataset in three ways. First, you will use high-level Keras preprocessing utilities and layers to read a directory of images on disk. Next, you will write your own input pipeline from scratch using tf.data. Finally, you will download a dataset from the large catalog available in TensorFlow Datasets.
XianxinMao
2021-07-29
6340
Tensorflow小技巧(一)
To select rows whose column value equals a scalar, some_value, use ==:
XianxinMao
2021-07-29
2650
Recommending movies: retrieval
Real-world recommender systems are often composed of two stages:
XianxinMao
2021-07-28
4060
点击加载更多
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档