库
cjh_jinduoxia
这个作者很懒,什么都没留下…
展开
-
hdf5 的使用
python 上的使用 import h5py def save_h5(h5_filename, data, label, data_dtype='uint8', label_dtype='uint8'): h5_fout = h5py.File(h5_filename) h5_fout.create_dataset( 'data', data=data, ...原创 2019-03-08 10:01:42 · 866 阅读 · 0 评论 -
读取 txt 文件
文章目录getline 函数操作读取str 和 int 数组 getline 函数操作 参考博文 读取str 和 int 数组 重点参考博客1和博客2 对于 .txt 文件的格式如下图(每行为:xxx.ply\t\tnum0\t\t…\t\tnum8): 读取的代码如下: #include <iostream> #include <fstream原创 2019-03-13 10:13:10 · 188 阅读 · 0 评论