- 博客(8)
- 收藏
- 关注
原创 win10 修改网络共享属性
WIN10 经常找不到哪里把公用网络改成专用网络,位置还经常变,还是直接改策略方便。win+R打开运行,输入secpol.msc,确定,点击网络列表管理器策略,在右侧栏里,鼠标右键你要改的网络--属性--网络位置。...
2019-03-05 22:20:07
1557
原创 TensorFlow使用中的问题
1.服务器重启后torch不能用cuda,使用tensorflow的时候发现报错cuda_driver.cc:406] failed call to cuInit: CUDA_ERROR_UNKNOWN的错误 安装sudo apt-get install nvidia-modprobe2.缺少CUPTIexport LD_LIBRART_PATH=/usr/local/cuda/e
2018-01-23 14:16:17
675
原创 EAST: An Efficient and Accurate Scene Text Detector中遇到的问题
https://github.com/argman/EAST1.Error 127 和fatal error: Python.h: No such file or directory这两个是编译环境没准备好, apt-get安装g++和python-dev解决2.还是/lanms下文件的问题"undefined symbol: _Py_ZeroStruct"运行
2018-01-20 23:36:33
1001
原创 OSX alt的特殊符号
shift+command+space:很多特殊符号Q W E R T Œ ∑ ´ ® †Y U I O P [ ] Á ¨ ˆ Ø ∏ “ ‘A S D F G Å Í Î Ï ©H J K L ; ' \ Ó Ô ˚ Ò … Æ «Z X C V B Ω ≈ Ç √ ıN M , . / ˜  ≤ ≥ ÷q w e r t œ ∑ ´ ®
2017-06-05 20:36:57
961
原创 常用命令行
hostnamepwd: print working dictionary 打印工作目录mkdircdlsrmdirpushdpopdcpmv: 移动和重命名文件夹touch:创建文件rm:删除文件 -rf (向下递归,直接强行删除,用于非空文件夹)less:逐页浏览cat:打印输出整个文件xargs:执行参数find:
2017-06-05 20:10:07
303
原创 Learn Python the hard way 习题49
这个练习是自己写测试了。按照函数一个个写,好像有点长了from nose.tools import *from Game import parserfrom Game.lexicon import lexiconlexi = lexicon.scan("fighter kill bear")sen = parser.Sentence(lexi[0], lexi[1], lexi[2]
2017-03-28 22:17:38
1222
原创 Learn Python the hard way 习题48
#_*_coding:utf-8_*_class lexicon(object): def __init__(self): # dictionary to find word on self.directions = ['south', 'north', 'east', 'west'] self.verbs = ['go', 'kill', 'eat'] self.stop
2017-03-28 08:56:22
537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人