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