This is the golden idea for you and I give it to you

Here you see my article. But the idea is instead of calculating the neural network weights every time, they store the same in a database and so you don’t have to use the GPU to calculate the weights every time. I leave you my article that I wrote for this.