![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow学习笔记
星禾说
这个作者很懒,什么都没留下…
展开
-
smooth l1用于线性回归预测简单例子
import random import matplotlib.pyplot as plt import tensorflow as tf def smooth_L1_loss_function(pred,target,gamma=0.5): pred=tf.cast(pred,tf.float32) target=tf.cast(target,tf.float32) diff = pred - target abs_diff = tf.abs(diff) smo原创 2022-03-10 18:41:13 · 372 阅读 · 0 评论 -
focal loss 多分类问题MNIST手写字学习
focal loss参考 https://blog.csdn.net/u011583927/article/details/90716942 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("/media/liao/My Passport/MNIST/", one_hot=True) def multi_category_原创 2022-03-01 16:45:17 · 350 阅读 · 0 评论 -
tensorflow1学习笔记之一些概念和深度前馈神经网络
tensorflow一些概念MLP、DNN后续待补充.....深度前馈神经网络全连接神经网络举个简单栗子 一些概念 MLP、DNN MLP:Multilayer Perceptron 习惯上也称为狭义的DNN(Deep Neural Networks深度神经网络) 后续待补充… 深度前馈神经网络 全连接神经网络 举个简单栗子 ...原创 2021-04-08 09:11:00 · 117 阅读 · 0 评论 -
tensorflow2.3gpu安装问题dlerror: libcudart.so.10.1: cannot open shared object file: No such file or dire
>>> import tensorflow as tf 2020-12-16 20:25:09.348831: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or原创 2020-12-16 20:31:21 · 511 阅读 · 0 评论 -
ubuntu20.04系统下anaconda构建虚拟环境同时搭建tensorflow1.0和tensorflow2.0
ubuntu20.04系统下anaconda构建虚拟环境同时搭建tensorflow1.0和tensorflow2.0 文章目录ubuntu20.04系统下anaconda构建虚拟环境同时搭建tensorflow1.0和tensorflow2.01.ubuntu20.04与win10双系统搭建(1)安装参考(2)开机引导项修复2.anaconda3安装2.1修改conda镜像源(重要)3.构建不同的tensorflow虚拟环境3.1在不同的虚拟环境下安装tensorflow1.0和2.0 1.ubunt原创 2020-12-14 10:27:51 · 1429 阅读 · 1 评论