- 博客(7)
- 资源 (5)
- 收藏
- 关注
原创 Azure+frc内网穿透
local_ip 和 local_port 配置为本地需要暴露到公网的服务地址和端口。remote_port 表示在 frp 服务端监听的端口,访问此端口的流量将会被转发到本地服务对应的端口。分别启动 frps 和 frpc。通过 SSH 访问内网机器,假设用户名为 test:frp 会将请求 x.x.x.x:6000 的流量转发到内网机器的 22 端口。
2023-09-03 18:54:50
684
原创 多维插值scipy.interpolate.interpn()
最近用到多维插值,本来打算手撸,后来查了一下有现成的包,就直接拿过来用了,源码中的参数介绍不是很清楚,重新记录下。 Example 一个简单的例子
2022-12-05 17:02:11
1504
原创 进度条包tqdm的使用
from tqdm import tqdm import time bar = tqdm(range(100)) for i in bar: bar.set_description(f"进度条:迭代次数{i}") time.sleep(0.01) 运行结果: 进度条:迭代次数100: 100%|██████████| 100/100 [00:01<00:00, 64.30it/s] ...
2020-11-18 17:25:05
426
原创 深度学习之numpy学习笔记
numpy.zeros(shape, dtype=float, order='c') 创建指定大小的数组,数组元素以 0 来填充 numpy.random.permutation(x) x为序列或整数,当x为整数时,返回随机排列range(x);当x为序列时,返回x随机排列的序列 numpy.array(object,dtype=None,copy=True,order='K',subok=False,ndmin=0) 将对象转换为数组 tolist() 将数组转换...
2020-07-29 19:00:41
276
原创 Python zlib模块的使用
zlib主要用于压缩与解压缩 zlibpython官方介绍https://docs.python.org/3/library/zlib.html zlib手册http://www.zlib.net/manual.html import zlib raw_data = b"Mechain Learning" compressed_data = zlib.compress(raw_data) # compress decompressed_data = zlib.decompress(com...
2020-06-15 21:07:53
2407
1
SVM解兵王问题_python.zip
2020-07-29
基于pytorch_MNIST分类_dnn_cnn.zip
2020-11-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅