ChaoII
ChaoII
py 不是应该自动gc的吗?还需要手动释放吗
```cplusplus .def("predict", [](vision::detection::PPDetBase& self, pybind11::array& data) { auto mat = PyArrayToCvMat(data); vision::DetectionResult res; self.Predict(&mat, &res); return res; }) ``` 这样写的也需要手动释放嘛?
换个短一点路径看看,你这个路径有点深,而且路径中有类似于x64-debug这样的短划线,都有可能出现乱码啥的。
把wheel包的名字改一下就好了12_0给它改了
编译的时候下的库,上面编译信息写的是`Paddle Inference version : 2.5.0.281761089e`
https://github.com/PaddlePaddle/FastDeploy/blob/1314f3267e8e35b467eb75cb815858155ea16c10/examples/multimodal/stable_diffusion/cpp/main.cc#L123 这一行可以加载,到加载`vae`编码器的时候136行报了上面的错
预编译的sdk无法使用因为stable-diffusion用到了高斯随机数函数,但是函数符号没有被导出,报错信息: ``` 无法解析的外部符号 "void __cdecl fastdeploy::function::GaussianRandom(class std::vector const &,struct fastdeploy::FDTensor *,enum fastdeploy::FDDataType,float,float,int)" ``` 我在pr #2379 给出了修复,还没有合入。
> I stumbled upon the same issue with Qt 6.2.3 and MSVC 2019. It turns out that my compiler needs to be defined as to stop these errors.`QX_GCC_WORKAROUND_TEMPLATE_SPEC_INLINE``inline` where should...
> Thanks! I also encountered the same problem. According to your experience, I solved it! where should I add this macro ? msvc 2019 and qt 6.2.4
Hello, I set parameters according above, but I cant disable the log. What should I do ? ```c qx::QxSqlDatabase::getSingleton()->setDriverName("QSQLITE"); qx::QxSqlDatabase::getSingleton()->setDatabaseName("data.db"); qx::QxSqlDatabase::getSingleton()->setHostName("localhost"); qx::QxSqlDatabase::getSingleton()->setUserName("root"); qx::QxSqlDatabase::getSingleton()->setPassword(""); qx::QxSqlDatabase::getSingleton()->setFormatSqlQueryBeforeLogging(false); qx::QxSqlDatabase::getSingleton()->setVerifyOffsetRelation(false); qx::QxSqlDatabase::getSingleton()->setTraceSqlQuery(false); qx::QxSqlDatabase::getSingleton()->setTraceSqlBoundValuesOnError(false); qx::QxSqlDatabase::getSingleton()->setTraceSqlRecord(false); qx::QxSqlDatabase::getSingleton()->setTraceSqlBoundValues(false); qx::QxSqlDatabase::getSingleton()->setTraceSqlBoundValuesOnError(false);...