ComfyUI报错:CheckpointLoaderSimpleERROR: Could not detect model type of: D:StudyFilesComfyUI_window

下载了后缀为safetensor的模型,开启ComfyUI,发现工作流跑不起来,弹窗报错:
CheckpointLoaderSimpleERROR: Could not detect model type of:D:\StudyFiles\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\checkpoints\Scaracat.safetensors。
在这里插入图片描述
原因是这个模型不是checkpoint类型,而是一个lora模型,不该放在models/checkpoints文件夹中,正确的位置是models/loras文件夹。
在这里插入图片描述
一般模型属于什么种类在网站上有标注,如果没有的话就各文件夹都放着试试,走流程不报错的就放对了。
比如现在下模型最热门的Civitai和Liblib:
https://civitai.com/models
传送门
在这里插入图片描述
https://www.liblib.art/
传送门
在这里插入图片描述

### STM32 MATLAB Target Setup and Configuration for Embedded System Development For configuring an STM32 target within the MATLAB environment to facilitate embedded system development, one must leverage specific toolboxes provided by MathWorks that support such hardware. The process involves installing necessary software packages, setting up communication between MATLAB and the microcontroller, as well as ensuring compatibility with external libraries or APIs relevant to projects involving Delphi, C++, C#, WinAPI, Windows applications [^1]. #### Installation of Support Packages To begin, install the **Support Package for STMicroelectronics Nucleo Boards** through the Add-Ons menu in MATLAB. This package includes drivers required for interfacing directly with various models of STM32 boards. ```matlab % Open Add-On Explorer from MATLAB command window add-ons; ``` After installation completes successfully, restart MATLAB to apply changes properly. #### Hardware Connection Establishment Ensure physical connections are established correctly using USB cables supplied with your board before proceeding further. Once connected: - Use `stm32cubeprogrammer` function (if available) to detect attached devices automatically. ```matlab dev = stm32cubeprogrammer('list'); disp(dev); ``` This code snippet lists all detected STM32CubeProgrammers along with their respective COM ports which will be utilized during subsequent steps. #### Code Generation and Deployment With everything set up appropriately, utilize Simulink blocks specifically designed for generating C/C++ code compatible with ARM Cortex-M processors like those found on many STM32 series chips. Create a new model incorporating these components into designs intended for deployment onto real-world targets. When ready to compile and download firmware images generated via this workflow, employ commands similar to what follows below: ```matlab set_param(gcb,'GenCodeOnly','off'); % Enable automatic build & flash after simulation ends slbuild(gcs); % Build project and deploy it to selected device ``` These actions trigger both compilation processes alongside flashing procedures without requiring manual intervention once initiated inside MATLAB/Simulink environments. --related questions-- 1. What additional configurations might be needed when working with custom PCB layouts based around different variants of STM32 MCUs? 2. How can developers integrate third-party libraries written primarily in languages mentioned earlier while maintaining optimal performance levels across platforms supported by MATLAB? 3. Are there any particular considerations regarding power management features offered by certain families within the STM32 lineup that could impact how efficiently programs run post-deployment? 4. In terms of debugging capabilities, does MATLAB offer tools comparable to traditional IDE solutions used extensively throughout communities centered around developing for STM32-based systems?
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值