自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

家门口的知鸟

IT 互联网技术领域

  • 博客(128)
  • 资源 (2)
  • 收藏
  • 关注

原创 批准ipad,此ipad 想要使用您的icloud账户

在macbook pro上,不停的这么提示解决方法:iPhone/iPad 的设置-》最顶端个人-》iCloud 5G -》钥匙串,打开来,会要求你输入密码啥的做验证,做完后,就不会再提示了

2022-02-13 23:43:16 5272 2

原创 t430折腾安装os majave 10.14

家里有一台废弃的T430,闲着也没怎么用,顶多重新装一个win 10了,不过看到网上有人黑mac也就顺便试试了。第一次,试10.14.5: 失败采用了两种方式: 第一种是直接写U盘后安装失败; 第二种是将github上的那个t430的EFI里的内容覆盖U盘上的安装EFI目录下的文件,也失败,可能github上那个t430的efi有问题;安装失败,安装启动在黑屏幕就报错一直过不去;...

2019-07-21 12:57:51 6114 5

原创 U盘变为只有2M大小空间的解决方法

做系统启动盘把U盘给整坏了,几十G大小的U盘变为只有2M大小了,空间都去哪儿了,找到了个解决方案:https://superuser.com/questions/878108/8gb-memory-stick-only-showing-49mb在win上操作27You don't need to use external partition software. I ha...

2019-04-15 11:44:52 5651

原创 tensorflow.python.framework.errors_impl.InvalidArgumentError: Restoring from checkpoint failed.

InvalidArgumentError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that...

2019-03-18 16:05:28 5604 8

原创 bert运行报错: AttributeError: module 'tensorflow.contrib.tpu' has no attribute 'InputPipelineConfig'

bert的例子在GPU上执行时报错:BERT-Classification-Tutorial → master$ sh run_classifier.sh /opt/miniconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorfl...

2019-03-17 20:55:05 9396 2

原创 PyText训练时报错: TypeError: __init__() got an unexpected keyword argument 'serialized_options'

TypeError: __init__() got an unexpected keyword argument 'serialized_options'解决:重装protobuf即可:sudo pip uninstall protobufsudo pip install -U protobuf

2019-02-02 15:03:56 2072

原创 GCN思考 - 之word2vec的方式直接计算文本分类

优化一:借鉴GCN的思想,在训练的过程中词和词之间是有一条边(比如同一句子中间隔不超过5的两个词),那么在word2vec中,是由词来预测词,比如CBOW中4个词预测一个中间词,那么在训练中也可以用同样的模型在CBOW预测的时候同时预测一个文章。这时的huffman code是由词、文章类别 所组成的。 优化二:传统的text-gcn是半监督学习的方式,每个doc和word都是...

2019-01-12 23:47:24 2550 5

原创 解决vi打开文件末尾带有^M的问题

 mysql中看到的情况是这样:下载下来后是这样:参考该字符^M的说明 : https://blog.csdn.net/laoding1993/article/details/50722029mac下手动替换清除即可:        :1,%s/^M\n//g注意在替换时,^由ctrl+v输入; M由ctrl+m输入; ...

2018-12-28 11:35:14 979

原创 airflow安装跳坑

python3 $ sudo /cluster/software/python-3.7.0/bin/pip3 install apache-airflow[all]  报错: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kdrobbz6/apache-airflow/解决...

2018-08-21 18:09:21 2439

转载 cnn-mnist手写识别

#!/usr/bin/python3# http://blog.csdn.net/xukaiwen_2016/article/details/70880694from tensorflow.examples.tutorials.mnist import input_data import tensorflow as tf mnist = input_data.read_da

2017-10-21 16:16:54 958 1

转载 解决Ubuntu 16.04 搜狗输入法 只有悬浮窗,不能输入中文的问题

http://fiture.me/share/linux-ubuntu/1246.html <p white-space:normal;"="" style="word-wrap: break-word; margin-top: 10px; margin-bottom: 10px; padding-top: 0px; padding-bottom: 0px; border: 0px; fo

2017-07-05 21:24:14 1740

原创 python卸载后重启无法进入桌面的问题

按ctrl+alt+f1进入控制台输入sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop等待安装结束重启

2017-05-06 20:38:02 1717

转载 ubuntu桌面设置

http://blog.csdn.net/terence1212/article/details/52270210

2016-09-21 23:22:53 503

原创 Hadoop拷贝文件到hdfs时出错:could only be replicated to 0 nodes, instead of 1

logs中的详细错误为:bug:ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpoint解决方案:需要在所有节点的/opt/hadoop/etc/hadoop/hdfs-site.xml中添加:    hadoop.tmp.d

2016-07-24 12:08:21 579

原创 ubuntu server集群搭建

调整虚拟机中Ubuntu Server 屏幕分辨率     http://blog.csdn.net/weilanxing/article/details/7664324ubuntu 需要iso放入 cdrom 问题解决方法  http://blog.sina.com.cn/s/blog_6ddef98f01015nfy.html     sudo vi /etc/apt/sources.

2016-07-17 02:02:14 974

转载 把ubuntu系统安装进移动硬盘

http://www.educity.cn/linux/1589874.html  把ubuntu系统安装进移动硬盘,可在不同电脑上运行http://jingyan.baidu.com/article/624e74598306c334e8ba5a00.html

2016-07-03 23:50:17 4585

转载 U盘安装 Ubuntu 16.04 Beta2(与Win10 双启动)听语音

http://jingyan.baidu.com/article/67508eb42bf79a9ccb1ce47e.htmlhttp://jingyan.baidu.com/article/c74d60009712350f6b595d6f.html

2016-07-03 01:09:08 571

原创 ImportError: No module named examples.tutorials.mnist

Traceback (most recent call last):  File "nearest_neighbor.py", line 14, in     from tensorflow.examples.tutorials.mnist import input_dataImportError: No module named examples.tutorials.mnist安

2016-06-20 18:39:43 11295 6

转载 oh my zsh + tmux安装

http://www.tuicool.com/articles/2Ijiuy

2016-06-16 16:39:54 2350

原创 Tensorflow二进制安装 && 失败

报错: tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.解决:wget https://bootstrap.pypa.io/get-pip.pysudo python2.7 get-pip.py

2016-05-27 19:58:56 10300 8

转载 安装sogou输入法

1,下载64bit版,http://pinyin.sogou.com/linux/?r=pinyin。2,点击左上角图标Dash,输入updata-manager,点击更新管理器。3,双击安装包,进入ubuntu软件中心安装。4,安装完毕后,进入系统设置-->语言支持-->键盘输入方式系统更改为fcitx。5,重启电脑即可使用。搜狗输

2016-04-11 21:23:30 488

转载 小米note线刷

http://www.miui.com/thread-2367902-1-1.html

2016-01-17 17:38:11 1580

转载 小米手机如何刷开发版MIUI 小米4/小米Note稳定版升级开发版方法

http://www.pc841.com/shoujijiqiao/46111.html

2015-12-19 11:22:40 2313

转载 Win10正式版怎么激活?

http://jingyan.baidu.com/article/d5a880ebb28e1a13f047cc51.htmlhttp://jingyan.baidu.com/article/c14654134b99de0bfcfc4c8c.html

2015-10-28 01:19:11 1084

原创 git 报错 How do I remove files saying “old mode 100755 new mode 100644” from unstaged changes in Git?

How do I remove files saying “old mode 100755 new mode 100644” from unstaged changes in Git?因为权限问题,解法:git config core.filemode false

2015-10-20 21:06:07 1769

转载 putty设置

windows上访问linuxhttp://www.codeproject.com/Articles/497728/HowplustoplusUseplusSSHplustoplusAccessplusaplusLi

2015-10-12 01:29:08 555

原创 whatsapp显示不全联系人怎么办

whatsapp在小米note上显示不全联系人怎么办.观察了一下已经显示的联系人,发觉有个规律,通讯录联系人中前面的国家代码之前必须加上个'+' 号.

2015-10-09 10:05:21 8712

原创 ubuntu14.04安装搜狗输入法

1,下载64bit版,http://pinyin.sogou.com/linux/?r=pinyin。2,点击左上角图标Dash,输入updata-manager,点击更新管理器。3,双击安装包,进入ubuntu软件中心安装。4,安装完毕后,进入系统设置-->语言支持-->键盘输入方式系统更改为fcitx。5,重启电脑即可使用。

2015-01-20 14:13:24 613

原创 spark报错 - ip访问不到

14/11/04 15:02:53 WARN cluster.YarnClientClusterScheduler: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory 需要在.

2014-11-04 15:08:24 3916

原创 ubuntu14.04升级后system settings里面的东西基本都没了

sudo apt-get install unity-control-center

2014-06-16 15:32:47 3164

原创 ubuntu12.04 系统崩溃恢复home目录数据

http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/

2014-06-11 14:58:22 2357

原创 git push时候总提示输入账号密码 - 免除设置

linux下在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入内容格式:touch .git-credentialsvim .git-credentialshttps://{username}:{password}@github.com

2014-04-27 15:00:36 37795 4

原创 ubuntu10.04 install java7

卸载:sudo apt-get purge openjdk*sudo apt-get purge oracle-java7-installer*安装:sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java7-installer

2014-01-03 18:09:00 1661

原创 hadoop报错: java.lang.ArrayIndexOutOfBoundsException

每次都是跑到map 99%   reduce 33%的时候挂掉2013-12-04 10:40:45,128 INFO org.apache.hadoop.mapred.Merger: Merging 16 sorted segments2013-12-04 10:40:45,172 INFO org.apache.hadoop.mapred.Merger: Merging 2

2013-12-04 13:56:33 7570 3

原创 UI主线程里单独启一个子线程 -android

在UI主线程里单独启一个子线程来处理网络任务,为何下面的A可以,BC都不可以呢?A:B:C:

2013-09-28 13:29:34 1197 1

原创 AndroidManifest.xml 网络权限

package="com.example.downloadapp"    android:versionCode="1"    android:versionName="1.0" >            android:minSdkVersion="8"        android:targetSdkVersion="17" />         

2013-09-28 01:12:28 15794 1

原创 adt-bundle import android工程出现错误

报错:   invalid project description 解决方案:    在工程文件夹的上层再加一层文件夹即可。

2013-09-27 15:01:54 985

原创 CUDA 我的驱动

http://www.nvidia.cn/content/DriverDownload-March2009/confirmation.php?url=/Windows/Quadro_Certified/320.86/320.86-quadro-notebook-win8-win7-64bit-international-whql.exe&lang=cn&type=GeForce%20M

2013-09-14 15:02:28 939

原创 word2vec阅读笔记

 1一个输入层 ; 1 个隐含层; 1个输出层 syn0       input -&gt; hidden 的 weights     在code中是一个1维数组,但是应该按照二维数组来理解。                访问时实际上可以看成  syn0[i, j]   i为第i个单词,j为第j个隐含单元。               大小:  词典大小 * 隐含层大小s...

2013-09-12 01:04:31 4083 2

原创 用word2vec 跑搜狗SogouCS语料 - 大小4G | 6.8 亿词长 | 57万词汇

[训练]$ time ./word2vec -train /data/sogou/sohunews_segmented_1line.txt -output /data/sogou/vectors_sohunews.bin -cbow 0 -size 200 -window 5 -negative 0 -hs 1 -sample 1e-3 -threads 30 -binary 1Start

2013-09-06 20:51:12 14666 35

linux中sed的使用

主要讲述linux的sed功能使用,sed的各种命令和功能的使用,仅供参考。

2011-02-10

telnet ipv6服务器

实现telnet 服务器,支持ipv4和ipv6

2008-07-04

空空如也

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

TA关注的人

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