I will train my own cascade, using python and opencv. I want it to be as precise as possible, so as I read it is common that training takes one or two weeks to compile. I want to use cloud computing to not wait that long. I research but cannot find a single guide that explains what to do. I have pozitive and negative images, and a python code. How I can compile my code on cloud with least additional efford? (till now I just use my desktop, just wrote and compile scripts. I have no experience on cloud computing.) I found zero answers when searching opencv,python,cloud computing together. topics like this are for permanent web applications, I guess. I just want to run the code and get results, basically.
I created a google cloud platform compute engine. It gives you the option to choose the number of CPUs and ram size to choose from. So I experimented with a couple of combinations.
- 4 CPU 26gb ram - after starting the training I realised it used only ~7 GB of ram with all 4 CPUs running at 100%
- 8 CPU ~25gb ram - used around 9gb ram
- 24 CPU ~35gb ram. - used around 9gb ram.
All three instances ran at 100% CPU usage. With the increase in the CPU count, the faster the output files were generated.