摘要: !conda install --yes numpy !pip install numpy !echo $PATH # If you want to know what is actually executed # when you type python, you can use the type 阅读全文
posted @ 2023-04-12 14:26 xiaoxuxli 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 20230412 jupyter notebook password 参考: [1] https://stackoverflow.com/questions/36312372/change-jupyter-notebook-server-password 阅读全文
posted @ 2023-04-12 13:27 xiaoxuxli 阅读(62) 评论(0) 推荐(0) 编辑
摘要: img = np.array([[1, 2], [3, 4]]) stacked_img = np.stack((img,)*3, axis=-1) print(stacked_img) OR import cv2 import cv color_img = cv2.cvtColor(gray_im 阅读全文
posted @ 2023-04-12 13:26 xiaoxuxli 阅读(12) 评论(0) 推荐(0) 编辑
摘要: (base)$ conda install nb_conda_kernels (base)$ conda create --name new-env (base)$ conda activate new-env (new-env)$ conda install ipykernel (base)$ c 阅读全文
posted @ 2023-04-12 13:26 xiaoxuxli 阅读(26) 评论(0) 推荐(0) 编辑