05 2021 档案

摘要: 阅读全文
posted @ 2021-05-31 23:08 bH1pJ 阅读(30) 评论(0) 推荐(0) 编辑
摘要:https://matplotlib.org/stable/tutorials/intermediate/legend_guide.html#sphx-glr-tutorials-intermediate-legend-guide-py ... 阅读全文
posted @ 2021-05-31 22:24 bH1pJ 阅读(130) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/tester-ggf/p/11897697.html 好像没有:代码中包含了某个关键词。 https://blog.csdn.net/weixin_48923393/article/details/1112... 阅读全文
posted @ 2021-05-31 21:56 bH1pJ 阅读(24) 评论(0) 推荐(0) 编辑
摘要:N09_0027_P1['mean pupil'].plot(xlabel='date', ylabel='pupil size', kind='line', title='N09_0027_P1',ax = plt.subplot(411))N09_0027... 阅读全文
posted @ 2021-05-31 21:41 bH1pJ 阅读(203) 评论(0) 推荐(0) 编辑
摘要:https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html 请看如上的文档 plt.figure()N30_0032_P4['mean pupi... 阅读全文
posted @ 2021-05-31 21:24 bH1pJ 阅读(147) 评论(0) 推荐(0) 编辑
摘要:N09_P1 = dfResults.loc[dfResults['des'].isin(['0027-P1'])] #绝对查询found = dfResults.loc[dfResults['des'].str.contains('0027-P1')]#模糊... 阅读全文
posted @ 2021-05-31 20:54 bH1pJ 阅读(395) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zmc940317/p/13615168.html 这个博客总结的非常好。 # 选取某列是否是某一类型的数值 用 isindf.loc[df['column_name'].isin(some_values)]... 阅读全文
posted @ 2021-05-31 20:35 bH1pJ 阅读(310) 评论(0) 推荐(0) 编辑
摘要:SQL 声明变量 https://www.cnblogs.com/woniu-net/p/4770312.html SQL语句编程。 CREATE PROCEDURE p8()BEGIN DECLARE a INT; DECLARE... 阅读全文
posted @ 2021-05-31 17:58 bH1pJ 阅读(103) 评论(0) 推荐(0) 编辑
摘要:坑 呈现出灰绿色的状态。 阅读全文
posted @ 2021-05-31 17:37 bH1pJ 阅读(79) 评论(0) 推荐(0) 编辑
摘要:问题描述: 脚本中做了crop和resize的操作。然后save as 。结果出现了灰蒙蒙的图片 上图是“看不清”、下图是“灰蒙蒙”。 因为图片出现这种情况后,导致之前训练好的模型就都不能用。所以,我必须解决这个bug。 debug记录: (1)我在wind... 阅读全文
posted @ 2021-05-31 15:26 bH1pJ 阅读(68) 评论(0) 推荐(0) 编辑
摘要:【坑】 教程: https://sqlzoo.net/wiki/SELECT_basics/zh 教程: https://zhuanlan.zhihu.com/p/45035260 资料:※※※ https://cloud.tencent.com/de... 阅读全文
posted @ 2021-05-30 23:32 bH1pJ 阅读(106) 评论(0) 推荐(0) 编辑
摘要:这是datagrip提供的官方视频: https://www.jetbrains.com/help/datagrip/creating-diagrams.html 阅读全文
posted @ 2021-05-30 23:20 bH1pJ 阅读(182) 评论(0) 推荐(0) 编辑
摘要:晕了,没有写 select * from table 阅读全文
posted @ 2021-05-30 23:15 bH1pJ 阅读(179) 评论(0) 推荐(0) 编辑
摘要:SELECT * FROM centralsystem.projectmanager where pmname like '%镇江%' ; 阅读全文
posted @ 2021-05-30 23:05 bH1pJ 阅读(24) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/34973980/what-is-session-in-mysql 阅读全文
posted @ 2021-05-30 23:02 bH1pJ 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-30 17:45 bH1pJ 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-29 10:31 bH1pJ 阅读(103) 评论(0) 推荐(0) 编辑
摘要:import deeplabcut if __name__ == '__main__': # 使用训练好的模型来进行预测; root = r'/home/user/user/fzh/DLC/DLC-PupilDetectMo... 阅读全文
posted @ 2021-05-28 15:32 bH1pJ 阅读(98) 评论(0) 推荐(0) 编辑
摘要:Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 完了,重新创建一个环境吧。 阅读全文
posted @ 2021-05-28 12:49 bH1pJ 阅读(29) 评论(0) 推荐(0) 编辑
摘要:需要先执行以下环境变量 source ~/.bashrc 阅读全文
posted @ 2021-05-28 12:12 bH1pJ 阅读(63) 评论(0) 推荐(0) 编辑
摘要:坑 重启一下电脑试一试。 我去,竟然可以了!!! 阅读全文
posted @ 2021-05-27 17:53 bH1pJ 阅读(139) 评论(0) 推荐(0) 编辑
摘要:os.removedirs(path) 亲测有效 阅读全文
posted @ 2021-05-27 16:53 bH1pJ 阅读(54) 评论(0) 推荐(0) 编辑
摘要:gnome-system-monitor 阅读全文
posted @ 2021-05-27 11:46 bH1pJ 阅读(18) 评论(0) 推荐(0) 编辑
摘要:gnome-system-monitor 阅读全文
posted @ 2021-05-27 11:41 bH1pJ 阅读(34) 评论(0) 推荐(0) 编辑
摘要:240的确在下边 阅读全文
posted @ 2021-05-27 11:31 bH1pJ 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-27 11:31 bH1pJ 阅读(83) 评论(0) 推荐(0) 编辑
摘要:坑 阅读全文
posted @ 2021-05-27 11:14 bH1pJ 阅读(13) 评论(0) 推荐(0) 编辑
摘要:坑 阅读全文
posted @ 2021-05-27 10:31 bH1pJ 阅读(58) 评论(0) 推荐(0) 编辑
摘要:方案一: export PATH=/home/user/user/fzh/Fiji.app:$PATH 方案二: 在(base) user@node01: 下运行 sudo vim ~/.bashrcexport PATH="$PATH:/hom... 阅读全文
posted @ 2021-05-27 10:02 bH1pJ 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-27 09:58 bH1pJ 阅读(20) 评论(0) 推荐(0) 编辑
摘要:好像不能,只能load avi文件 阅读全文
posted @ 2021-05-26 14:54 bH1pJ 阅读(9) 评论(0) 推荐(0) 编辑
摘要:请看菜鸟技术宣传的方案: https://mp.weixin.qq.com/s/RJ3xDgJoGKblok6BKhvEyw 《自动抠图?细到毛发的那种!》 点评: 1. 有机会的话,我去试一下。看宣传,应该还不错。 阅读全文
posted @ 2021-05-26 10:21 bH1pJ 阅读(29) 评论(0) 推荐(0) 编辑
摘要:1. 找到classpath.txt C:\Program Files\MATLAB\R2020a\toolbox\local\classpath.txt 2. 把mysql-connector-java-8.0.20.jar 放到C:\Program F... 阅读全文
posted @ 2021-05-25 17:07 bH1pJ 阅读(30) 评论(0) 推荐(0) 编辑
摘要:0. 训练好的模型长这样 snapshot-400000.data-00000-of-00001 1. 在Analysis Video标签页中选择视频。 进度如下: 2.模型的预测结果在XXXXDLC_resnet50_pupileApr8shuf... 阅读全文
posted @ 2021-05-25 16:57 bH1pJ 阅读(63) 评论(0) 推荐(0) 编辑
摘要:如何查看linux的GPU使用率 https://blog.csdn.net/yimin_tank/article/details/83384273 nvidia-smi -l 1 阅读全文
posted @ 2021-05-25 16:34 bH1pJ 阅读(33) 评论(0) 推荐(0) 编辑
摘要:timeStr = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime()) 阅读全文
posted @ 2021-05-25 15:22 bH1pJ 阅读(26) 评论(0) 推荐(0) 编辑
摘要:如何保证两个磁盘的数据实时同步 下载Beyond Compare 阅读全文
posted @ 2021-05-25 11:40 bH1pJ 阅读(251) 评论(0) 推荐(0) 编辑
摘要:(1) excel的vlookup得先排序 (2) 而且还得用lookup,不能用vlookup,因为后者是仔细模式,不容易找到。 阅读全文
posted @ 2021-05-23 20:29 bH1pJ 阅读(156) 评论(0) 推荐(0) 编辑
摘要:def getDirDate(alName): alRootPath = IP + rootPath + '/' + alName if os.path.exists(alRootPath): date = os.path.getmt... 阅读全文
posted @ 2021-05-23 18:53 bH1pJ 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-23 15:32 bH1pJ 阅读(38) 评论(0) 推荐(0) 编辑
摘要:count = 0 for name in algorithList: if not "." in name: # Name #是否有Demo #dataPath dfResult.loc[count] = [name, whetherDemo(name),rootPath + '/' + name 阅读全文
posted @ 2021-05-22 22:20 bH1pJ 阅读(24) 评论(0) 推荐(0) 编辑
摘要:count = 0for name in algorithList: if not "." in name: # Name #是否有Demo #dataPath dfResult.loc[count] = [name, whe... 阅读全文
posted @ 2021-05-22 22:21 bH1pJ 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-22 21:56 bH1pJ 阅读(77) 评论(0) 推荐(0) 编辑
摘要:How to remove a too large file in a commit when my branch is ahead of master by 5 commits https://web.archive.org/web/2019020721... 阅读全文
posted @ 2021-05-22 21:36 bH1pJ 阅读(46) 评论(0) 推荐(0) 编辑
摘要:方案1:只下载最近的一次commit 方案2: 对.git文件进行瘦身 第一步:git rev-list --objects --all 看看所有的文件,哪些是需要你删除的? 第二步:删除“YJY_GUI/build”文件夹 git filter-... 阅读全文
posted @ 2021-05-22 16:50 bH1pJ 阅读(136) 评论(0) 推荐(0) 编辑
摘要:sh文件执行完就退出了,如何暂停 在后边加一个sleep 100000 或者在vscode中使用shell 阅读全文
posted @ 2021-05-22 16:36 bH1pJ 阅读(487) 评论(0) 推荐(0) 编辑
摘要:管理员运行powershell set-ExecutionPolicy RemoteSigned 阅读全文
posted @ 2021-05-22 15:59 bH1pJ 阅读(24) 评论(0) 推荐(0) 编辑
摘要:"""获取当前目录"""print(os.getcwd())print(os.path.abspath(os.path.dirname(__file__)))"""获取上一级目录"""print(os.path.abspath(os.path.dirname(... 阅读全文
posted @ 2021-05-18 17:26 bH1pJ 阅读(129) 评论(0) 推荐(0) 编辑
摘要:exist('../../../../YJY_GUI/software_try.json') 阅读全文
posted @ 2021-05-18 16:38 bH1pJ 阅读(87) 评论(0) 推荐(0) 编辑
摘要:def updateConfigFile(self,result): with open('software_try.json', 'w') as f: json.dump(result, f) 阅读全文
posted @ 2021-05-18 16:09 bH1pJ 阅读(82) 评论(0) 推荐(0) 编辑
摘要:返回值就是widget,可以直接拿来用。 阅读全文
posted @ 2021-05-18 15:47 bH1pJ 阅读(90) 评论(0) 推荐(0) 编辑
摘要:plt如何保存图片 # 保存图片;plt.figure()plt.plot(predictions_1)plt.show()plt.savefig(predictResultFig) 阅读全文
posted @ 2021-05-16 20:41 bH1pJ 阅读(1019) 评论(0) 推荐(0) 编辑
摘要:Python pandas to csv 如何保存指定列 (根据列名保存csv) 解决方案: 一定要有两个列表哦 阅读全文
posted @ 2021-05-14 15:08 bH1pJ 阅读(870) 评论(0) 推荐(0) 编辑
摘要:pandas 如何计算两个 series 之间的相关性 how to calculate the correlation bewteen two series google yyds 阅读全文
posted @ 2021-05-14 15:02 bH1pJ 阅读(173) 评论(0) 推荐(0) 编辑
摘要:比方说我有一个需求: 新添加一列?---那么用的应该是axis = 1 dfData2['PupilSize'] = dfData2.apply(calPupilSize, axis=1) 这样理解:新添一列,那么之前所有列都参与计算了。 或者,... 阅读全文
posted @ 2021-05-14 14:24 bH1pJ 阅读(28) 评论(0) 推荐(0) 编辑
摘要:直接调用pd的函数,然后指定行、列 阅读全文
posted @ 2021-05-14 13:51 bH1pJ 阅读(116) 评论(0) 推荐(0) 编辑
摘要:NaCl12dfData5 = pd.read_csv(NaCl12FilePath,index_col = 0) 在csv中 第一列是index 如果csv中没有列名,该怎么办? header = None ... 阅读全文
posted @ 2021-05-14 13:46 bH1pJ 阅读(399) 评论(0) 推荐(0) 编辑
摘要:什么图能很好得体现两个变量之间存在强的线性相关性呢? 横坐标是一个变量, 纵坐标是一个变量。 如果两个变量之间存在比较强的相关性。结果则是一条直线。 阅读全文
posted @ 2021-05-14 11:09 bH1pJ 阅读(88) 评论(0) 推荐(0) 编辑
摘要:legend('a','b','c','d','e'); 阅读全文
posted @ 2021-05-13 19:29 bH1pJ 阅读(31) 评论(0) 推荐(0) 编辑
摘要:matlab 曲线 滑动平均 windowSize = 9; % or whatever - bigger # = more smoothing. smoothedSignal = conv(yourSignal, ones(1, windowSize)/... 阅读全文
posted @ 2021-05-13 17:34 bH1pJ 阅读(771) 评论(0) 推荐(0) 编辑
摘要:matlab 读取 csv % data=csvread('mc1data.csv',1,0);%csvread只能读取纯数据 阅读全文
posted @ 2021-05-13 17:18 bH1pJ 阅读(130) 评论(0) 推荐(0) 编辑
摘要:坑 阅读全文
posted @ 2021-05-13 17:17 bH1pJ 阅读(171) 评论(0) 推荐(0) 编辑
摘要:prism8 我有5组数据,每组数据有3000个point,该使用哪种图表进行可视化? 坑 阅读全文
posted @ 2021-05-13 17:01 bH1pJ 阅读(51) 评论(0) 推荐(0) 编辑
摘要:https://www.jb51.net/article/137888.htm还有其他若干方法。 阅读全文
posted @ 2021-05-12 10:47 bH1pJ 阅读(317) 评论(0) 推荐(0) 编辑
摘要:挑选了从第2行到最后一行。以及第1,2列,4,5列,7,8列,10,11列dfData2 = dfData.iloc[2:,[1,2,4,5,7,8,10,11]] 阅读全文
posted @ 2021-05-12 10:46 bH1pJ 阅读(381) 评论(0) 推荐(0) 编辑
摘要:fileRootPath = r'a/b/c/d/'if any(name.endswith(('.mp4')) for name in os.listdir(fileRootPath): print(fileName + ' DLC results f... 阅读全文
posted @ 2021-05-12 10:35 bH1pJ 阅读(279) 评论(0) 推荐(0) 编辑
摘要:Python 获取路径下 指定类型的所有文件 坑 def formPMStrgetOldName(PMStr): rootPath = r'D:\x\s\d\d' dirs = os.listdir(rootPath) for ... 阅读全文
posted @ 2021-05-12 10:32 bH1pJ 阅读(261) 评论(0) 推荐(0) 编辑
摘要:坑 阅读全文
posted @ 2021-05-11 17:32 bH1pJ 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Python 只读tif的第一帧图像 tifffile.imread how tifffile.imread only read first image 如何做呢? ImageDataPath = r'D:\PythonProject\QT... 阅读全文
posted @ 2021-05-11 17:06 bH1pJ 阅读(51) 评论(0) 推荐(0) 编辑
摘要:import json with open("config.json", "r") as f: opt = json.load(f) datapath = opt["aaa"]["datapath"] 阅读全文
posted @ 2021-05-11 16:12 bH1pJ 阅读(78) 评论(0) 推荐(0) 编辑
摘要:坑 阅读全文
posted @ 2021-05-10 18:51 bH1pJ 阅读(244) 评论(0) 推荐(0) 编辑
摘要:import timestrTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())log(logpath, "============"+strTime+"============") tim... 阅读全文
posted @ 2021-05-10 16:28 bH1pJ 阅读(32) 评论(0) 推荐(0) 编辑
摘要:可以的 阅读全文
posted @ 2021-05-10 16:28 bH1pJ 阅读(298) 评论(0) 推荐(0) 编辑
摘要:def fromCSVGetROI(CSVROIFileName): roi = pd.read_csv(CSVROIFileName,header=None) return roi 阅读全文
posted @ 2021-05-10 16:04 bH1pJ 阅读(404) 评论(0) 推荐(0) 编辑
摘要:坑 文档里只有传递一个参数的例子。 阅读全文
posted @ 2021-05-10 15:26 bH1pJ 阅读(47) 评论(0) 推荐(0) 编辑
摘要:outputFileName = "Crop_"+fileName.substring(0,lengthOf(fileName)-4)+".tif"; fileName.substring(0,10) 阅读全文
posted @ 2021-05-10 15:12 bH1pJ 阅读(39) 评论(0) 推荐(0) 编辑
摘要:cap = cv2.VideoCapture(FilePath)ret, frame = cap.read()gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)cv2.namedWindow('img')coords1... 阅读全文
posted @ 2021-05-10 11:36 bH1pJ 阅读(417) 评论(0) 推荐(0) 编辑
摘要:cap = cv2.VideoCapture(FilePath)ret, frame = cap.read()gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)cv2.namedWindow('img')coords1... 阅读全文
posted @ 2021-05-10 11:35 bH1pJ 阅读(212) 评论(0) 推荐(0) 编辑
摘要:not True Out[27]: False not False Out[28]: True 阅读全文
posted @ 2021-05-10 11:34 bH1pJ 阅读(375) 评论(0) 推荐(0) 编辑
摘要:pycharm 在Project中打开相关文件的文件夹 pycharm 打开相关文件的文件夹 我之前设置了快捷键。 Ctrl+Shift+Q 阅读全文
posted @ 2021-05-10 10:06 bH1pJ 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-08 23:17 bH1pJ 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-08 13:52 bH1pJ 阅读(38) 评论(0) 推荐(0) 编辑
摘要:opt = jsondecode(fileread('config.json')); taskpath = opt.aaa.taskpath; taskrootpath = opt.aaa.taskrootpath; logpath = [taskpa... 阅读全文
posted @ 2021-05-08 11:02 bH1pJ 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-08 10:05 bH1pJ 阅读(110) 评论(0) 推荐(0) 编辑
摘要:正则表达式,单引号中间的内容 GroupNameList = re.findall(r'[\'](.*?)[\']', groupName) 阅读全文
posted @ 2021-05-07 23:02 bH1pJ 阅读(403) 评论(0) 推荐(0) 编辑
摘要:pandas重命名 column dfData.columns = GroupNameList 阅读全文
posted @ 2021-05-07 23:01 bH1pJ 阅读(308) 评论(0) 推荐(0) 编辑
摘要:k = "1,2,3".split(',') print(k) 阅读全文
posted @ 2021-05-07 22:45 bH1pJ 阅读(226) 评论(0) 推荐(0) 编辑
摘要:"terminal.integrated.shell.windows": "D:/software/Git/Git/binbash.exe", 阅读全文
posted @ 2021-05-04 22:30 bH1pJ 阅读(930) 评论(0) 推荐(0) 编辑
摘要:PIP install pyqt5 之后 就可以找到 designer.exe 这个东西,在我的电脑上的这个路径下:C:\Users\XXX\anaconda3\Library\bin 阅读全文
posted @ 2021-05-04 19:04 bH1pJ 阅读(541) 评论(0) 推荐(0) 编辑
摘要:下载 鼠标连点器。 下载 pyHook-1.5.1-cp37-cp37m-win_amd64 PyUserInput-master from pymouse import PyMouse from pykeyboard import ... 阅读全文
posted @ 2021-05-02 19:58 bH1pJ 阅读(26) 评论(0) 推荐(0) 编辑
摘要:(1)插入一个1*1的表格; (2)打开vscode,把有格式的代码复制进去; (3)粘贴到word中; (4)调整一下字体大小,以及行间距。 阅读全文
posted @ 2021-05-02 16:08 bH1pJ 阅读(211) 评论(0) 推荐(0) 编辑
摘要:是硬件的问题吗? 还是软件被我设置了、 已经是第二次遇到这个情况了。 有人遇到相同的情况 https://jingyan.baidu.com/article/64d05a02a11cd49e54f73b69.html 重启了电脑问题... 阅读全文
posted @ 2021-05-01 10:24 bH1pJ 阅读(76) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示