TensorFlow
How to approach a number guessing game (with a twist) algorithm?
Update(July 2020): Question is 9 years old but still one that I\'m deeply interested in. In the time since, machine learning(RNN\'s, CNN\'s, GANS,etc), new approaches and cheap GPU\'s have risen that[详细]
2023-04-11 19:52 分类:问答I need to install tensorflow 1.x and the code works until last week on google colab. Now it does not work
I need开发者_JAVA技巧 to install TensorFlow 1.x for solving my problem. When I run the below codes a week back on google colab (python version 3.8). It installed successfully, and since then I haven\'[详细]
2022-12-07 22:28 分类:问答tensorflow custom loop training model, multi-gpu is slower than single-gpu
tensorflow2.6;cuda11.2; 4G开发者_如何学运维PUS(RTX3070); Tensorflow uses keras to define the training model, and multiple GPUs can accelerate normally. However, when using a custom loop training mo[详细]
2022-12-07 21:12 分类:问答how to fine tune a GPT-2 model?
i\'m using huggingface transformers package to load a pretrained GPT-2 model. I want to use GPT-2 for text generation, but the pretrained version isn\'t enough so I want to fine tune it with a bunch o[详细]
2022-12-07 19:47 分类:问答Einsum matrix multiplication with missing dimensions
I want to modify this einsum to be more flexible. Right now it\'s doing a matrix multiplication of the last two dimensions of A against the last 3 of B:[详细]
2022-12-07 18:48 分类:问答How to assign certain samples as negative samples when using sampled_softmax_loss in tensorflow?
The API of sampled_softmax_lossgoes like: tf.nn.sampled_softmax_loss( weights, biases, labels, inputs,[详细]
2022-12-07 18:16 分类:问答教你在pycharm中使用tensorflow的方法
需求: 需要在pycharm中跑一个深度学习的项目 但是tensorflow包导不入 问题分析:[详细]
2022-12-05 10:26 分类:开发python之tensorflow手把手实例讲解猫狗识别实现
目录一,猫狗数据集数目构成二,数据导入三,数据集构建四,模型搭建五,模型训练六,模型测试作为tensorflow初学的大三学生,本次课程作业的使用猫狗数据集做一个二分类模型。一,猫狗数据集数目构成...[详细]
2022-12-01 12:25 分类:开发由浅入深学习TensorFlow MNIST 数据集
目录MNIST数据集介绍LeNet模型介绍卷积池化(下采样)激活函数(ReLU)LeNet逐层分析1.第一个卷积层2.第一个池化层3.第二个卷积层4.第二个池化层5.全连接卷积层6...[详细]
2022-11-30 13:56 分类:开发