2018年8月24日

分数的乘法逆元和负数的取模运算

摘要: 1.乘法逆元 A.定义 如果ax≡1 (mod p),且gcd(a,p)=1(a与p互质),则称a关于模p的乘法逆元为x。 既然有ax≡1 (mod p),那么有ax - py = 1,x是a关于模p的乘法逆元。 B.分数的乘法逆元 对于实数域,一个数的乘法逆元就是其倒数,所谓乘法逆元就是相乘等于单 阅读全文

posted @ 2018-08-24 16:20 蚂蚁flow 阅读(1841) 评论(0) 推荐(0) 编辑

2018年7月11日

pip2 install protobuf==2.6.1

摘要: [libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed v 阅读全文

posted @ 2018-07-11 16:14 蚂蚁flow 阅读(521) 评论(0) 推荐(0) 编辑

2018年6月26日

Mount error(5):Input/output error on mount

摘要: https://superuser.com/questions/850301/mount-error5input-output-error-on-mount When setting up a share on a Windows 2012 server, I had to use: Note th 阅读全文

posted @ 2018-06-26 16:42 蚂蚁flow 阅读(3800) 评论(0) 推荐(0) 编辑

2018年6月13日

cmake 学习笔记(一)

摘要: 最大的Qt4程序群(KDE4)采用cmake作为构建系统 Qt4的python绑定(pyside)采用了cmake作为构建系统 开源的图像处理库 opencv 采用cmake 作为构建系统 ... 看来不学习一下cmake是不行了,一点一点来吧,找个最简单的C程序,慢慢复杂化,试试看: 例子一 单个 阅读全文

posted @ 2018-06-13 14:35 蚂蚁flow 阅读(369) 评论(0) 推荐(0) 编辑

cmake --help

摘要: Usage cmake [options] <path-to-source> cmake [options] <path-to-existing-build> Specify a source directory to (re-)generate a build system for it in t 阅读全文

posted @ 2018-06-13 14:01 蚂蚁flow 阅读(515) 评论(0) 推荐(0) 编辑

2018年6月4日

ImportError: dynamic module does not define init function (initcaffe)

摘要: https://github.com/BVLC/caffe/issues/2770 阅读全文

posted @ 2018-06-04 11:34 蚂蚁flow 阅读(1076) 评论(1) 推荐(0) 编辑

2018年6月2日

docker - how do you disable auto-restart on a container?

摘要: https://stackoverflow.com/questions/37599128/docker-how-do-you-disable-auto-restart-on-a-container 90down voteaccepted 90down voteaccepted You can use 阅读全文

posted @ 2018-06-02 17:25 蚂蚁flow 阅读(269) 评论(0) 推荐(0) 编辑

2018年5月21日

Pickle incompatibility of numpy arrays between Python 2 and 3

摘要: Traceback (most recent call last): File "mnist.py", line 7, in <module> train_set, valid_set, test_set = pickle.load(f) UnicodeDecodeError: 'ascii' co 阅读全文

posted @ 2018-05-21 15:37 蚂蚁flow 阅读(244) 评论(0) 推荐(0) 编辑

2018年4月9日

recipe for target 'vmnet.ko' failed

摘要: /tmp/modconfig-60OpuH/vmnet-only/bridge.c:639:4: error: invalid preprocessing directive #atomic_inc #atomic_inc(&clone->users); https://communities.vm 阅读全文

posted @ 2018-04-09 18:41 蚂蚁flow 阅读(277) 评论(0) 推荐(0) 编辑

VMware-Workstation-Full-12.5.9

摘要: https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-12.5.9-7535481.x86_64.bundle Name: VMware-Workstation-Full-12.5.9-7535481.x86_ 阅读全文

posted @ 2018-04-09 17:07 蚂蚁flow 阅读(2232) 评论(0) 推荐(0) 编辑

导航