之前下载了cuda11.1想要使用tensorflow的gpu版本,不料调试的时候出了问题,使用tf.test.is_gpu_available()命令测试的时候出现了如下错误: 错误日志: WARNING:tensorflow:From <ipython-input-2-17bb7203622b> ...
分类:
其他好文 时间:
2021-02-17 14:13:19
阅读次数:
0
此博客链接: 寻找重复数 题目链接:https://leetcode-cn.com/problems/find-the-duplicate-number/ 题目 给定一个包含 n + 1 个整数的数组 nums ,其数字都在 1 到 n 之间(包括 1 和 n),可知至少存在一个重复的整数。 假设 ...
分类:
其他好文 时间:
2021-02-17 14:08:35
阅读次数:
0
set 其作用是去重,排序。 set常用操作: #include<set> //声明一个set容器 set<typename> s;//定义,typename为数据类型,假设定义了一个容器s //常用操作: s.insert(x);//将x插入set容器中,并自动排序,去重 s.find(value ...
分类:
其他好文 时间:
2021-02-16 12:32:19
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
原题 1 class Solution: 2 def searchRange(self, nums: List[int], target: int) -> List[int]: 3 ans,lens = [-1,-1],len(nums) 4 left,right,flag = 0,lens - 1 ...
分类:
编程语言 时间:
2021-02-15 12:26:30
阅读次数:
0
spring.datasource.url=jdbc:oracle:thin:@localhost:1521:orclspring.datasource.username=zhouriyuespring.datasource.password=13768184197spring.datasource ...
分类:
数据库 时间:
2021-02-15 11:56:11
阅读次数:
0
Copy List with Random Pointer (M) 题目 A linked list is given such that each node contains an additional random pointer which could point to any node in ...
分类:
其他好文 时间:
2021-02-15 11:52:08
阅读次数:
0
安装好Tomcat9之后,执行./start.sh启动时没有报错,但是在浏览器中打不开Tomcat的页面。而且在执行./shutdown.sh关闭服务器时报告了这样一个错误:
Tomcat9 Error: Could not find or load main class org.apache.ca... ...
分类:
Web程序 时间:
2021-02-10 13:16:40
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:
其他好文 时间:
2021-02-10 12:54:11
阅读次数:
0