原创 TensorFlow+FaceNet+GPU訓練模型(超詳細過程)(二、數據預處理)

在配置完環境之後,訓練模型之前,就是尋找合適的訓練數據。 人臉模型對數據集的要求非常的高,比較出名的有lfw、vggface、CASIA-WebFace等等,這裏提供一個別人收集好的數據資源信息,https://blog.csdn.net

原创 在Windows下安裝tensorflow

在AI時代下,Google公司開發的深度學習框架tensorflow不得不說是一個程序員的大福利了,可以讓剛接觸人工智能或對此有興趣的學習者達到事半功倍的效果。 雖然tensorflow的功能十分強大,但在安裝上卻經常會有人出現錯誤,這裏

原创 Python安裝流程

一、安裝Python 雙擊安裝包 先勾選下面的小方框,再點安裝!!! 二、測試Python    

原创 python turtle 太極八卦圖

from turtle import * import math speed(10) # 設置尺寸爲400*400,背景爲黃色的畫布 screensize(400, 400, "yellow") # 太極圖 pencolor("b

原创 PAT甲級1123

1123 Is It a Complete AVL Tree (30 分) An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights o

原创 PAT甲級1094

1094 The Largest Generation (25 分) A family hierarchy is usually presented by a pedigree tree where all the nodes on th

原创 PAT甲級1021

1021 Deepest Root (25 分) A graph which is connected and acyclic can be considered a tree. The hight of the tree depends

原创 PAT甲級1087

1087 All Roads Lead to Rome (30 分) Indeed there are many different tourist routes from our city to Rome. You are suppos

原创 PAT甲級1045

1045 Favorite Color Stripe (30 分) Eva is trying to make her own color stripe out of a given one. She would like to keep

原创 PAT甲級1107

1107 Social Clusters (30 分) When register on a social network, you are always asked to specify your hobbies in order to

原创 PAT甲級1076

1076 Forwards on Weibo (30 分) Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followe

原创 PAT甲級1043

1043 Is It a Binary Search Tree (25 分) A Binary Search Tree (BST) is recursively defined as a binary tree which has the

原创 Django models.py 中__unicode__和__str__的區別

在Django默認的後臺管理系統中,在註冊了新的內容之後,會發現記錄的顯示爲源碼中的類名,顯得非常的不美觀,也不容易區分。   針對上述問題可以在model中增加__unicode__(python2) 或 __str__(pytho

原创 PAT甲級1108

1108 Finding Average (20 分) The basic task is simple: given N real numbers, you are supposed to calculate their average

原创 TensorFlow+FaceNet+GPU訓練模型(超詳細過程)(一、環境搭建)

本文適用於以下人羣: 有Python基礎,想要進一步深入學習 剛接觸深度學習,希望找一些開源項目練手 對人臉數據梳理模糊,希望能夠自建數據集訓練模型的入門級選手 在開始進入正題之前,我希望大家可以先詳細看看這段話。首先,深度學習是一個研發