Improvisation icon indicating copy to clipboard operation
Improvisation copied to clipboard

Added support for Realtime processing of the NN

Open wreiske opened this issue 10 years ago • 2 comments

By setting the process and thread priority to "Realtime\Highest" you can gain a performance boost while building the NN. There is now a checkbox for realtime processing of the NN on the FinalUICreateNN form.

Also added some group boxes to the UI + re built the binary with 64bit support.

image

wreiske avatar Feb 09 '15 07:02 wreiske

Setting Thread Priority to RealTime is generally not a great practice because it can make your system highly unstable. From an algorithmic perspective I would optimize the code further by using/implementing a Neural Network on the GPU vs CPU.

From: William Reiske [mailto:[email protected]] Sent: Sunday, February 8, 2015 11:17 PM To: ArmenAg/Improvisation Subject: [Improvisation] Added support for Realtime processing of the NN (#3)

By setting the process and thread priority to "Realtime\Highest" you can gain a performance boost while building the NN. There is now a checkbox for realtime processing of the NN on the FinalUICreateNN form.

Also added some group boxes to the UI + re built the binary with 64bit support.

https://cloud.githubusercontent.com/assets/6295044/6102288/9f34bbb0-b001-11e4-9d5a-95f71e366353.png


You can view, comment on, or merge this pull request online at:

https://github.com/ArmenAg/Improvisation/pull/3

Commit Summary

  • Added support for Realtime processing of the NN

File Changes

  • M Improvisation/Improvisation/FinalUI/FinalUICreateNN.Designer.cs https://github.com/ArmenAg/Improvisation/pull/3/files#diff-0 (136)
  • M Improvisation/Improvisation/FinalUI/FinalUICreateNN.cs https://github.com/ArmenAg/Improvisation/pull/3/files#diff-1 (17)
  • M Improvisation/Improvisation/bin/Debug/Improvisation.exe https://github.com/ArmenAg/Improvisation/pull/3/files#diff-2 (0)
  • M Improvisation/Improvisation/bin/Debug/Improvisation.pdb https://github.com/ArmenAg/Improvisation/pull/3/files#diff-3 (0)
  • M Improvisation/Improvisation/bin/Debug/Improvisation.vshost.exe https://github.com/ArmenAg/Improvisation/pull/3/files#diff-4 (0)
  • M Improvisation/Improvisation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache https://github.com/ArmenAg/Improvisation/pull/3/files#diff-5 (0)
  • M Improvisation/Improvisation/obj/Debug/Improvisation.csproj.FileListAbsolute.txt https://github.com/ArmenAg/Improvisation/pull/3/files#diff-6 (53)
  • M Improvisation/Improvisation/obj/Debug/Improvisation.csproj.GenerateResource.Cache https://github.com/ArmenAg/Improvisation/pull/3/files#diff-7 (0)
  • M Improvisation/Improvisation/obj/Debug/Improvisation.csprojResolveAssemblyReference.cache https://github.com/ArmenAg/Improvisation/pull/3/files#diff-8 (0)
  • M Improvisation/Improvisation/obj/Debug/Improvisation.exe https://github.com/ArmenAg/Improvisation/pull/3/files#diff-9 (0)
  • M Improvisation/Improvisation/obj/Debug/Improvisation.pdb https://github.com/ArmenAg/Improvisation/pull/3/files#diff-10 (0)
  • M Improvisation/Improvisation/obj/Debug/Improvisation_Content.g.i.cs https://github.com/ArmenAg/Improvisation/pull/3/files#diff-11 (2)
  • M Improvisation/Improvisation/obj/Debug/Improvisation_MarkupCompile.cache https://github.com/ArmenAg/Improvisation/pull/3/files#diff-12 (4)
  • M Improvisation/Improvisation/obj/Debug/Improvisation_MarkupCompile.i.cache https://github.com/ArmenAg/Improvisation/pull/3/files#diff-13 (6)

Patch Links:

  • https://github.com/ArmenAg/Improvisation/pull/3.patch
  • https://github.com/ArmenAg/Improvisation/pull/3.diff

— Reply to this email directly or view it on GitHub https://github.com/ArmenAg/Improvisation/pull/3 . https://github.com/notifications/beacon/AEOX4vsMGgMniv3Fz0OyFewWP4iuw8pvks5nqFZlgaJpZM4DdkAC.gif

ArmenAg avatar Feb 10 '15 03:02 ArmenAg

That's why I've included a message box warning when you check the check box. My system runs it fine. It would be cool to allow the use of CUDA to run on the GPU.

Also, C# has a limitation for setting to truly "Realtime", it looks as though it only sets the application to "Highest", one below "Realtime".

wreiske avatar Feb 10 '15 03:02 wreiske