This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Multithread predictions #11
Labels
Comments
Trying to make the basics working :) I will try to find the root cause.
Could you please share the code snippet?
…On Fri, Nov 24, 2017 at 10:53 AM, vegas2ny ***@***.***> wrote:
Hello i am having memory access violation when i attempt to multi thread
image predictions. this is happening at line
// Start evaluation on the device
modelFunc.Evaluate(inputDataMap, outputDataMap, GlobalParameters.Device);
within ImageNet.cs is there a way to multithread the functionality ?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGCQKfygm02u987PE04ujpF41TGJ4LEaks5s5gySgaJpZM4QpQp5>
.
--
Regards,
Deepak
|
sure, do you have gmail, maybe we can google chat? and ill update here with resolution? |
Lets use this chat, I created this for public conversation so we can start
our discussion there.
https://gitter.im/sia-cog/SiaNet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
…On Fri, Nov 24, 2017 at 11:11 AM, vegas2ny ***@***.***> wrote:
sure, do you have gmail, maybe we can google chat? and ill update here
with resolution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGCQKXIa9ChdRtA_RgRRXHNpkrRzybU3ks5s5hDLgaJpZM4QpQp5>
.
--
Regards,
Deepak
|
Or here is my gmail: deepakkumar1984@gmail.com |
Try using lock to avoid access violation issue: static ImageNet app;
|
hello i have found a resolution, by cloning the module func it makes predictions thread safe, there for no more access violations. //clone model func for multithread full method code below:
|
Hello will close this bug now since the issue is resolved. Thanks |
Thanks for your help |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello i am having memory access violation when i attempt to multi thread image predictions. this is happening at line
// Start evaluation on the device
modelFunc.Evaluate(inputDataMap, outputDataMap, GlobalParameters.Device);
within ImageNet.cs is there a way to multithread the functionality ?
Thanks
The text was updated successfully, but these errors were encountered: