- 博客(17)
- 收藏
- 关注
原创 解决错误:RuntimeError: result type Float can‘t be cast to the desired output type __int64
RuntimeError: result type Float can't be cast to the desired output type __int64
2022-12-08 11:03:43
23903
55
原创 AttributeError: module ‘distutils‘ has no attribute ‘version‘ 或者使用tensorboard不出现graph
原因:setuptools版本过高可以使用pip list查看自己的版本号,conda activate pytorch1激活自己的环境pip list查看相关配置版本,这一步可以发现我的setuptools版本号为59.6.0pip install setuptools==59.5.0降低版本之后重新运行,没有报错:AttributeError: module ‘distutils’ has no attribute ‘version’使用tensorboard也可以看到gra
2022-05-25 15:29:18
2733
3
原创 解决错误OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。
学习transforms时,输入tensorboard --logdir=logs时没有出现运行地址,反而出现错误OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。原因:端口被占用问题此处端口号为6006解决办法:1.命令提示符中查看哪个进程占用了端口号netstat -ano|findstr 6006findstr 5272(查看详细信息,5272为上一步查出来的结果)2.kill进程taskkill /pid 5272 /F
2022-05-16 19:50:45
8490
4
原创 在terminal中下载了opencv,控制台import cv2时却报错 ModuleNotFoundError: No module named ‘cv2‘
import cv2出错:ModuleNotFoundError: No module named ‘cv2’...
2022-05-16 16:57:25
553
原创 pip list出现问题,更新版本又出现Cache entry deserialization failed, entry ignored如何解决
用conda 安装环境时pip list 显示如下问题:正在使用pip9.0.1,需要更新pip版本DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this
2022-05-11 20:18:35
1084
转载 Error: Cannot find module ‘express‘
运行某个文件时出错,显示Error: Cannot find module ‘express’解决方法:在对应的应用目录下执行命令npm install -g express(这个不确定不执行有没有影响)npm install
2021-07-06 11:44:15
344
原创 Linux root密码重置和root下输入命令还显示bash:什么什么权限不够
1.忘记了root的密码,试了半天密码发现可以直接重置终端中输入sudo passwd root重置root密码由普通用户切换为rootsu root输入root的密码成功切为root2.root下依然显示某条命令权限不够时,为该条命令添加权限例如终端中输入 ./wfc start显示bash:./wfc权限不够此时为./wfc添加权限 chmod +x ./wfc再次输入./wfc start 成功...
2021-07-06 11:28:57
997
原创 安装arcgis server 10.2遇到的问题
照步骤安装出现以上问题:Failed to create the site. The machine does not have a valid license. Please authorize ArcGIS Server by navigating to the Apps page and choose ArcGIS > Software Authorization。创建站点失败,机器没有有效的许可证,请到Arcgis->Software authorization中重新授权尝试了网上.
2021-04-09 20:38:29
5056
14
转载 IIS部署,发布网站
转自https://blog.youkuaiyun.com/zhangxiao0122/article/details/80563557/
2021-03-10 09:55:58
138
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人