自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 Linux服务器没有图形界面,无法使用matplotlib.plt.show()和matplotlib.plt.plot()函数

想输出 training 和 validation 的 accuracy 和 loss 曲线。但是在没有图形界面的linux服务器上无法使用plot和show函数。此时,需要更改matplotlib的后端,然后将图片保存下来观看。在 import matplotlib.plt 之前插入:import matplotlib as mplmpl.use('Agg')#...#...import matplotlib.plt在对应的需要展示图片的位置matplotlib.plt.plot(x_

2020-06-15 05:29:47 8241 1

原创 导入tensorflow报错 importError: libcublas.so.9.0原因和解决方法

导入tensorflow报错============================================常见问题一,运行import tensorflow报错importError: libcublas.so.9.0:....问题原因:首先检查GPU被是否识别,通过 nvidia-smi 指令检查GPU情况,同时可以在输出的上方看到 cuda 的版本。通常是tensorflow的版本与 cuda 不兼容,需要调整 tensorflow-gpu 的版本,或者 cuda 的版本。

2020-06-13 02:10:58 853

原创 程序调试日志与经验2019/10/10

之前在写retinal vessel和object detection的程序时,没有总结调试过程的问题。先开始归纳总结过程中遇到的问题,防止以后遇到再次耗费大量时间1. Keras保存与加载模型(JSON+HDF5)这符合retinal vessel程序中,基于tensorflow backend 的keras的框架。在程序的最开始定义了g和d,因此只需要使用g.load_weights(‘...

2019-10-13 10:45:06 157

转载 Improving Neural Networks--Course2week3---Tensorflow Tutorial

TensorFlow TutorialWelcome to this week’s programming assignment. Until now, you’ve always used numpy to build neural networks. Now we will step you through a deep learning framework that will allow ...

2019-02-13 20:09:30 301

转载 Improving Neural Networks--Course2week2---Optimization methods

Optimization MethodsUntil now, you’ve always used Gradient Descent to update the parameters and minimize the cost. In this notebook, you will learn more advanced optimization methods that can speed u...

2019-02-12 13:34:22 156

转载 Improving Neural Networks--Course2week1----Gradient+Checking - v1

Gradient CheckingWelcome to the final assignment for this week! In this assignment you will learn to implement and use gradient checking.You are part of a team working to make mobile payments availa...

2019-01-26 14:47:32 397

转载 Improving Neural Networks--Course2week1--Regularization - v2

Regularization(红色注释)Welcome to the second assignment of this week. Deep Learning models have so much flexibility and capacity that overfitting can be a serious problem, if the training dataset is not...

2019-01-26 11:30:37 207

转载 Improving Neural Networks--Course2week1--Initialization

Initialization这种已有数据不同类型做decision_boundary的问题,属于数据计算问题。而分类识别问题属于softmax归类问题,二者的x输入有很大的不同Welcome to the first assignment of “Improving Deep Neural Networks”.Training your neural network requires s...

2019-01-25 19:58:40 116

转载 Neural Networks and Deep Learning--Course1week4--Deep Neural Network - Application v8

Deep Neural Network for Image Classification: ApplicationWhen you finish this, you will have finished the last programming assignment of Week 4, and also the last programming assignment of this cours...

2019-01-22 15:39:20 322

转载 Neural Networks and Deep Learning--Course1week4--Building your Deep Neural Network -Step by Step

Building your Deep Neural Network: Step by Step(红色注释)Welcome to your week 4 assignment (part 1 of 2)! You have previously trained a 2-layer Neural Network (with a single hidden layer). This week, you...

2019-01-22 13:09:58 190

转载 Neural Networks and Deep Learning--Course1week3--Planar data classification with one hidden layer v5

Planar data classification with one hidden layer(红色注释版)Welcome to your week 3 programming assignment. It’s time to build your first neural network, which will have a hidden layer. You will see a big ...

2019-01-19 14:43:47 341

转载 Neural Networks and Deep Learning--Course1week2--Logistic Regression with a Neural Network

Logistic Regression with a Neural Network mindset(红字注释版)Welcome to your first (required) programming assignment! You will build a logistic regression classifier to recognize cats. This assignment wi...

2019-01-18 14:31:38 218

原创 Course1week2--Python Basics with numpy--调试心得

——————————————————以下是调试心得————————————————————————-编辑时间 1/17/2019-注意numpy基础函数的运用,即使使用tensorflow,keras框架,某些功能依然可以在算法中起到作用,例如 time模块,类似于单片机中的简化算法调试工作。def sigmoid(x): s = 1/(1+np.exp(-x)) ret...

2019-01-17 20:33:40 103

转载 Neural Networks and Deep Learning--Course1week2--Python Basics with numpy

Python Basics with Numpy (红字特别提醒)Welcome to your first assignment. This exercise gives you a brief introduction to Python. Even if you’ve used Python before, this will help familiarize you with funct...

2019-01-17 13:39:14 844

转载 Improving Deep Neural Networks--Course2week1--Initialization

InitializationWelcome to the first assignment of “Improving Deep Neural Networks”.Training your neural network requires specifying an initial value of the weights. A well chosen initialization metho...

2019-01-16 15:30:28 216 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除