
Python
j_linlian
一生只做浪漫极客。
展开
-
Python打印path下文件夹及文件夹下文件
os.walk()原创 2022-10-08 12:31:48 · 275 阅读 · 0 评论 -
pytorch多卡训练
pytorch多卡训练原创 2022-09-22 13:52:38 · 515 阅读 · 0 评论 -
Mitsuba渲染3D点云(颜色角度设置)
Mitsuba渲染3D点云(颜色角度设置)初始设置原创 2022-09-19 22:09:03 · 1458 阅读 · 8 评论 -
Linux screen后台运行基本命令
screen 后台命令原创 2022-08-16 22:48:29 · 433 阅读 · 0 评论 -
RuntimeError: CUDA error: no kernel image is available for execution on the device
显卡是3090,算力不够#删除原来的Torchpip uninstall torchpip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html原创 2022-05-01 22:17:33 · 303 阅读 · 0 评论 -
HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/r
conda config --remove-key channels conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/conda config --add channels http://mirrors.tuna.ts.原创 2022-04-18 12:03:10 · 1565 阅读 · 0 评论 -
No java install detected. Please install java to use language-tool-python.
导入 language_tool_python,tool = language_tool_python.LanguageTool('en-US') 报错注意:我的程序是在服务器上跑的,查了APIUsing language_tool_python locally:import language_tool_pythontool = language_tool_python.LanguageTool('en-US')Using language_tool_python with the p原创 2022-04-15 21:52:44 · 2466 阅读 · 0 评论 -
open3d ply转换成数组坐标
import open3d as o3dimport numpy as nppcd_load = o3d.io.read_point_cloud("chair.ply")# convert Open3D.o3d.geometry.PointCloud to numpy arrayxyz_load = np.asarray(pcd_load.points)print(xyz_load)原创 2022-04-06 09:33:58 · 529 阅读 · 0 评论 -
Python: ‘float‘ object has no attribute ‘split‘
将x.split() 改成 str(x).split()原创 2022-03-26 21:22:08 · 10684 阅读 · 2 评论