> git status
> git add main.py
> git commit

me1237guy 發表在 痞客邦 留言(0) 人氣()


 


from keras.datasets import mnist


import matplotlib.pyplot as plt


 


(train_images, train_labels), (test_images, test_labels) = mnist.load_data()


ind = 10


digit = train_images[ind]


plt.imshow(digit, cmap=plt.cm.binary)


plt.show()


x = train_images[ind,7:-7, 7:-7]


plt.imshow(x, cmap=plt.cm.binary)


plt.show()


me1237guy 發表在 痞客邦 留言(0) 人氣()

image
> anaconda search opencv   > conda install -c https://conda.anaconda.org/eyeware/ opencv

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
> conda install –c anaconda tk  
 1: import tkinter as tk
 2: win = tk.Tk()
 3: win.mainloop()

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
如安裝成功,則會顯示安裝的版本 ( 如下圖 ) > conda --version 使用 Anaconda 建立 Python 環境

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
C:\ProgramData\Anaconda3

me1237guy 發表在 痞客邦 留言(0) 人氣()

今天意外逛到一個不錯的網站pythonlibs,裡面整理了一些不錯的Python套件, 先記錄下來, 改天應該派得上用場!!!
參考資料1. Unofficial Windows Binaries for Python Extension Packages

me1237guy 發表在 痞客邦 留言(0) 人氣()

image_thumb9
前幾天剛安裝OpenCV for Python, 今天準備測試時發生錯誤訊息
import cv2
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-72fbbcfe2587> in <module>()
----> 1 import cv2
 
ImportError: DLL load failed: 找不到指定的程序。

me1237guy 發表在 痞客邦 留言(0) 人氣()

image

me1237guy 發表在 痞客邦 留言(0) 人氣()

barh_demo
官網 Matplotlib Examples展示各式各樣繪圖範例, 實在太棒了!!!matplotlib第一印象就是跟MATLAB繪圖風格超像, 因此學他就對了!以下為官網展示範例中一部分, 先睹為快~ barh_demo  fill_demo

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
下載 PIL-1.1.7.win32-py2.7PIL 1.1.7Python Imaging Library 1.1.7 Source Kit (all platforms) (November 15, 2009)
Python Imaging Library 1.1.7 for Python 2.4 (Windows only)
Python Imaging Library 1.1.7 for Python 2.5 (Windows only)
Python Imaging Library 1.1.7 for Python 2.6 (Windows only)
Python Imaging Library 1.1.7 for Python 2.7 (Windows only)

me1237guy 發表在 痞客邦 留言(0) 人氣()

image

me1237guy 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。