Why does my cpup tanks when I am running this script ?
Hi I am fairly new to c# and I am trying to build a ML.NET part of a larger project, but my cpup tanks every time I call this script, have I done something obvious that could explain why ? Can someone please tell me why my cpup tanks?
12 Replies
use a profiler to measure what's taking a long time
What compute operation you're trying to run
thanks for the advice, how do I do that ?
I'm trying to predict the next word based on the previous word
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
im a beginner, is there something wrong with that line?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
i tried to fix the cpu problem with that line
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
with cpu problem I mean that when I run the script the task manager shows my cpu at 100% and the programme freezes and then crashes. I think I tried to multithread it to evenly distribute the work across the cpu?
ddoes that make sense?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
okay but I finally figured out another way to predict next words🤷‍
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View