
机器学习
拓宽视野
从事web开发工作。此处只是个人记事本
展开
-
python常用机器学习框架(torch、paddlepaddle、MindSpore)的安装方法
总结安装机器学习框架原创 2021-12-03 17:44:11 · 2072 阅读 · 1 评论 -
python 图片转矩阵
import base64import cv2import numpy as npwith open('2020.jpg', "rb") as image_file: encoded_image = base64.b64encode(image_file.read())encoded_image = base64.b64decode(encoded_image)nparr = np.fromstring(encoded_image, np.uint8)print(nparr)im.原创 2020-11-02 17:01:41 · 1028 阅读 · 0 评论 -
(pytorch)_torchtext.so: undefined symbol: _ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_14DispatchKeyS
torchtext安装包 与 pytorch对应版本https://github.com/pytorch/text/原创 2020-11-02 15:26:04 · 3620 阅读 · 0 评论 -
notebook中安装tensorboard方法
# 1. 安装tensorflowpip install tensorflow(-gpu)>=1.3.0# 2. 安装 notebook所需要的 tensorboardpip install jupyter-tensorboard # 3. 显示tensorboard在 jupyter notebook 页面上/conda安装路径/bin/jupyter-tenso...原创 2019-12-20 16:22:18 · 1052 阅读 · 0 评论 -
jupyterlab 线性回归的TensorBoard的使用方法(No dashboards are active for the current data set解决方法)
线性回归的TensorBoard的使用方法import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plttrain_x=np.linspace(-1,1,100)train_y=2*train_x+np.random.randn(train_x.shape[0])*0.2X=tf.placeh...转载 2019-12-20 11:36:47 · 924 阅读 · 2 评论 -
jupyterlab中安装tensorboard lunch error Invalid response: 404 Not Found
1. conda install --yes 'jupyterlab=1.1.4' 'nodejs=10.16.3'2. conda clean --all -ya3. pip install --no-cache-dir jupyter-tensorboard4. pip install --no-cache-dir tensorflow>=1.35. jupyte...原创 2019-12-13 18:19:17 · 1356 阅读 · 0 评论