Comments (2)
在GPU状态下调试接口你可能会遇到以下问题:
1、经过测试之后,发现可能GC提前回收资源导致该问题出现,因为在C++环境使用编译好的DLL测试GPU与CPU模式都是正常的,所在你可能需要解决托管与非托管资源回收的问题。
2、在C#托管内存中,内存回收一般是有GC自动完成的,如果遇到找不到找不到对象的情况,报错信息是“未将对象引用设置到对象的实例”,而非托管内存的找不到对象报错信息是:尝试读取或写入受保护的内存,这通常指示其他内存已损坏。
3、一个非托管对象的操作方式是指针,当内存中的对象被清理掉时,这段内存地址就拒绝指针随意访问,这时指针如果继续访问这段内存,就会报尝试读取或写入受保护的内存这个错误。
from paddlexcsharp.
在GPU状态下调试接口你可能会遇到以下问题:
1、经过测试之后,发现可能GC提前回收资源导致该问题出现,因为在C++环境使用编译好的DLL测试GPU与CPU模式都是正常的,所在你可能需要解决托管与非托管资源回收的问题。2、在C#托管内存中,内存回收一般是有GC自动完成的,如果遇到找不到找不到对象的情况,报错信息是“未将对象引用设置到对象的实例”,而非托管内存的找不到对象报错信息是:尝试读取或写入受保护的内存,这通常指示其他内存已损坏。
3、一个非托管对象的操作方式是指针,当内存中的对象被清理掉时,这段内存地址就拒绝指针随意访问,这时指针如果继续访问这段内存,就会报尝试读取或写入受保护的内存这个错误。
谢谢你的反馈,尽力修复!
from paddlexcsharp.
Related Issues (15)
- 可以提供预备调试的机械手的资料供参考吗
- 用CPU训练出来的模型,可以用GPU做预测吗?测试下来两者耗时差不多 HOT 5
- 会更新PaddleX2.0吗
- 模型加载
- PixelDataConverter pxConvert = new PixelDataConverter()出报错 HOT 1
- 加载模型报错
- 无法加载DLL,"paddlex_inference.dll"找不到指定模块
- 报错,System.Runtime.InteropServices.SEHException:“外部组件发生异常。” HOT 1
- 可以调用用于何种任务的模型
- C#调用C++动态库之间的数据类型转换 HOT 2
- 能留一个qq或者微信吗 HOT 2
- 如何获取实例分割模型的目标region
- 可以提供目标检测部分的interface代码吗 HOT 2
- 可以提供C#调用的完整API吗 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddlexcsharp.