- 博客(8)
- 收藏
- 关注

原创 如何将主机内的压缩包上传到虚拟机LInux系统目录下及解压操作
前提:ISO镜像已配置好 第一步///安装VM-Tools并让服务自动启动 1 yum install -y open-vm-tools 2 systemctl enable vmtoolsd 3 systemctl start vmtoolsd 第二步///在虚拟机设置中启用共享文件夹并添加需要添加的主机路径 虚拟机设置好共享文件夹不显示怎么办??? Linux下共享文件夹的默认路径为 /mnt/hgfs,所以 cd /mnt/hgfs 进入到共享文件夹下, ls 查看刚设置好的共享文件夹是否显示,不
2021-01-03 19:54:17
27235
1
原创 Windows环境下加载ernie模型报错 WindowsPath object has no attribute ‘tell‘
Windows环境下加载ernie模型报错 WindowsPath object has no attribute ‘tell’ 解决方法: 1.更换ERNIE套件安装方式 git clone https://github.com/PaddlePaddle/ERNIE.git --depth 1 cd ERNIE pip install -r requirements.txt pip install -e . 2.检查是否有漏装Wheel或包 import common, dual, tight, d.
2022-04-25 17:57:30
1261
4
原创 Paddle tensor holds the wrong type,desires to be int64
报错原因: 输入的数据中某些字段不是int64类型 解决方法如下图所示: def get_batch_data(data, i): ......(省略)...... return feature, label.astype(np.int64)
2022-04-25 14:47:37
357
原创 ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
python3中的cv2导包在opencv-python包中
2022-04-06 21:35:11
1208
原创 Pygame.image.save(rtext,“{}.format(char)) pygame.error:Coldn‘t open
#-*- coding:utf-8 -*- import pygame pygame.init() # 获取3500个汉字 with open("all_5000_chars.txt", "r", encoding="gbk") as f:# 编码格式一般有以下几种:gbk/gb2312/gb18030/utf-8 chars = f.readlines() # 通过pygame将汉字转化为黑白图片 for char in chars: char=char.strip() fon
2022-04-06 18:27:09
3063
原创 如何判断Hadoop集群是否搭建成功
1.Hadoop集群启用成功在虚拟机Hadoop中使用Jps命令有以下界面出现: 2.Hadoop可以访问50070界面
2021-01-04 19:30:37
6213
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人