上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: 准备环境 miniconda 作用: ​虚拟环境:为每个项目创建独立的Python环境(如Python 3.10),避免全局安装导致版本冲突。 ​依赖管理:通过conda或pip精准安装AI框架(如PyTorch、LangChain),解决库版本兼容性问题。 安装: 下载地址:miniconda下载 阅读全文
posted @ 2025-03-17 16:00 0611163 阅读(804) 评论(0) 推荐(0)
摘要: 创建一个文件EnableHyperV.cmd,内容如下: pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.txt 阅读全文
posted @ 2025-03-12 08:34 0611163 阅读(256) 评论(0) 推荐(0)
摘要: 配置如下: server { listen 8161; server_name localhost; location / { root D:/地图瓦片/合肥电子地图高德瓦片; index index.html index.htm; # 关键CORS配置 add_header 'Access-Con 阅读全文
posted @ 2025-02-25 08:45 0611163 阅读(265) 评论(0) 推荐(0)
摘要: 软件版本要求 python3 >= 3.5 git >= 2.22.0 如果git版本低,则需要安装新版本的git 安装git-filter-repo python3 -m pip install git-filter-repo 删除指定的文件或文件夹 git filter-repo --path 阅读全文
posted @ 2024-12-27 13:46 0611163 阅读(98) 评论(0) 推荐(0)
摘要: 主要工作 负责一个项目中的三维功能的开发,基于Mars3D和Cesium,持续近一年。 大数据服务维护 有几个服务不太稳定,数据积压,经过多次尝试优化,终于解决了问题。 轮子 Dapper.Lite今年只维护了三次,很稳定。 不再造新轮子了。 阅读全文
posted @ 2024-12-19 09:11 0611163 阅读(42) 评论(0) 推荐(0)
摘要: Cesium 二三维切换 关键是切换后视角的计算 使用mars3d的map.setCameraView: switch2D3D() { let map = getMap(); if (!map) return; let view = map.getCameraView(); if (map.scen 阅读全文
posted @ 2024-12-03 14:35 0611163 阅读(602) 评论(0) 推荐(0)
摘要: 为了优化 Java Spark 服务,尝试了各种办法和各种参数组合。 为什么要优化 现网有个spark服务,白天数据量大,积压数据,夜间数据量小,再把积压的数据处理完,虽然达到了平衡,保证了每天的数据能处理完,但白天的数据处理延迟比较大。 数据积压的原因 接手这个服务以来,我一直以为是因为下载图片耗 阅读全文
posted @ 2024-11-22 16:54 0611163 阅读(58) 评论(0) 推荐(0)
摘要: 根据经纬度获取高程(根据地形采样) /** * 根据经纬度获取高程 * @param { mars3d.Map } map * @param {number} lng * @param {number} lat */ async function getHeightByLngLat(map, lng 阅读全文
posted @ 2024-09-15 10:02 0611163 阅读(297) 评论(0) 推荐(0)
摘要: nohup [命令] >/dev/null 2>&1 & 示例: nohup /bin/sh -c 'cd /home/server/dotnet/DotnetDatamining && dotnet DotnetDatamining.dll "--desc=xxx服务 访问端口号5028"' >/ 阅读全文
posted @ 2024-09-05 17:07 0611163 阅读(429) 评论(0) 推荐(0)
摘要: 最近需要做一个三维场景切换的功能,切换场景后,还可以进行二三维模式的切换,二三维切换时,要定位到当前场景视角,那么场景的视角参数信息就需要保存到状态数据中,以供二三维场景切换时使用。 项目是用vue做的,这里并没有使用vue的状态管理库,我是这样实现的: 定义状态数据sceneInfo let sc 阅读全文
posted @ 2024-06-21 16:29 0611163 阅读(65) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 29 下一页