SSH Remote Connection Issues in VS Code
Since the new VS Code version 1.102.* cannot access CentOS servers, I adopted a downgrade approach. However, after downgrading and reinstalling Remote, clicking Open Folder constantly displayed There is no data provider registered that can provide view data. Additionally, the entire console froze, and scaling the interface also resulted in unadapted lag. Attempted to update to a newer version of Git, but it failed and had no effect. CentOS 7 Upgrade git version to 2.x Deleted the data und...
VS Code SSH Remote Connection Issues
由于VS新版本1.102.*无法访问Centos的服务器,所以采用了降级处理,但是降级之后重新安装remote点击openFolder一直显示There is no data provider registered that can provide view data. 并且整个控制台卡死放大界面也会出现无法适配的卡顿情况。 尝试更新新版Git,失败没有作用 CentOS 7 升级 git 版本到 2.x 删除%LocalRomingData%\Code下面的数据将所有插件的缓存信息删除,重新打开Vs Code然后登录便能够正确访问,如果显示文件被占用,可以控制台关闭所有的Python程序,怀疑是因为启动了太多的环境导致互相访问同一个remote资源,加上版本不一致造成卡顿
Linux 命令
Linux命令 命令 内容 mv(cp) /root/path/* /etc/ 移动/复制 i 修改 ? ** 查找 wq 退出 firewall-cmd --zone=public --list-all 查找所有的防火墙开放端口 ll 所有的文件信息 cd .. 返回上一级 firewall-cmd --zone=public --add-port=11206/tcp --permanent 开放端口 firewall-cmd --reload 配置生效 :q! 不保存退出
Linux 命令
Linux Command Command Content mv(cp) /root/path/* /etc/ Move/ Copy i Modify ? ** Find wq Exit firewall-cmd --zone=public --list-all Find all firewall open ports ll All file information cd .. Return to the previous level firewall-cmd --zone=public --add-port=11206/tcp --permanent Open port firewall-cmd --reload Configuration takes effect :q! Exit without saving
Lora Model Training Records
Lora-ScriptAbstractThis post primarily records issues encountered during model fine-tuning and some parameter configurations. The graphics cards used were rented from a cloud provider. Multi-card model training mainly uses a modified kohya_ss framework and utilizes deepspeed 3 for multi-GPU training. Single-card training uses the aki toolkit for lora-script training. Bash Config123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616...
Lora模型训练记录
Lora-Script摘要主要是为了记录自己再模型微调的过程中遇到的一些问题,和一些参数配置 ,显卡为云端租赁使用 多卡模型训练主要是使用koyha_ss的框架修改,并使用deepspeed3进行多卡训练 单卡则是使用的aki的工具包进行lora-script的训练 bash config1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465[model]v2 = falsev_parameterization = falsepretrained_model_name_or_path = "./sd-models/realismEngineSDXL_v30VAE.safetensors"vae = "./sd-models/sdxl_vae.safetensors"[dataset]train_data_dir = "./train/001&...
Proxifier连接Cursor与Antigravity
Proxifier连接Cursor与Antigravity 下载proxfier , 可以从官网下载 : https://www.proxifier.com/ 激活31天试用版,可以从网上找一个激活码使用 下载Antigravity , 下载 :https://antigravity.google/?hl=zh-cn 增加Proxy Server,可以从VPN中看到相关的端口之类数据填入进去 增加新的Proxy Rule , 我这里将所有的Antigravity的相关exe进行代理,因为我同时使用cursor与antigravity所以我便将所有的相关都填入进去 打开Antigravity , 点击Sign In WitH Google , 这个时候会有两种情况 如果显示区域不符,则取像谷歌发送更改邮箱地址的请求,更改为美国,我是更改为美国使用新加坡的节点也没有任何问题 如果跳转后显示账户无法登录,但是同时收到了欢迎加入Antigravity的邮件,那么就是本次登录存在我呢提,可以重新关闭这个网站 再次点击Sign In , 并将跳转网址粘贴进无痕浏览器中,...
Connect Cursor and Antigravity with Proxifier
Connect Cursor and Antigravity with Proxifier Download Proxifier. You can download it from the official website: https://www.proxifier.com/ Activate the 31-day trial, or find an activation code online. Download Antigravity. Download: https://antigravity.google/?hl=en Add a Proxy Server. You can find the relevant port and other data from your VPN and enter it. Add a new Proxy Rule. I proxy all relevant executables for Antigravity here. Since I use both Cursor and Antigravity, I entered all...
Azure SSH Connection Failure Troubleshooting
SSH Connection Failure TroubleshootingInitial State Client: Local Windows (OpenSSH client) Server: Cloud Platform Linux VM (Azure) Symptoms: Local SSH client connection failed. Known: Cloud platform’s built-in Bastion (web terminal) can login normally. Investigation Module 1: Server Log Analysis Issue: sshd service logs (journalctl -u sshd) show multiple warnings and errors. Deprecated option RhostsRSAAuthentication (and other Deprecated warnings) error: Unable to load host key: /etc/ssh/ss...
Azure Fail To Connected
SSH 连接失败排查记录初始状态 客户端: 本地 Windows (OpenSSH 客户端) 服务器: 云平台 Linux 虚拟机 (Azure) 症状: 本地 SSH 客户端连接失败。 已知条件: 云平台自带的 Bastion(网页终端)可以正常登录。 排查模块一:服务器日志分析 问题: sshd 服务日志 (journalctl -u sshd) 显示多条警告和错误。 Deprecated option RhostsRSAAuthentication (及其他 Deprecated 警告) error: Unable to load host key: /etc/ssh/ssh_host_dsa_key 排查过程: 分析 Deprecated 警告:确认这些是 sshd_config 配置文件中的旧配置项,它们是“警告”而非“错误”,服务会忽略它们并正常运行。 分析 Unable to load host key:确认 dsa_key 是一种过时的密钥类型,新系统默认不生成。服务会跳过此密钥,正常加载其他(如 RSA, ED25519)密钥。 结论: 服务器日志中...
VS Code SSH-Remote Cannot See openFolder Only Console Access After Remote Connection
Due to new version 1.102.* of VS cannot access Centos server, so adopted downgrade processing. But after downgrade reinstalled remote clicking openFolder always displays There is no data provider registered that can provide view data. and entire console freezes, enlarging interface also appears stuttering unable to adapt. Tried to update new version Git, failed no effect CentOS 7 Upgrade git version to 2.x Delete data under %LocalRomingData%\Code delete all plugin cache info, reopen Vs Co...
VS Code SSH-Remote 远程连接之后只能控制台访问无法看到使用openFloder
由于VS新版本1.102.*无法访问Centos的服务器,所以采用了降级处理,但是降级之后重新安装remote点击openFolder一直显示There is no data provider registered that can provide view data. 并且整个控制台卡死放大界面也会出现无法适配的卡顿情况。 尝试更新新版Git,失败没有作用 CentOS 7 升级 git 版本到 2.x 删除%LocalRomingData%\Code下面的数据将所有插件的缓存信息删除,重新打开Vs Code然后登录便能够正确访问,如果显示文件被占用,可以控制台关闭所有的Python程序,怀疑是因为启动了太多的环境导致互相访问同一个remote资源,加上版本不一致造成卡顿
Handling Unknown Data Properties in Navisworks
When starting Navisworks development, you might encounter situations where DataProperty values appear as “unknown”. This scenario isn’t an error but rather a property type that requires specific handling in the code. The API provides separate conversion methods to retrieve the correct property values. As shown in the image above, calling ToString() directly on a wall property in the code results in “unknown”. This is because the specific conversion method wasn’t used. By using the following ...
Navisworks中DataProperty值为unknow的处理
再开始接触Naviworks的开发时候会出现Dataproperty的值unknow的情况,这种场景不是报错而是在代码中需要判定值的属性,API会提供一个单独的转换方法,从这些方法中即可获取到正确的属性值。像是上图一个墙体的属性在代码中直接ToString(),会获取到unknow,是因为没有使用单独的转化方法,通过下面的代码,对每个value进行单独的判定转换,即可获取到所有的值。在Naviworks中依旧存在英寸与毫米的换算系数的情况,这种需要在进行一步转换。 12345678910111213141516171819202122232425262728293031323334353637383940414243var stringBuilder = new StringBuilder();var doc = Application.ActiveDocument;var selection = doc.CurrentSelection.SelectedItems;var selectItem = selection[0];foreach (var selectItemProp...
Creating Adaptive Components with Code in Revit
Most blogs only cover how to modify positioning points or pass data into an existing adaptive family. There are no articles introducing how to directly create an adaptive model in a family file, convert points to adaptive points, and connect adaptive points to form an adaptive path. The code below demonstrates how to create reference points in an adaptive family file, convert them to adaptive points, connect them to form a path, and finally create a swept blend form. 123456789101112131415161...
在Revit中使用自适应族创建放样融合模型
大多数博客给出的方案都是如何在有自适应族的情况下进行修改定位点或是将数据传入自适应族,如何直接在族文件中创建自适应模型并将点转换为自适应点,连接自适应点成为自适应路径这种方式没有文章介绍. 下面的代码中给出了如何在自适应族文件中创建参照点并转换为自适应点连接成为路径,最终创建放样融合的办法. public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { var uiDoc = commandData.Application.ActiveUIDocument; // UIDocument var doc = uiDoc.Document; // 定义路径的起点和终点 var pathStart = new XYZ(0, 0, 0); var pathEnd = new XYZ(0, 0, 1...
Creating Adaptive Sweep Extrusions in Revit
A case study on creating an adaptive family essentially using a plane and model lines.This is a summary of an answer I posted on the Autodesk forum, now organized and published on CSDN. How to solve the issue of adaptive family flipping when moving adaptive points during secondary development If you directly use a profile family and read the profile family’s lines to creating geometry, you might encounter an issue where the shape mirrors after the path deflects. This happens because the norma...
在Revit中使用自适应族创建放样融合模型
创建一个平面与模型线最终创建自适应族的案例。这是一个我在Autodeks论坛回复的问题,这里整理一下发表在CSDN。二开时,如何解决自适应族,移动自适应点,自适应族发生翻转,如何解决 如果直接使用轮廓族,读取轮廓族的线段再继续创建,会出现路径发生偏转之后形状镜像显示的问题,这种情况出现的原因是因为refernce的附着面变化导致自适应族在路径偏移重新生成形状的时候发生的法向量的变化导致。如果需要将轮廓族与路径位置锁定,只需要直接获取轮廓族的refernce这样会和手动创建一样,随着路径的偏移自动创建新的正确形状。new Reference(familyInstances[i]) 代码: 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210...
Autodesk AutoCAD .Net Creating PatternSet and Toolbar
The docking bar created by .Net cannot be placed at the bottom of the menu bar in 2016/2022 tests, it can only be fixed at the topmost position. Manual swapping also cannot complete this operation. PatternSetPatternSet is an AutoCAD interface. Through the interface, you can set the style of the toolbar and implant your own window into the toolbar. The required WPF window type is ‘UserControl’, which is added to the CAD toolbar as a subcategory. So both can be created separately and final...
Autodesk AutoCAD .Net 创建PatternSet和工具栏
.Net创建的停靠栏再2016/2022中测试无法放在菜单栏的下部只能在最上层的位置固定,手动调换的时候也无法完成这个操作。 PatternSetPatternSet 是AutoCAD的一个接口,通过接口可以设置工具栏的样式和将自己的窗口植入到工具栏中,其中需要的WPF窗口类型为‘UserControl’,作为子类别加入到CAD的工具栏中,所以两者可以单独创建最终使用借口连接到一起即可。 1234567891011121314151617181920212223242526272829303132public class PatternSetWindowCommand{ [CanBeNull] private static PaletteSet PSet { get; set; } = null; [CommandMethod("ShowWindow")] public void ShowWindowCommand() { if (PSet == null || PSet....








