摘要: 40. 组合总和 II class Solution {//对于【1(a)、1(b)、2】target=3情况,会出现两个(1、2) //所以,应排好序,则相同数必相邻,处理到相邻相同时跳过则可去重 List<List<Integer>> ans = new ArrayList<>(); List< 阅读全文
posted @ 2022-02-27 10:30 Wind·Chaser 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 39. 组合总和 class Solution { List<List<Integer>> res = new ArrayList<>(); public List<List<Integer>> combinationSum(int[] candidates, int target) { if(ca 阅读全文
posted @ 2022-02-22 14:36 Wind·Chaser 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 47. 全排列 II 1 class Solution { 2 public List<List<Integer>> permuteUnique(int[] nums) { 3 List<List<Integer>> ans = new ArrayList<>(); 4 int[] visited 阅读全文
posted @ 2022-02-21 00:00 Wind·Chaser 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 46. 全排列 1 class Solution { 2 public List<List<Integer>> permute(int[] nums) { 3 List<List<Integer>> res = new ArrayList<>(); 4 int[] visited = new int 阅读全文
posted @ 2022-02-19 17:28 Wind·Chaser 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 问题: 最近在做mmdetection相关的东西, 想用ssd跑下voc2007数据集, 在我未对.\configs\pascal_voc\ssd300_voc0712.py做任何改动的情况下调用 python .\tools\browse_dataset.py .\configs\pascal_v 阅读全文
posted @ 2021-02-09 17:29 Wind·Chaser 阅读(6847) 评论(1) 推荐(0) 编辑
摘要: 主要原因应该是硬件能够支持的算力比较高,能达到8.6,但是cuda11.0支持不了这么高的算力,通过下述脚本,设置环境变量,降低算力要求,即可:export TORCH_CUDA_ARCH_LIST="7.5" 阅读全文
posted @ 2021-02-08 23:25 Wind·Chaser 阅读(2244) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/restore-the-array-from-adjacent-pairs 存在一个由 n 个不同元素组成的整数数组 nums ,但你已经记不清具体内容。好在你还记得 nums 中的每一对相邻元素。 给你一个二维整数数组 adjace 阅读全文
posted @ 2021-01-31 19:33 Wind·Chaser 阅读(90) 评论(0) 推荐(0) 编辑
摘要: TortoiseGit安装、配置 1 TortoiseGit简介 tortoiseGit是一个开放的git版本控制系统的源客户端,支持Winxp/vista/win7.该软件功能和git一样 不同的是:git是命令行操作模式,tortoiseGit界面化操作模式,不用记git相关命令就可以直接操作, 阅读全文
posted @ 2020-12-21 22:31 Wind·Chaser 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 递归求阶乘和 1 #include<stdio.h> 2 long Recursion(int n) { 3 if (n == 1 || n == 0) { 4 return 1; 5 } 6 else { 7 return Recursion(n - 1) * n; 8 } 9 } 10 int 阅读全文
posted @ 2020-11-24 15:41 Wind·Chaser 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 什么是TIFF?TIFF是Tagged Image File Format的缩写。在现在的标准中,只有TIFF存在, 其他的提法已经舍弃不用了。做为一种标记语言,TIFF与其他文件格式最大的不同在于除了图像数据,它还可以记录很多图像的其他信息。它记录图像数据的方式也比较灵活, 理论上来说, 任何 阅读全文
posted @ 2020-11-02 19:19 Wind·Chaser 阅读(2303) 评论(0) 推荐(0) 编辑