- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Attention U-Net网络
Attention U-Net网络pytorch构建 from torch import nn from torch.nn import functional as F import torch from torchvision import models import torchvision class conv_block(nn.Module): def __init__(self,ch_in,ch_out): super(conv_block,self).__init__(
2022-04-28 17:30:09
1222
原创 open3d八叉树调试
open3d八叉树调试 import numpy as np import open3d as o3d bunny_pcd = o3d.io.read_point_cloud("cloud_data/bunny.pcd") point = np.asarray(bunny_pcd.points) N = point.shape[0] # 点云随机着色 bunny_pcd.colors = o3d.utility.Vector3dVector(np.random.uniform(0, 1, size=(N
2022-04-28 17:25:42
367
原创 U-Net++网络构建
U-Net++的pytorch构建 from torch import nn from torch.nn import functional as F import torch from torchvision import models import torchvision class DoubleConv(nn.Module): def __init__(self, in_ch, out_ch): super(DoubleConv, self).__init__()
2022-04-28 17:19:16
470
原创 多种插值方法
图像降维,多种插值方法 import cv2 as cv import numpy as np from matplotlib import pyplot as plt # 用来正常显示中文标签 plt.rcParams['font.sans-serif'] = ['SimHei'] # 随机生成一张图片用于测试插值算法 img = np.uint8(np.random.randint(0, 255, size=(1024,1024))) height,width = img.shape # 实际输入
2021-11-22 17:00:15
266
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人