- 博客(8)
- 收藏
- 关注
原创 cuda9.0、cudnn7.0,tensorflow=1.9.0 or 文末miniconda+Tensorflow 2.3
AttributeError: module 'tensorflow' has no attribute '__version__' 版本问题,搞个新环境 参照这位大佬https://blog.csdn.net/u010801994/article/details/84848615 conda create -n tensorflow1 python=3.6 activate tensorflow1 如果报错url找不到(Could not fetch URL https://pypi.py.
2020-12-09 20:11:44
6
原创 vs2017上的linux编程踩坑记录(RedHat 5,VMWare,win10)
记得先要安VMware tools 安完reboot vs2017工具栏下载linuxC++编程工具包 其他连接建立工程等如dalao们所言 如果是x64,别忘把x64改成x86(这里因为我的linux是x86) 另 缺少头文件怎么办? linux终端:cd /usr/ ,再zip格式压缩叫include的文件 一般来讲 #include<sys/types.h...
2019-08-29 16:24:04
37
原创 Win10+gtx1050+python3.6(原为3.7,使用3.6的环境)+cuda9.2+cudnn7.1.4+vs2017 安装tensorflow_gpu-1.8.0受苦心得
首先感谢https://blog.csdn.net/wwtor/article/details/80603296,超感谢TuT 我总体是按照这位博主的教程安装的 但是在感谢之余,我还是要提醒各位同学,如果你是刚刚开始安装tensorflow,请选择cuda10 TuT(8应该也行反正最好是tensorflow支持的),这样可以避免安装别人的安装包时选错...... 安装中坑点: 1、必须保证...
2019-04-11 19:30:35
173
原创 777
好折腾人啊…… /*100 70 80 60 80 77 777 7 77 1 100000000000000000000000000000000000000000000 1 10000 1 1000000 1 1000000000000 10 11 197 15 99030226270212476397123178057835919184439839 3439 468559 71757046...
2019-03-21 08:27:47
84
转载 【转载自夏天的风】多次递归调用手动扩栈,码住了
还在因为 怕 g++ 提交时间很慢,但是用C++ 交又怕栈溢出??? 我们都知道,如果代码里有 递归函数 频繁调用, 用 C++ 提交代码, 很可能就会 出现 Runtime Error (ACCESS_VIOLATION) 但是用G++提交,如果数据量很多的话,又会出现 Time Limit Exceeded 那怎么办呢??? 呵呵,G++的话可以用输入加速外挂啦~~~,以前我介绍过的。...
2018-09-22 11:18:52
79
原创 hdu1232 畅通工程 并查集模板题
hdu1232 畅通工程 并查集模板题 emm套版子就可以,但是感觉能想出这个的人很有意思 很简洁 //其实就是c #include<stdio.h> #include<string.h> using namespace std; int n, m, fa[1005], a, b, record[1005], cnt; void Init(int size) { f...
2018-09-15 11:30:20
79
原创 memset函数
头文件:C:<memory.h>/<string.h> C++:<cstring>eg1 : char map[2][2]; memset(map, 5, sizeof(map));eg2 : int map[2][2]; memset(map, -1, sizeof(map));注意:若ptr指向cha...
2018-07-09 16:26:02
396
原创 公司那些事——用链表建父兄二叉树及操作
#include<cstdio> #include<cstring> #include<queue> #include<set> #include<string> #include<algorithm> #include<iostream> using namespace std; typedef struct T
2018-07-09 16:01:18
57
空空如也
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝