wuxianjun666

Results 19 comments of wuxianjun666

I found out what the problem is, in lora.hpp, comment out(注释) this line of code and it works! ![image](https://github.com/leejet/stable-diffusion.cpp/assets/62459964/21a689a4-af0f-4371-ab4d-a13fc9b299ad)

![image](https://github.com/leejet/stable-diffusion.cpp/assets/62459964/71e74b0f-4e45-4581-b564-777b453ec6ce) can not delete sd_ctx->sd; when delete sd_ctx->sd, it should delete GGMLModule many times, because there are many struct succeed GGMLModule, ![image](https://github.com/leejet/stable-diffusion.cpp/assets/62459964/a6e9bc40-c078-4680-aad6-83f7d0c48a11) but always gets stuck here, ![image](https://github.com/leejet/stable-diffusion.cpp/assets/62459964/de025879-8a70-4e09-829a-f0673f91d15f)

> Can you provide more information, such as the operating system you're using, the compiler version, the command-line arguments you're using, and the corresponding output? I run in windows10, and...

> Can you provide more information, such as the operating system you're using, the compiler version, the command-line arguments you're using, and the corresponding output? So I had to eliminate...

yes,when i do not use lora, it is normal

I found out what the problem is, in lora.hpp, comment out(注释) this line of code and it works! ![image](https://github.com/leejet/stable-diffusion.cpp/assets/62459964/21a689a4-af0f-4371-ab4d-a13fc9b299ad)

can you finish multimodal example

> Thanks for your amazing work. > > **Error** > > ``` > [[{{node ParseSingleSequenceExample/ParseSequenceExample/ParseSequenceExampleV2}}]] [Op:IteratorGetNext] > 2022-04-15 13:19:55.258721: W tensorflow/core/framework/op_kernel.cc:1745] OP_REQUIRES failed at example_parsing_ops.cc:480 : INVALID_ARGUMENT: Name: , Key:...

if i use Visual Studio 16 2019 is ok ,when i use cmake -G "MinGW Makefiles" it broken -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version...

![Image](https://github.com/user-attachments/assets/596f440e-cb3f-4d8f-be20-8def14b565e1) 我在main函数中训练,在main函数中会存在model = build_model(config["Architecture"]),然后我训练完成后会直接调用paddle2engine,在paddle2engine中会调用main_export,在main_export中,也会创建这个模型,model = build_model(config["Architecture"]),就是在这报错的,报错是在head部分报错的: self.fc = nn.Linear( in_channels, class_dim, weight_attr=ParamAttr( name="fc_0.w_0", initializer=nn.initializer.Uniform(-stdv, stdv) ), bias_attr=ParamAttr(name="fc_0.b_0"), ) 网上搜了一下说没清空缓存,这个我不是很理解,创建model是两个不同的实例,为什么会冲突呢,这个key为什么会被占用