上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 导入包 import numpy as np import os import dask 看看文件格式和 file_list = os.listdir('train_data') print(len(file_list)) print(file_list[:100]) delayed读入并且分批保存 阅读全文
posted @ 2023-02-27 17:29 裏表異体 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 更新一下torchvision就好了 conda update torchvision 如果不行就把pillow的版本降到7.0.0以下 pip3 install 'pillow<7.0.0' 阅读全文
posted @ 2023-02-20 20:05 裏表異体 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 代码 import requests import json # 全局用到变量 headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Ch 阅读全文
posted @ 2022-11-23 14:51 裏表異体 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 安装 官网教程:https://developer.hashicorp.com/vagrant/tutorials/getting-started/getting-started-project-setup brew install vagrant # 使用brew进行安装 brew install 阅读全文
posted @ 2022-11-05 20:33 裏表異体 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 什么是交叉验证 http://ui.itheima.com/news/20211029/105309.html 统计学相关术语和知识库 https://stattrek.com/statistics/dictionary?definition=coefficient_of_determination 阅读全文
posted @ 2022-10-18 10:55 裏表異体 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 显示中文乱码问题 import matplotlib.pyplot as plt # mac中 plt.rcParams['font.sans-serif']='Heiti TC' # windows中 plt.rcParams['font.family'] = ['sans-serif'] plt 阅读全文
posted @ 2022-10-17 17:16 裏表異体 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1. 自带的ssh文件夹在 ~/.ssh下面,可以在终端输入"open ~/.ssh" 进入该文件夹 2. 在finder/访达按 shift+command+G 可以进入平时看不到(任意)的文件夹 3. ~是个人目录也即是/Users/你的用户名,而./是当前目录 阅读全文
posted @ 2022-10-11 23:03 裏表異体 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 如何在mac中打开QtDesigner https://www.likecs.com/show-204068540.html 白夜黑羽qt教程 https://www.byhy.net/tut/py/gui/qt_01/ Qt for Python Example https://doc.qt.io 阅读全文
posted @ 2022-10-11 12:47 裏表異体 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 访问第i行数据 df.iloc[i] 访问列名为a的列数据 df[a] 获取所有列名 df.columns df.columns.values list(df.columns.values) 填充空值 df.fillna(value, method) 统计 df.count() 字符串转换成日期 d 阅读全文
posted @ 2022-10-11 12:24 裏表異体 阅读(14) 评论(0) 推荐(0) 编辑
摘要: astropy文档 https://docs.astropy.org/en/stable/index.html 什么是fits https://fits.gsfc.nasa.gov fits-header里的常见字段 https://heasarc.gsfc.nasa.gov/docs/fcg/st 阅读全文
posted @ 2022-10-08 00:26 裏表異体 阅读(20) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页