I had this issue a lot _before_ upgrading to High Sierra.
In my case I did a clean install of my Mac and then installed High Sierra. The issue then went from happening 3-4 times per day to about 3-4 time per week.
I suspect this (at least in my case) having a lot more to with the new Macbook Pro with Touch Bar than macOS.
In any case, apple should do better