技术
qq_40199232
PhD Candidate,计算机本,人工智能硕,网络安全博。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git上传代码到GitHub
将本地的代码关联到github上 git remote add origin 项目的github地址。进入本地的项目目录,右键“Git Bash here”,调出git命令行界面,然后输入。repository”跳转到一个连接,如下红色圈获取到本项目的github地址。在github上创建新的repository,点击 “Create。就是将目录下的所有文件上传,也可以将“.”换成具体的文件名。上传的步骤:(本文采用git 命令界面进行操作)上传代码到github之前需要先。将项目提交到gitHub。原创 2022-11-11 11:25:50 · 631 阅读 · 1 评论 -
Proxmox VE(PVE)虚拟机如何添加硬盘
Proxmox VE(PVE)虚拟机如何添加硬盘。原创 2022-09-03 21:45:37 · 2696 阅读 · 0 评论 -
查看matplotlib中的存在的字体
【代码】查看matplotlib中的存在的字体。原创 2022-08-19 15:04:50 · 1382 阅读 · 0 评论 -
Fablo | 生成Hyperledger Fabric blockchain并在dockers上运行
参考项目:https://github.com/fablo-io/fablo-rest。原创 2022-08-17 22:00:23 · 2477 阅读 · 0 评论 -
ModuleNotFoundError: No module named ‘keras.api‘
使用from keras import backend as K出现报错ModuleNotFoundError: No module named 'keras.api'将from keras import backend as K改成from tensorflow.keras import backend as K原创 2021-09-09 11:18:10 · 20835 阅读 · 5 评论 -
print输出保存到txt
import syssys.stdout = open('output.txt','wt')print ("Hello stackoverflow!")print ("I have a question.")原创 2021-08-18 12:22:48 · 760 阅读 · 1 评论 -
python matplotlib 图片模糊问题
解决办法:plt.savefig(‘fix.jpg’, dpi=300) #指定分辨率保存原创 2021-07-22 19:14:46 · 2497 阅读 · 1 评论 -
vscode配置跳板机连接服务器
Host invix_springboard HostName 47.110.xx.yy Port 6000 User root IdentityFile ~/.ssh/id_rsa原创 2020-11-08 23:35:45 · 746 阅读 · 0 评论 -
Jupyter Notebook代码提示及补齐功能
https://blog.youkuaiyun.com/cjw12581/article/details/104835296原创 2020-11-07 20:18:35 · 624 阅读 · 0 评论 -
ImportError:你需要首先`import keras`才能使用`keras_applications`
核对tensorflow和keras版本对应关系原创 2020-11-06 21:38:13 · 3369 阅读 · 0 评论 -
cmake安装更新(解决cmake报错:CMake 3.8 or higher is required. You are running version 3.5.1
https://blog.youkuaiyun.com/mengyu_0317/article/details/106868041原创 2020-11-01 16:28:18 · 9150 阅读 · 0 评论 -
jupyter notebook如何选择conda环境
https://blog.youkuaiyun.com/BigBossZjz/article/details/79985082原创 2020-11-01 15:16:04 · 715 阅读 · 0 评论 -
本地访问服务器端的jupyter notebook
https://cloud.tencent.com/developer/article/1365548https://www.cnblogs.com/honway/p/9559324.htmlhttps://zhuanlan.zhihu.com/p/64524822原创 2020-10-29 21:16:01 · 447 阅读 · 0 评论 -
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.ts
清华源不更新了。我遇到这个问题是删除defaults和其他国内镜像。使用如下两个官方镜像conda config --add channels biocondaconda config --add channels conda-forge相关命令见原创 2020-10-29 14:36:18 · 3234 阅读 · 1 评论 -
将多张图片转成gif
convert -delay 10 -loop 0 *.png keras_class_boundaries.gif原创 2020-10-28 00:10:01 · 536 阅读 · 0 评论 -
解决Tensorflow2.0出现:AttributeError: module ‘tensorflow‘ has no attribute ‘get_default_graph‘的问题
https://blog.youkuaiyun.com/public669/article/details/99686151原创 2020-10-28 00:06:37 · 1286 阅读 · 0 评论 -
【conda】解决 An HTTP error occurred when trying to retrieve this URL.
原因是conda源加入了不知名的URL,现在不能使用了(或者废弃)重置源配置conda config --remove-key channels原创 2020-10-27 16:58:55 · 1406 阅读 · 0 评论 -
Cannot update while running on a read-only volume. The application is on a read-only volume. Please
解决方式:执行以下命令之后重启vscode就可以了sudo chown -R $USER ~/Library/Caches/com.microsoft.VSCode.ShipItxattr -dr com.apple.quarantine /Users/bear/Downloads/Visual\ Studio\ Code.app// 换成自己电脑的vscode安装的路径note:Visual\ Studio\ Code.app 不要修改...原创 2020-10-26 13:54:57 · 3918 阅读 · 0 评论 -
将多张连续的静态图转成gif动态图
convert -delay 10 -loop 0 *.png keras_class_boundaries.gif原创 2020-10-26 10:38:09 · 996 阅读 · 0 评论 -
Keyerror ‘acc‘ KeyError: ‘val_acc‘解决方法
在使用keras时候报错Keyerror ‘acc’,这是一个keras版本问题,acc和accuracy本意是一样的,但是不同keras版本使用不同命名,因此需要更换。val_acc也是如此。把acc改成accuracy;val_acc,改成val_accuracyhttps://blog.youkuaiyun.com/liupeng19970119/article/details/105963118/...原创 2020-10-26 10:33:19 · 802 阅读 · 0 评论 -
路径中“./”、“../”、“/”代表的含义
“./”:代表目前所在的目录。" . ./"代表上一层目录。“/”:代表根目录。https://blog.youkuaiyun.com/Young__Fan/article/details/80152501原创 2020-10-26 10:26:14 · 43775 阅读 · 1 评论 -
_tkinter.TclError: no display name and no $DISPLAY environment variable
1.在服务器端安装xterm和xauth:sudo apt-get install xtermsudo apt-get install xauth2.在服务器端vi /etc/ssh/sshd_config,添加一行:X11Forwarding yes3.重启sshdsystemctl restart sshd.service --重启systemctl status sshd.service --查看状...原创 2020-10-25 15:02:21 · 1375 阅读 · 1 评论 -
运行python脚本时出现no module named cv2怎么解决
https://blog.youkuaiyun.com/xnightmare/article/details/81416761原创 2020-10-22 08:19:10 · 865 阅读 · 0 评论 -
github的git clone太慢怎么办
使用码云先clone一下,然后再git clone。原创 2020-10-21 15:24:40 · 464 阅读 · 0 评论 -
12个写论文必备的神经网络可视化工具
https://wemp.app/posts/9ee70a73-e840-49e0-909b-bed7ab020628原创 2020-10-17 23:41:43 · 682 阅读 · 0 评论 -
Recipe terminated with error. vscode latex-workshop新的配置文件
https://blog.youkuaiyun.com/u013892042/article/details/88080232原创 2020-10-17 21:07:06 · 2208 阅读 · 0 评论 -
Python 中的 if __name__ == ‘__main__‘ 该如何理解
如何简单地理解Python中的if name == ‘main’Python 中的 if name == ‘main’ 该如何理解转载 2020-10-17 15:22:05 · 289 阅读 · 0 评论 -
BUG解决:RuntimeError:Given groups=1,weight of size...expected input...but got 3 channels instead.
https://www.codeleading.com/article/31383072717/原创 2020-10-17 11:55:56 · 8322 阅读 · 0 评论 -
anaconda python no module named ‘past‘的解决方法
http://www.bubuko.com/infodetail-2306397.html原创 2020-10-17 11:52:02 · 525 阅读 · 0 评论 -
python版本降级
python 版本降级,使用conda直接安装指定版本就行conda install python==3.6原创 2020-10-17 11:33:27 · 17536 阅读 · 1 评论 -
Detected that PyTorch and torch_sparse were compiled with different CUDA versions. PyTorch has CUDA
Detected that PyTorch and torch_sparse were compiled with differentCUDA versions. PyTorch has CUDA version 10.1 and torch_sparse has CUDAversion 0.0. Please reinstall the torch_sparse that matches yourPyTorch install.重新安装版本错误的那个https://zhuanlan.zhih.原创 2020-09-19 11:56:44 · 3474 阅读 · 0 评论 -
ModuleNotFoundError: No module named ‘torch_sparse‘
使用pip install torch_sparse原创 2020-09-19 11:35:26 · 3344 阅读 · 1 评论 -
vscode加作者表头
https://marketplace.visualstudio.com/items?itemName=OBKoro1.korofileheader使用这个插件模版原创 2020-09-18 09:17:58 · 778 阅读 · 0 评论 -
mac vscode远程服务器
https://blog.youkuaiyun.com/huoxinglangzhong/article/details/106086264原创 2020-09-17 09:26:18 · 988 阅读 · 0 评论 -
dpkg: error processing package sunloginclient (--install): dependency problems - leaving unconfigur
dpkg: error processing package sunloginclient (–install): dependencyproblems - leaving unconfigured使用dpkg -i *.deb 的时候出现依赖没有安装使用apt-get -f -y install 解决依赖问题后再执行dpkg安装deb包原创 2020-08-27 10:38:32 · 6309 阅读 · 0 评论 -
Mac上的IDEA安装配置maven
https://blog.youkuaiyun.com/weixin_30363263/article/details/86313283?utm_medium=distribute.pc_relevant.none-task-blog-baidulandingword-3&spm=1001.2101.3001.4242原创 2020-08-09 14:08:56 · 321 阅读 · 0 评论
分享