自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 HTML基础教程(尽情期待)

我相信看视频的还有很多老司机,取其精华,查漏补缺,下方评论留言。HTML结构和头HTML标题HTML段落HTML格式HTML注释HTML链接HTML图像HTML按钮HTML列表HTML表格HTML视频HTML音频HTML块级元素和内联元素...

2020-01-06 21:02:31 341

原创 Error EPERM operation not permitted, lstat

Commandicacls file /t /grant everyone:fExample:icacls C:\Windows\system32\Microsoft\Protect\Recovery\ /t /grant everyone:f

2019-02-19 18:01:34 5439

原创 C6:Source Code

Finding Code Comments^(?:[^""]*?(?:""[^""]*?""[^""]*?)?)*(?:/\*|//)Example: Finding Lines with an Odd Number of Quotes^[^"]*"([^"]*|([^"]*"[^"]*"[^"]*)*

2019-02-10 23:59:00 261

原创 C5:HTML and XML

Finding an XML Tag<[a-z:_][-a-z0-9._:]+((\s+[^>]+)*|/s*)/?>Example: Finding an HTML Attribute(?:<[^>\s]+)(\s+[a-z]+(-[a-z]+)?(=(""[^<&""]*""|'[^<&']*

2019-02-10 23:56:59 185

原创 C4:Formatting and Validating

Formatting U.S Phone Numbers^\(?(\d{3})\)?[- .]?(\d{3})[- .]?(\d{4})$($1) $2-$3Example: Formatting U.S Dates^(\d{1,2})[-\/.]?(\d{1,2})[-\/.]?((?:\d{2}|\d{4}))$$1-$2-$3Example: ...

2019-02-10 23:55:19 231

原创 C3:CSV and Tab-Delimited Files

Finding Valid CSV Records([^,\"]+|\"([^\"]|\"\")*\")Example: Finding Valid Tab-Delimited Records[^\t""]+Example: Changing CSV Files to Tab-Delimited Files,(?=(?:[^""]*$)|(?:[^"&qu

2019-02-10 23:52:51 851

原创 C2:URLs and Paths

Extracting Domain Labels from URLs^.*:\/\/(([a-z\d][-a-z\d]*[a-z\d]\.)*[a-z][-a-z\d]*[a-z]).*$Example: Extracting the Port from a URL^.*:(\d{1,}).*$Example: Extracting the Path fro...

2019-02-10 17:24:00 241

原创 C1:Words and Text

Finding Blank Lines^\s*$ Finding Words\bword\b Finding Multiple Words with One Search\s+(word1|word2)\s+ Finding Variations on Words(john Doe,jon Doe,jonathan Doe)\bJoh?n(athan)? D...

2019-02-10 17:22:53 217

原创 02100211Regular Expressions Travel

Code Resource:https://github.com/MoreYoungGavin/02100211_Study_RegularExpressionExpression Parts(        starts a group of atoms)        ends a group of atoms(?=   starts a group that’s a posi...

2019-02-10 17:20:59 175

原创 C8:Queues,Threads,and Reading Data

TFrecord Read and Writesave_dir = "D:\\mnist"data_sets = mnist.read_data_sets(save_dir,dtype=tf.uint8,reshape=False,validation_size=1000)data_splits = ["train", "test", "validation"]for d in ran...

2019-02-08 22:49:01 229

原创 C7:TensorFlow Abstractions and Simplifications

Linear RegressionMSEboston = datasets.load_boston()x_data = preprocessing.StandardScaler().fit_transform(boston.data)y_data = boston.targetx = tf.placeholder(tf.float64,shape=(None,13))y_true...

2019-02-08 22:47:13 239

原创 C6:Word Vectors,Advanced RNN,and Embedding Visualization

Word2vecbatch_size = 64embedding_dimension = 5negative_samples = 8LOG_DIR = "logs/word2vec_intro"digit_to_word_map = {1: "One", 2: "Two", 3: "Three", 4: "Four", 5: "Five",6: "Six"

2019-02-08 22:41:35 264

原创 C5:Text,Sequences and Visualization

Scan How to do it?elems = np.array(["T","e","n","s","o","r"," ","F","l","o","w"])scan_sum = tf.scan(lambda a, x:a+x,elems)sess = tf.Inter

2019-02-08 22:38:41 216

原创 C4:Convolutional Neural Networks

Convolutiontf.nn,conv2d(x,W,strides=[1,1,1,1],padding=’SAME)Poolingtf.nn.max_pool(x,ksize=[1,2,2,1],strides=[1,2,2,1],padding=’SAME)Dropouttf.nn.dropout(layer,keep_prob=keep_prob)MNIST_...

2019-02-07 15:54:50 442

原创 C3:Uderstand TensorFlow Basics

Create Graph How to do it?a = tf.constant(5)b = tf.constant(2)c = tf.constant(3)d = tf.multiply(a, b)e = tf.add(c, b)f = tf.subtract(d, e)with tf.Session() as sess: ans = sess.run(f)...

2019-02-07 15:50:56 399

原创 C11:Implementing Animation

Displaying a 2D graphical image Final Result How to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self)...

2019-02-06 02:28:22 206

原创 C10:Using Graphics

Displaying mouse coordinates Final ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.setMouseTracking(Tru...

2019-02-06 02:25:14 204

原创 C9:Database Handling

Creating a databaseFinal Result How to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self...

2019-02-06 02:13:39 204

原创 C8:Asynchronous Programming In Python

Updating progress bar using threadFinal ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self...

2019-02-06 02:10:02 205

原创 C2:Run With TensorFlow

HelloWorldh = tf.constant("Hello")w = tf.constant(" World!")hw = h + wwith tf.Session() as sess: ans = sess.run(hw)print(ans)softmaxDATA_DIR = '/tmp/data'NUM_STEPS = 1000MINIBATCH_S...

2019-02-04 15:50:48 182

原创 improt tensorflow ImportError: DLL load failed

I think this type issue is version compatibility problem.you need find other version in official website or to reduce current version.I begin use pip install tensorflow,see the issue,then,I am also ...

2019-02-04 15:47:16 275

原创 C1:Install TensorFlow

Pip install tensorflow

2019-02-04 15:35:11 160

原创 02040208TensorFlow Travel

Code Resource:https://github.com/MoreYoungGavin/02040208_Study_TensorFlowGo! Let is TensorFlow together,TensorFlow is Tensor and Flow.

2019-02-04 15:34:09 207

原创 How To Remove All Package In Python

Recipe 1 Use pip list display all packageRecipe 2 Copy all package name to txt fileRecipe 3 Open file and use null instead of \d+.\d+.*\d*Recipe 4 Use pip commandpip uninstall –y –u filename.t...

2019-02-04 15:15:03 259

原创 Virtualenv In Python

How to install and activate?Recipe 1 installPip install virtualenvRecipe 2 create envs pathvirtualenv envsRecipe 3 activateEnter envs path (Cd envs\tensorflow\Scripts) and input activate

2019-02-04 15:11:46 148

原创 C7:Network and Managing Large Documents

Create Small BrowserFinal ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self...

2019-02-03 00:09:07 239

原创 C6:Layouts

Horizontal LayoutFinal ResultHow to do it?class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(296, 183) self.horizonta...

2019-02-02 18:00:52 208

原创 C5:Dialogs

Input DialogFinal ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self.ui.push...

2019-02-02 17:58:04 285

原创 C4:OOP Concepts

Class in GUIFinal ResultHow to do it?class Student: name = "" code = "" def __init__(self,name,code): self.name = name self.code = code def getCode(self): ...

2019-02-02 05:13:14 179

原创 Take PyQt5Designer install to PyCharm

Recipe 1:Open Settings window and find External Tools in Tools option.Recipe 2:Click ‘+’ , add designer and pyuicProgram( designer path ):  D:\Python\Lib\site-packages\PyQt5\Qt\bin\designe...

2019-02-02 03:35:02 204

原创 C3:Date and Time

LCD WidgetFinal ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) timer = QtCore...

2019-02-02 03:07:33 183

原创 C2:Event Handling

 Signal/Slot EditorFinal ResultHow to do it?class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) s...

2019-02-01 01:03:08 205

原创 sdl2 - ImportError: DLL load failed: 找不到指定的模块。

pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew 

2019-01-31 14:12:48 1849

原创 《将博客搬至优快云》

开发十年,就只剩下这套架构体系了!>>> ...

2019-01-31 13:36:00 79

原创 Jupyter Travel

Get code:https://github.com/MoreYoungGavin/Learning-Jupyter.gitInstall JupyterPip install jupyterWork JupyterStart JupyterYou can click New,choose Python3,start your jupyter travelHe...

2019-01-31 04:34:05 355

原创 pip install mapbase(pip安装mapbase)

Get Extension PackagesEnter websit https://www.lfd.uci.edu/~gohlke/pythonlibs/, search Basemap and Pyproj package. Down correct versionExample python environment is python3.6:Pyproj is as ...

2019-01-30 22:51:26 1585

原创 C1:Create Qt Components

                                     海南副教授陈晶优下台 ,shut down        you are rubbish ,you need study.HelloWorld ApplicationFinal ResultHow to do it?class MyForm(QDialog):    def __init__(self...

2019-01-30 02:31:55 252

原创 QT Travel

Code Resource: https://github.com/MoreYoungGavin/QT_Travel.gitWhat is QT?QT is a cross-platform application development framework for desktop,embedded and mobile.What need install QT before?Yo...

2019-01-29 12:48:10 202

原创 安装Python(install python),安装pip(install pip)

海南副教授陈晶优下台,shut down you are rubbish ,you need study.How to install python environment and pip?Step 1:Downloadhttps://www.python.org/download...

2019-01-24 10:40:26 1202

原创 Hands-on Machine Learning with Scikit-Learn&TensorFlow

Learn python program language websit:http://learnpython.org Data resource and Code examples download websit:https://github.com/ageron/handson-ml Where you can find large datasets open to t...

2019-01-04 17:08:37 827

空空如也

空空如也

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

TA关注的人

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