自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 validating /hyp/fabric-sdk-py/test/fixtures/ca/docker-compose.yml: (root) Additional property ca is

原因是docker-compose.yml格式没有写对。

2024-08-10 22:39:43 99

原创 docker up解决 unable to get image ‘XXX: Error response from daemon: invalid reference format

在实现fabric-sdk-py的过程中需要启动docker时出现错误。

2024-08-01 09:27:59 182

原创 TypeError: ‘generator‘ object is not callable

在fetch的时候不知道为什么发生了故障,后来我发现我的数据不符合相应的条件。所以直接把如图所示的地方注释掉了。

2024-01-29 18:08:59 620 1

原创 AttributeError: module ‘torchtext.data‘ has no attribute ‘ReversibleField‘

ReversibleField

2024-01-29 12:37:15 426

原创 Cordova安装安卓插件Could not load API for .idea project

在Cordova使用cordova plugins add命令时报错。

2023-01-04 09:59:44 646

原创 EOFError: Ran out of input

EOFError: Ran out of input报错信息如下:Traceback (most recent call last): File "G:/image/image-captioning-DLCT-main/eval.py", line 137, in <module> scores = predict_captions(model, dict_dataloader_test, text_field,cider_test,args) File "G:/image/

2021-11-01 01:10:05 642 1

原创 gather_out_cuda(): Expected dtype int64 for index

gather_out_cuda(): Expected dtype int64 for index在 Dual-Level Collaborative Transformer for Image Captioning复现代码的时候发现bug。问题原因:由于pytorch版本不对因为我的显卡是gtx3090,所以cuda版本只能是11.0,安装的pytorch1.7解决思路:初始代码:selected_beam = selected_idx / candidate_logprob.shape[-1

2021-10-31 01:54:15 3680 4

原创 AttributeError: module ‘tensorflow..io’ has no attribute gfile‘’

1. 问题AttributeError: module ‘tensorflow.io’ has no attribute gfile'2. 原因tensorflow和tensorboard版本对应有问题3. 解决方案import tensorflow as tfimport tensorboard as tbtf.io.gfile = tb.compat.tensorflow_stub.io.gfile感谢:参考链接...

2021-10-10 18:05:20 936

原创 ModuleNotFoundError: No module named ‘pycocotools._mask‘

ModuleNotFoundError: No module named ‘pycocotools._mask’遇到问题,首先打开https://pypi.tuna.tsinghua.edu.cn/simple/pycocotools-windows/安装自己的电脑和python版本对应下载即可。cp代表python版本,win32为32位系统,win_amd64为64位。然后pip install pycocotools_windows-2.0-cp38-cp38-win_amd64.wh.

2021-10-06 23:34:01 1125

原创 图像去噪BRDNet pytorch实现

paper名称:Image Denoising using Deep CNN with Batch ReNormalization文章paper在这:https://www.sciencedirect.com/science/article/abs/pii/S0893608019302394keras实现代码:https://github.com/hellloxiaotian/BRDNetclass BRDNet(nn.Module): def __init__(self, channel.

2021-05-20 15:32:06 1785 5

原创 vscode 远程开发 提示 could not establish connection to ““.连接错误

原因扩展设置没有添加,在此处添加对应的config文件即可,一般是在C:\Users\(自己的电脑用户名).ssh\config中把路径写入红圈部分就能连接了!!!

2021-05-08 20:38:19 4301 2

原创 npm安装web3报错

npm ERR! code ENOENTnpm ERR! syscall spawn gitnpm ERR! path gitnpm ERR! errno ENOENTnpm ERR! enoent spawn git ENOENTnpm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoent npm ERR! A complete log of this run can be foun

2021-05-06 15:00:22 836

原创 AttributeError: module ‘skimage‘ has no attribute ‘measure‘

AttributeError: module ‘skimage’ has no attribute ‘measure’原因:scikit-image版本不对解决方案:

2021-04-28 14:13:51 2364

原创 yolov5不识别,深度学习无效,1660s显卡

一定要避坑啊!!!这些Tensor核心!!!不能进行深度学习,千万不要买这些显卡!!!!

2021-04-13 16:07:48 3654 12

原创 多线程 threading模块 只有一个线程运行

冥思苦想好几个小时,多线程一直只有第一个运行,在百度上搜了好久直到我发现了这个:https://www.cnblogs.com/This-is-Y/p/12316801.htmldef run(): threads = [ threading.Thread(target=detect1(args)), #, args=(self,) threading.Thread(target=detect2(args)), threading.Thread

2021-04-12 00:43:30 973

原创 解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件 sp.PIPE

解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件File "D:/tangku/model_yolov5/track7(66).py", line 347, in detect pip = sp.Popen(command, stdin=sp.PIPE) File "C:\Users\KK\.conda\envs\jc\lib\subprocess.py", line 854, in __init__ self._execute_child(a

2021-04-06 19:06:01 8237 8

空空如也

空空如也

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

TA关注的人

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