Kornia v0.5.4 发布!新增多个数据增广 Container

栏目: 软件资讯 · 发布时间: 4年前

内容简介:本次Kornia 的更新中,主要增加对Canny的支持以及新增了多种图像处理容器(例如,视频容器,图像增广容器)。 例如对于数据增广中的各种常见格式(mask, bbox, keypoints),以及图像变换的inverse: aug_list...

本次Kornia 的更新中,主要增加对Canny的支持以及新增了多种图像处理容器(例如,视频容器,图像增广容器)。

例如对于数据增广中的各种常见格式(mask, bbox, keypoints),以及图像变换的inverse:

aug_list = AugmentationSequential(
    K.ColorJitter(0.1, 0.1, 0.1, 0.1, p=1.0),
    K.RandomAffine(360, [0.1, 0.1], [0.7, 1.2], [30., 50.], p=1.0),
    K.RandomPerspective(0.5, p=1.0),
    data_keys=["input", "bbox", "keypoints", "mask"],  # Just to define the future input here.
    return_transform=False,
    same_on_batch=False,
)
# forward the operation
out_tensors = aug_list(img_tensor, bbox, keypoints, mask)
# Inverse the operation
out_tensor_inv = aug_list.inverse(*out_tensor)

Kornia v0.5.4 发布!新增多个数据增广 Container

此外,我们新增了PatchAugmentSequential来支持更多最新的图像增强方法。

Kornia v0.5.4 发布!新增多个数据增广 Container

[0.5.4] - 2021-06-11

Added

  • Add Canny edge detection (#1020)
  • Added Batched forward function (#1058)
  • Added denormalize homography function (#1061)
  • Added more augmentations containers (#1014)
  • Added calibration module and Undistort 2D points function (#1026)
  • Added patch augmentation container (#1095)

Fixed

Changed

  • Resize regardless of number of dims, considering the last two dims as image (#1047)
  • Raise error if converting to unit8 image to gray with float weights (#1057)
  • Filter 2D->2d, 3D->3d (#1069)
  • Removed augmentation functional module. (#1067)
  • Make Morphology compatible with both OpenCV and Scipy (#1084)

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

利用Python进行数据分析 原书第2版

利用Python进行数据分析 原书第2版

Wes McKinney / 徐敬一 / 机械工业出版社 / 2018-7 / 119

本书由Python pandas项目创始人Wes McKinney亲笔撰写,详细介绍利用Python进行操作、处理、清洗和规整数据等方面的具体细节和基本要点。第2版针对Python 3.6进行全面修订和更新,涵盖新版的pandas、NumPy、IPython和Jupyter,并增加大量实际案例,可以帮助你高效解决一系列数据分析问题。 第2版中的主要更新包括: • 所有的代码,包括把Py......一起来看看 《利用Python进行数据分析 原书第2版》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换