自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (6)
  • 收藏
  • 关注

原创 离线Linux服务器从零环境搭建(经验留存)

【代码】离线Linux服务器从零环境搭建(经验留存)

2023-08-28 09:25:52 123

原创 Spyder tips合集

1

2022-06-20 10:57:51 145 1

原创 win10+codeblocks下POM(Princeton Ocean Model)入门速通经验(1)

科研需要,最近在研究POM,一个原始程序是Fortran77的老程序,没学过Fortran但编程语言大致相通嘛,为了省事只学习和研究需要的相关部分,记录一下遇见的问题和速通经验。Princeton Ocean Model,POM原始代码下载地址:The Princeton Ocean Model (POM)下载GRID-DATA和POM2K。win10环境中搭建Fortran77编译环境没学过Fortran所以走了弯路,一开始在visualstudio下拿Fortran95跑Fort

2022-02-10 11:45:14 1142

原创 windows10大批量文件夹、小文件快速删除

最近跑仿真,为了提速,中间数据文件搞了很多,出现了一个文件夹下几万个子文件夹,每个子文件夹又有多个文件这种情况,一般全选删除的删除方法的确很慢还会卡住,网上查到的:1. dos命令,好用,但是无进度,会卡住;2. 安全模式下删除,进入安全模式差点搞坏系统。推荐一个软件:Fast Folder Eraser Pro,比较傻瓜,速度也很快,还可以设置条件进行文件筛选删除,亲自体验觉得好用。...

2021-09-24 15:59:15 1699 1

原创 MATLAB tricks代码留存(updating)

movefile和copyfile也可以,但文件多、文件较大时会慢。注意文件做好备份,以免出错。clear all;clc;path = 'D:\***';file = dir(fullfile(path,'*.png'));for i = 1:length(file) oldname = [path,'\',file(i).name];%必须带绝对路径 newname = [ ];%必须不带绝对路径 command = ['RENAME ',oldname,' ',newn

2021-06-29 10:09:41 98

原创 Python 图片预处理和数据集制作 相关代码备份

1.获取文件夹下的所有图片路径import osimage_types = (".jpg", ".jpeg", ".png", ".bmp", ".tif", ".tiff")def list_images(basePath, contains=None): # 返回有效的图片路径数据集 return list_files(basePath, validExts=image_types, contains=contains)def list_files(basePath, va

2021-05-24 16:44:09 441

原创 Python matplotlib常用画图代码备份

import matplotlib.pyplot as pltmy_x_ticks = np.arange(0, 370, 60)x, y = np.mgrid[1:360:360j, 1:87:87j]#plt.clf()plt.subplots_adjust(hspace=1.2)#subplot上下图间距调节;左右间距调节:wspaceplt.subplot(311)h=plt.pcolor(x, y, ytest, shading='auto',cmap = 'jet')cb=plt

2021-05-20 16:55:26 80

原创 Colab常用代码备份

连接google drive和colab#Mount Google Drive as folderfrom google.colab import drivedrive.mount('/content/drive', force_remount=True)从google drive直接import数据到colab中进行训练,会比用自己的GPU慢,是因为数据传输慢,直接将google drive里的压缩数据解压在虚拟机下,提升速度。!mkdir trainlocal!unzip '/co.

2021-05-11 10:36:19 226

原创 ubuntu18.04 HP笔记本合上盖子不休眠不断网

不休眠sudo vim /etc/systemd/logind.conf将其中的:#HandleLidSwitch=suspend改为:HandleLidSwitch=ignore不断网(参考博客)在/etc/systemd/sytem文件夹下打开终端,创建文件hp-keycodes.service,新建一个systemd的服务:sudo gedit hp-keycodes.service文件内容为:[Unit]Description=HP setkeycodes ..

2020-12-17 11:32:44 651 1

原创 ubuntu18.04 安装有道词典报错解决

官网下载ubuntu下的有道词典deb安装包。 sudo dpkg -i youdao-dict_6.0.0-ubuntu-amd64.deb会报错:终端运行以下代码:sudo apt-get -f installsudo apt-get install tesseract-ocr sudo dpkg -i youdao-dict_6.0.0-ubuntu-amd64.deb

2020-10-31 15:47:58 527

原创 Win10与Ubuntu18.04双系统下Ubuntu根目录磁盘空间扩容

查看硬盘使用情况df -lh

2020-10-10 16:29:16 2840 1

原创 MATLAB启动时出现Warning: Executing startup failed in matlabrc.

启动MATLAB出现如下警告:Warning: Executing startup failed in matlabrc.This indicates a potentially serious problem in your MATLAB setup, which shouldbe resolved as soon as possible. Error detected was:MATLAB: cd :NonExistentFolderCannot CD to W:\ (Name is non

2020-09-29 11:17:27 1234

EOF-MASTER

EOF(经验正交函数)和REOF(旋转经验正交函数)的MATLAB程序

2020-12-01

遗传算法工具箱matlab

遗传算法工具箱matlab

2020-02-17

acoustic toolbox

The Acoustics ToolBox includes four acoustic models: BELLHOP: A beam/ray trace code (Bellhop users guide) KRAKEN: A normal mode code (Kraken users guide) SCOOTER: A finite element FFP code SPARC: A time domain FFP code In addition, AT contains BOUNCE, which computes the reflection coefficient for a layered medium and may be used to provide input to BELLHOP. A common input structure has been used throughout so that only minor modifications are needed to switch from one program to another. All the models produce `shade' files that can be processed using a common set of plotting routines to plot transmission loss vs. range or vs. range and depth.

2020-02-17

国科大机器学习课程课件

国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件国科大机器学习课程课件

2019-12-04

矩阵分析与应用 [张贤达著][清华大学出版社][2013.11][662页]

矩阵分析与应用 [张贤达著][清华大学出版社][2013.11][662页]

2018-09-13

Structure and Interpretation of Signals and Systems

Structure and Interpretation of Signals and Systems

2018-08-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除