squirrel2300

导航

2019年11月25日 #

faiss-cpu 报错 mkl 解决方法

摘要: 在anaconda 的环境中,运行 faiss-cpu 时报错:Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so 去anaconda官方文档看了下。有提到mkl模式默认安装的,如果出问题建议安装nomkl这个包,然后 阅读全文

posted @ 2019-11-25 22:23 squirrel2300 阅读(945) 评论(0) 推荐(0) 编辑

2019年8月27日 #

python3 multiprocessing Semaphore

摘要: http://mirror.hust.edu.cn/gnu/glibc/glibc-2.29.tar.gz glibc: bits/semaphore.h#if __WORDSIZE == 64# define __SIZEOF_SEM_T 32#else# define __SIZEOF_SEM_ 阅读全文

posted @ 2019-08-27 22:11 squirrel2300 阅读(798) 评论(0) 推荐(0) 编辑

2019年4月18日 #

centos tree 命令

摘要: ftp://mama.indstate.edu/linux/tree/ download & make 阅读全文

posted @ 2019-04-18 10:18 squirrel2300 阅读(125) 评论(0) 推荐(0) 编辑

2019年2月12日 #

tensorflow 代码阅读

摘要: 具体实现: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/framework 『深度长文』Tensorflow代码解析 https://zhuanlan.zhihu.com/p/25929909 tensor 阅读全文

posted @ 2019-02-12 09:51 squirrel2300 阅读(153) 评论(0) 推荐(0) 编辑

2018年11月8日 #

jupyter notebook 目录配置、导出 tex 和 pdf 及中文支持

摘要: 环境:macbook pro, mactex, jupyter notebook, brew 安装pandoc从而支持格式转换为tex: 修改tex article 模板,添加中文支持: 修改Latex Article头部为: (notebook标题似乎仍然不支持中文) 然后在jupyter not 阅读全文

posted @ 2018-11-08 10:40 squirrel2300 阅读(757) 评论(0) 推荐(0) 编辑

2018年10月31日 #

branchynet

摘要: 提前退出 神经网络 https://gitlab.com/kunglab/branchynet/tree/master 修改梯度 gradients 方法,参考: https://stackoverflow.com/questions/43839431/tensorflow-how-to-repla 阅读全文

posted @ 2018-10-31 16:33 squirrel2300 阅读(787) 评论(0) 推荐(0) 编辑

2018年6月14日 #

pip install torch on windows, and the 'from torch._C import * ImportError: DLL load failed:' solution

摘要: 通过pip安装PyTorch 0.4.0成功(cpu, not gpu; python3.5; pip): pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp35-cp35m-win_amd64.whl pip3 insta 阅读全文

posted @ 2018-06-14 16:35 squirrel2300 阅读(1194) 评论(0) 推荐(0) 编辑

2018年6月7日 #

可能被占用的端口地址列表 -- 转自 坑嗲坑娘坑自己的「6666」端口(记一次网络故障排查)

摘要: https://blog.csdn.net/hi_pig2003/article/details/52995528 坑嗲坑娘坑自己的「6666」端口(记一次网络故障排查) 阅读全文

posted @ 2018-06-07 16:31 squirrel2300 阅读(533) 评论(0) 推荐(0) 编辑

2018年5月17日 #

Pythonic

摘要: arr = [char for char, count in Counter(S).most_common() for _ in range(count)]alen = len(arr)half_len = (alen >> 1) + 1 if alen&1 else (alen >> 1)res 阅读全文

posted @ 2018-05-17 10:48 squirrel2300 阅读(114) 评论(0) 推荐(0) 编辑

2018年3月1日 #

tensorboard No graph definition files were found No scalar data was found 解决方法

摘要: logdir后面的路径不要加引号!!!! tensorboard --logdir='D:\WorkSpace\eclipse\tf_tr\train\my_graph\' 删除引号,改为: tensorboard --logdir=D:\WorkSpace\eclipse\tf_tr\train\ 阅读全文

posted @ 2018-03-01 15:39 squirrel2300 阅读(304) 评论(0) 推荐(0) 编辑