自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 Threshold Matters in WSSS: Manipulating the Activation for the Robust and Accurate Segmentation Mode

CVPR2022 弱监语义分割篇

2023-02-05 19:26:11 276 1

原创 息肉分割(Polyp Segmentation)论文汇总

息肉分割

2022-06-03 16:59:38 703

原创 ConvNeXt

2022-04-21 15:35:43 150

原创 RepLKNet

2022-04-21 15:34:14 226

原创 ACmix

2022-04-21 15:31:59 384

原创 RepLKnet

2022-04-21 15:29:50 97

原创 重参数化结构(structural re-parameterization)

重参数化结构是最近比较火🔥的方法来提高模型的性能

2022-04-21 15:26:47 1555

原创 两数相加最优解

class Solution:def twoSum(self,nums, target):“”":type nums: List[int]:type target: int:rtype: List[int]“”"#用len()方法取得nums列表长度n = len(nums)#创建一个空字典d = {}for x in range(n):a = target - nums[x]#字典d中存在nums[x]时if nums[x] in d:return d[nums[x]],x

2021-05-17 14:36:35 151

原创 2021-05-01

class Solution: def findTheDifference(self, s: str, t: str) -> str: ans = 0 for i in s: ans ^= ord(i) for i in t: ans ^= ord(i) return chr(ans)

2021-05-01 00:03:09 63 1

原创 191.1的个数

# 方法一def hammingWeight(n): res = 0 while n: res += n & 1 # 如果最后一位是1,交集为1 n >>= 1 # 向右移动一位 return res# 方法二:def hammingWeight1(n:int): return bin(n).count("1") # bin(666) = '0b1010011010'# 方法三:def hammingWei

2021-04-29 00:08:59 54

原创 2021-04-27

def majorityElement(nums): count = 0 res = 0 for i in nums: if count == 0: res = i if i == res: count = count + 1 else: count = count - 1 return res# 这方法只有在众数过半的时候才能用,不然很可能选不出最多的

2021-04-27 21:51:51 39

原创 136. singleNumber

def singleNumber(nums): for i in range(1, len(nums)): nums[0] ^= nums[i] return nums[0]# 异或运算满足交换律,a^b^a=a^a^b=b,因此相当于nums[0]^nums[1]^nums[2]^nums[3]^nums[4].....# 然后再根据交换律把相等的合并到一块儿进行异或(结果为0),# 然后再与只出现过一次的元素进行异或,这样最后的结果就是,只出现过一次的元素(0^任意

2021-04-26 23:43:46 44

原创 78.子集

from typing import Listdef subsets(nums: List[int]) -> List[List[int]]: res = [[]] for i in nums: a = [[i] + num for num in res] print(a) res = res + a # print(res) return resdef subsets2(nums: List[int])

2021-04-25 22:48:41 42

原创 9. 回文数

def isPalindrome(x: int) -> bool: if x < 0 or (x != 0 and x % 10 == 0): # 判断是否x<10 return False res = 0 while x > res: # 直到中间的时候停止 res = res * 10 + x % 10 # 保存后半部分 x = x // 10 # 消除最后一位 return (x == re

2021-04-24 19:44:12 38

原创 190.reverseBit

颠倒二进制位:def reverseBits(n:int): res = 0 for i in range(32): res = (res << 1) | (n & 1) n >>= 1 return res

2021-04-23 11:47:08 84

原创 7. reverse integer

def reverse(x: int): # this use the string if -10 < x < 10: return x str_x = str(x) if str_x[0] != '-': str_x = str_x[::-1] x = int(str_x) else: str_x = str_x[:0:-1] x = int(str_x) x = -x re

2021-04-22 20:52:56 45

原创 深度学习之线性回归

CNN之线性回归import randomfrom mxnet import autograd, nddef data_iter(batch_sizes, feature, result): num = len(feature) indices = list(range(num)) random.shuffle(indices) # read the data randomly for i in range(0, num, batch_size):

2021-04-21 22:46:53 106 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除