会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
codeg
为了算法终将创造的美好,持续奋斗!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
2019年1月11日
ubuntu 18.04//18.10&&windows 7/10双系统系统时间不一致
摘要: 新版本的Ubuntu使用systemd启动之后,时间也改成了由timedatectl来管理,因此网上的许多方法就不适用了。 经过测试发现下面的方法可以解决双系统时间不一致问题: 1、将硬件时间UTC改为CST,双系统时间保持一致。 重启。 2、先在ubuntu下更新一下时间,确保时间无误: 3、然后
阅读全文
posted @ 2019-01-11 21:00 codeg
阅读(1875)
评论(0)
推荐(0)
2019年1月4日
AttributeError: module '__main__' has no attribute 'main'解决方法
摘要: 在终端运行.py文件时报错:AttributeError: module '__main__' has no attribute 'main' 原因:在PyCharm里运行python程序需要添加 但是直接用python命令行运行时无法识别出该函数头,删除该函数所有内容即可!
阅读全文
posted @ 2019-01-04 18:32 codeg
阅读(9149)
评论(0)
推荐(0)
2019年1月3日
Python读取导入非安装文件库的方法
摘要: 一、将文件库放到和.py文件同一目录下; 二、.py文件头导入文件库的格式为(以导入CIFAR-10数据的类为例)【其实就在文件库前面加个.】:
阅读全文
posted @ 2019-01-03 18:46 codeg
阅读(446)
评论(0)
推荐(0)
2018年12月28日
使用Python的turtle库画圣诞树
摘要: 代码如下: 效果图如下:
阅读全文
posted @ 2018-12-28 10:16 codeg
阅读(6504)
评论(0)
推荐(0)
2018年12月17日
虚拟环境jupyter notebook使用【virtualenv环境】
摘要: 一、进入虚拟环境 二、安装 IPykernel 三、将 Virtualenv 加入IPykernel中 四、启动jupyter notebook并更改kernel(右上角Logout下面的名字即为环境名称)
阅读全文
posted @ 2018-12-17 20:01 codeg
阅读(2661)
评论(0)
推荐(0)
2018年12月5日
github上face_recognition工程项目实践
摘要: 一、安装开发环境 1、安装dlib和相关Python依赖 先下载dlib源码: 编译dlib源码:(可以先安装cmake、make模块) 安装该扩展工具 有successful的字样出现,说明安装成功! 2、接着安装face_recognition模块 有successful的字样出现,说明安装成功
阅读全文
posted @ 2018-12-05 17:08 codeg
阅读(668)
评论(0)
推荐(0)
2018年12月3日
深度学习案例教程【2018年12月更新】
摘要: TensorFlow篇: 一、TensorFlow Model(https://github.com/tensorflow/models) 二、face_recognition(https://github.com/ageitgey/face_recognition)【完美运行】 三、TensorF
阅读全文
posted @ 2018-12-03 17:27 codeg
阅读(772)
评论(0)
推荐(0)
2018年12月1日
Ubuntu18.04使用AndroidStudio3.2.1编译TensorFlow android demo【2018年12月】
摘要: 按照官方教程修改下面3处即可编译完成。 修改部分: 在build.gradle文件里修改以下部分: 1、原来: 修改后: 2、原来: 修改后: 3、原来: 修改(buildToolsVersion版本视自己当前安装决定): 编译完之后只会生成一个apk文件,但安装的时候会生成4个APP。
阅读全文
posted @ 2018-12-01 15:14 codeg
阅读(529)
评论(0)
推荐(0)
2018年11月29日
使用Python批量修改文件名
摘要: 使用os.rename(fold,newfilename)对文件重命名
阅读全文
posted @ 2018-11-29 19:40 codeg
阅读(1462)
评论(0)
推荐(0)
2018年11月21日
Ubuntu 使用 Android Studio 编译 TensorFlow android demo
摘要: https://www.cnblogs.com/dyufei/p/8028218.html https://www.myboxlab.com/topic/detail/714ca2d405414f1397140f996b1d8733.html https://blog.csdn.net/masa_f
阅读全文
posted @ 2018-11-21 20:04 codeg
阅读(213)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
公告