自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PIL image.fromarray()函数

PIL image.fromarray()函数

2022-09-06 18:13:59 4644

原创 电脑内存占用过高 但是任务管理器查看没有很多进程

解决方案:1.win+s2.输入cmd3.点击以管理员身份运行4.输入命令

2022-06-01 08:02:00 6696 2

原创 成功解决ModuleNotFoundError: No module named ‘torch.utils.tensorboard‘

torch版本低 更新torchpip install --upgrade torch

2022-04-08 01:54:38 2165

原创 resnet 实现

import tensorflow as tfimport collectionsimport timefrom datetime import datetimeimport math '''############################################04《TensorFlow实战》实现ResNet_V2##################################################'''slim = tf.contrib.slim '''使

2022-04-07 00:59:18 274

原创 tensorboard网页打不开

用cd切换到保存文件的上一个路径,在终端输入下面命令tensorboard --logdir log --host=127.0.0.1在谷歌浏览器打开得到的网址

2022-04-05 18:12:18 1054

原创 【Tensorflow】slim.arg_scope()的使用

首先用@slim.add_arg_scope修饰目标函数fun1(),然后利用slim.arg_scope()为它设置默认参数import tensorflow as tfslim =tf.contrib.slim @slim.add_arg_scopedef fun1(a=0,b=0): return (a+b) with slim.arg_scope([fun1],a=10): x=fun1(b=30) print(x)运行结果为40平常所用到的slim.co

2022-03-24 18:04:45 330

原创 池化的计算

new_height = (input_height - filter_height)/S + 1new_width = (input_width - filter_width)/S + 1S表示步长

2022-03-24 17:41:23 495

原创 解决error: Microsoft Visual C++ 14.0 or greater is required.

在编译时报错error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/复制链接进入下载并打开文件安装

2022-03-15 13:48:45 2446

原创 解决CondaHTTPError: HTTP 000 CONNECTION FAILED for url

用git bash创建conda虚拟环境时无法创建 总是有package安装不完,报错CondaHTTPError: HTTP 000 CONNECTION FAILED for url进入”C:\Users\Administrator“,打开“.condarc“把里面替换成下面代码:channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ - http://mirrors.tuna.tsinghua.edu.c

2022-03-15 12:36:46 912

原创 java封装中关于set()和get()的用法

set()的用法用来设置值public void setName(String name) { this.name = name; }get()的用法用来获取值public int getAge() { return age; }set和get方法都是对私有域变量进行操作的,所以大多数都是使用在包含特定属性的类实体中。快捷键 alt+insertpackage Package;public class Student { p

2022-03-06 23:11:08 1162

原创 构造器详解

java文件编译后生成class文件

2022-03-06 00:23:57 139

原创 java封装

以类的方式组织代码,以对象的方式封装数据

2022-03-05 23:03:16 186

原创 pip 安装 cuda 9.2 版本的 Pytorch

在终端输入下面命令pip install torch==1.5.0+cu92 torchvision==0.6.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html

2022-03-03 13:08:50 2339

原创 【 linux如何查看cuda版本】

linux如何查看cuda版本终端输入nvcc -V命令,即可查询到CUDA版本号

2022-03-03 12:34:20 15327

空空如也

空空如也

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

TA关注的人

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