GPFCZ “学以致用”是技术发展的永恒归宿

Some Machine Learning Note

Summarylinear_modellinear reggression model for predict data or fit some model.(多元)线性回归用于拟合数据,预测数据。logistic regression model for identification to cla

guopengfa guopengfa 发布于 2023-01-30



guopengfa guopengfa 发布于 2022-09-15

Python tips

>>>a = '1'>>>print(a)1>>>b = '1'.zfill(2*4)>>>print(b)00000001

guopengfa guopengfa 发布于 2022-04-25

generate gif file from static image

import imageio, os, sysdef png_gif(path): png_lst = os.listdir(path) frames = [] for i in png_lst: frames.append(imageio.imread(path +

guopengfa guopengfa 发布于 2022-04-21

pytorch 1

let's use torch to create first neural network: according we input data to trainning model by itself.import torchfrom torch.nn import functionalfrom m

guopengfa guopengfa 发布于 2022-04-21

a big problem when you install torch

IssueMaybe after you installed torch, you will found your graphics card can't available on your torch. I guess you must use pip repo or conda repo to

guopengfa guopengfa 发布于 2022-04-20

machine learnning - identification verify code image

identify verify code imagemachine learnning - identification verify code image - [opencv to identify string, machine learning to identify what string]

guopengfa guopengfa 发布于 2022-04-14


禁用GPU加速tf.config.set_visible_devices([], 'GPU')

guopengfa guopengfa 发布于 2022-01-04

pyinstaller打包携带附件datas(*.fpec) for pyinstaller spec

比如现在我们想要打包一个py应用程序成为exe但是我们又有一些config.txt文件想要同时生成我们可以先执行pyinstaller -Fw test.py这时会生成一个test.spec的文件我们只需要在datas里面添加我们需要的文件就行了,之后打开exe文件我们就会在C:\Users\Bru

guopengfa guopengfa 发布于 2021-11-09