排序:
默认
按更新时间
按访问量

vs 2017 配置 openCV 3.4.3

1. 从官网https://www.opencv.org/releases.html下载 windows版 opencv3.4.3 并安装 ,这个过程很简单。 2. 在系统环境变量Path中添加如下环境变量。 3. 打开 vs2017 新建一个空项目,然后Ctrl+Shift+a添加一...

2018-10-09 15:59:18

阅读数:26

评论数:0

leetcode 257 Binary Tree Paths

python: class Solution(object): def binaryTreePaths(self, root): """ :type root: TreeNode :r...

2018-10-08 10:08:15

阅读数:7

评论数:0

leetcode 739 Daily Temperatures

python: class Solution: def dailyTemperatures(self, temperatures): """ :type temperatures: List[int]...

2018-10-07 21:37:00

阅读数:11

评论数:0

leetcode 872 Leaf-Similar Trees

python: class Solution: def leafSimilar(self, root1, root2): """ :type root1: TreeNode :type...

2018-09-28 09:52:59

阅读数:11

评论数:0

leetcode 202 Happy Number

python: class Solution: def isHappy(self, n): """ :type n: int :rtype: bool &quo...

2018-09-27 10:47:36

阅读数:10

评论数:0

leetcode 645 Set Mismatch

python: class Solution: def findErrorNums(self, nums): """ :type nums: List[int] :rtype: Lis...

2018-09-13 15:09:11

阅读数:26

评论数:0

TensorFlow(六)——MNIST分类之自动编码器

import input_data import tensorflow as tf import numpy as np import matplotlib.pyplot as plt mnist = input_data.read_data_sets('data/', one_hot=Tru...

2018-09-13 10:34:08

阅读数:15

评论数:0

TensorFlow(五)——MNIST分类值RNN

import input_data import tensorflow as tf import numpy as np mnist = input_data.read_data_sets('data/', one_hot=True) #设置训练超参数 lr = 0.001 training...

2018-09-12 22:20:32

阅读数:40

评论数:0

leetcode 859 Buddy Strings

python: class Solution: def buddyStrings(self, A, B): """ :type A: str :type B: str ...

2018-09-12 15:41:16

阅读数:16

评论数:0

TensorFlow(四)——MNIST分类之CNN

import input_data import tensorflow as tf import numpy as np mnist = input_data.read_data_sets('data/', one_hot=True) trX, trY, teX, teY = mnist.t...

2018-09-12 14:21:00

阅读数:35

评论数:0

TensorFlow(三)——MNIST分类

import input_data import tensorflow as tf mnist = input_data.read_data_sets('data/', one_hot=True) #定义回归模型 x = tf.placeholder(tf.float32, [None, 7...

2018-09-11 21:51:04

阅读数:43

评论数:0

leetcode 804 Unique Morse Code Words

python: class Solution: def uniqueMorseRepresentations(self, words): """ :type words: List[str] ...

2018-09-11 16:41:09

阅读数:31

评论数:0

TensorFlow(二)——第一个程序

import tensorflow as tf import numpy as np x_data = np.linspace(-1,1,300)[:, np.newaxis] #np.linspace 返回等差数列 #np.newaxis == None noise = np.random....

2018-09-11 16:09:31

阅读数:15

评论数:0

leetcode 118 Pascal's Triangle

python: class Solution: def generate(self, numRows): """ :type numRows: int :rtype: List[Lis...

2018-09-10 16:52:25

阅读数:20

评论数:0

TensorFlow(一)——conda版安装

1.安装anaconda: 从https://repo.continuum.io/archive/index.html选择相应版本,我选择的是最新的版本5.2.0: wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x8...

2018-09-07 20:45:23

阅读数:24

评论数:0

leetcode 88 Merge Sorted Array

python: class Solution(object): def merge(self, nums1, m, nums2, n): """ :type nums1: List[int] ...

2018-09-07 19:02:18

阅读数:15

评论数:0

leetcode 69 Sqrt(x)

python: class Solution: def mySqrt(self, x): """ :type x: int :rtype: int "...

2018-09-03 14:52:14

阅读数:29

评论数:0

leetcode 543 Diameter of Binary Tree

python: class Solution: def diameterOfBinaryTree(self, root): """ :type root: TreeNode :rtyp...

2018-07-17 21:26:05

阅读数:25

评论数:0

leetcode 860 Lemonade Change

python: class Solution: def lemonadeChange(self, bills): """ :type bills: List[int] :rtype: ...

2018-07-16 19:31:57

阅读数:37

评论数:0

leetcode 387 First Unique Character in a String

python:class Solution: def firstUniqChar(self, s): """ :type s: str :rtype: int &q...

2018-07-13 14:49:17

阅读数:19

评论数:0

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