
错误解决
zhongruizhe
这个作者很懒,什么都没留下…
展开
-
docker up解决 unable to get image ‘XXX: Error response from daemon: invalid reference format
在实现fabric-sdk-py的过程中需要启动docker时出现错误。原创 2024-08-01 09:27:59 · 797 阅读 · 0 评论 -
Cordova安装安卓插件Could not load API for .idea project
在Cordova使用cordova plugins add命令时报错。原创 2023-01-04 09:59:44 · 754 阅读 · 0 评论 -
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 · 692 阅读 · 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 · 3756 阅读 · 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 · 1022 阅读 · 0 评论 -
vscode 远程开发 提示 could not establish connection to ““.连接错误
原因扩展设置没有添加,在此处添加对应的config文件即可,一般是在C:\Users\(自己的电脑用户名).ssh\config中把路径写入红圈部分就能连接了!!!原创 2021-05-08 20:38:19 · 4401 阅读 · 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 · 875 阅读 · 0 评论 -
AttributeError: module ‘skimage‘ has no attribute ‘measure‘
AttributeError: module ‘skimage’ has no attribute ‘measure’原因:scikit-image版本不对解决方案:原创 2021-04-28 14:13:51 · 2490 阅读 · 0 评论 -
yolov5不识别,深度学习无效,1660s显卡
一定要避坑啊!!!这些Tensor核心!!!不能进行深度学习,千万不要买这些显卡!!!!原创 2021-04-13 16:07:48 · 3819 阅读 · 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 · 1031 阅读 · 0 评论 -
解决 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 · 8577 阅读 · 8 评论