自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 栅格切片与WMTS服务发布

WMTS – OGC Web Map Tile Servicehttps://gdal.org/drivers/raster/wmts.html切瓦片https://www.cnblogs.com/wang985850293/p/5381684.html服务发布QGIShttps://blog.csdn.net/sf2gis2/article/details/52854059...

2020-04-29 09:01:26 1532

原创 国家2000坐标系CGCS2000(EPSG4490和EPSG4479)参数

EPSG:4490China Geodetic Coordinate System 2000 (CGCS2000)经纬度坐标系Unit:degree (supplier to define representation)Geodetic CRS:China Geodetic Coordinate System 2000Datum:China 2000Ellipsoid:...

2020-04-27 14:18:02 38101 6

转载 windows下将pyx文件编译成pyd文件

想将目标检测常用的模块bbox.pyc编译成pyd文件第一步:写cython编译文件build_pyd.pyimport sysimport numpy as npA=sys.path.insert(0, "..")from distutils.core import setupfrom distutils.extension import Extensionfrom Cyth...

2020-04-23 00:17:55 1375

原创 Python设置系统环境变量适配指定版本cuda

cuda在windows系统环境变量中主要涉及“path”和“CUDA_PATH”,只需在程序里临时更新即可,以配置cuda9为例import ospath_add = r'D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin;D:\Program Files\NVIDIA GPU Computing Toolkit\CUD...

2020-04-21 21:51:02 2476 5

转载 h5文件读取失败-OSError:Unable to open file (file signature not found)

使用keras在加载网络网络参数的时候出现这个问题File "h5py\h5f.pyx", line 78, in h5py.h5f.openOSError: Unable to open file (file signature not found)这是因为加载的数据问题不完整或非hdf5文件。...

2020-04-18 10:17:58 12001

转载 TensorFlow Lite Post-training quantization

Optimization optionsThere are several post-training quantization options to choose from. Here is a summary table of the choices and the benefits they provide:Technique Benefits Hardware Dy...

2020-04-12 14:30:11 753

转载 使用TensorRT加速GPU上的TensorFlow推理

本文翻译于博客Speed up TensorFlow Inference on GPUs with TensorRT,这篇博客介绍了如何使用TensorRT加速TensorFlow模型的推理速度,作者为:Siddharth Sharma — Technical Product Marketing Manager, NVidia Sami Kama — Deep Learning Develo...

2020-04-08 16:07:40 1238

转载 使用TensorRT加速GPU上的TensorFlow推理

本文翻译于博客Speed up TensorFlow Inference on GPUs with TensorRT,这篇博客介绍了如何使用TensorRT加速TensorFlow模型的推理速度,作者为:Siddharth Sharma — Technical Product Marketing Manager, NVidia Sami Kama — Deep Learning Develo...

2020-04-08 16:06:55 707

原创 Anaconda中出现 MoudleNotFoundError: No module named 'conda'

ubuntu系统更新python后,使用conda出错root@jupyter:# condaTraceback (most recent call last): File "/opt/conda/bin/conda", line 7, in <module> from conda.cli import mainModuleNotFoundError: No mo...

2020-04-05 21:04:02 6216

原创 深度学习训练策略-学习率预热Warmup

一、什么是Warmup?Warmup是在ResNet论文中提到的一种学习率预热的方法,它在训练开始的时候先选择使用一个较小的学习率,训练了一些steps(15000steps,见代码1)或者epoches(5epoches,见代码2),再修改为预先设置的学习来进行训练。例如:二、为什么使用Warmup?由于刚开始训练时,模型的权重(weights)是随机初始化的,此时若选择一个较大...

2020-04-05 17:06:20 14432 4

转载 迁移TensorFlow 1代码到TensorFlow 2

转自:https://www.tensorflow.org/guide/migrate目录Automatic conversion scriptTop-level behavioral changesMake the code 2.0-native1. Replacev1.Session.runcalls2. Use Python objects to track va...

2020-04-05 13:36:51 1451

原创 opencv安装 pip install opencv-python

一般情况下,安装包都是用pip install 包名就好了,即pip install opencv但是 pip install opencv 发现没有这个包,需要写成pip installopencv-python参考:https://blog.csdn.net/Lisa_Ren_123/article/details/81702364...

2020-04-05 08:48:48 12778

转载 Python module package

模块 module通常模块为一个文件,直接使用import来导入就好了。可以作为module的文件类型有".py"、".pyo"、".pyc"、".pyd"、".so"、".dll"。包 package通常包总是一个目录,可以使用import导入包,或者from +import来导入包中的部分模块。包目录下为首的一个文件便是__init__.py。然后是一些模块文件和子目录,假如子目录...

2020-04-03 20:51:24 94

原创 解决tensorflow.keras错误ImportError: `save_model` requires h5py

使用tensorflow.keras中的save_model时,发生错误ImportError: `save_model` requires h5py追踪了下是因为h5py无法导入,cmd里测试可以导入,但是在python IDE里失败,错误为:ImportError: DLL load failed: The specified module could not be found...

2020-04-03 17:02:13 5916

原创 tensorflow 2.0下keras兼容自定义的image generator

tensorfolw2.0下使用自定义的generator会报错,AttributeError: '*DataLoader' object has no attribute 'shape'主要因为没有正确识别,需要修改:\tensorflow_core\python\keras\engine\training_generator.py在num_samples = int(nest.flat...

2020-04-03 14:23:08 907 1

空空如也

空空如也

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

TA关注的人

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