During my research work, I need to iterate and modify a python script frequently. In this script, I load trained weights, and it takes about 3 minutes to load those weights in RAM/GPU. 3 minutes is too long of an interruption for just waiting, so I need to switch back and forth between this task and something else.
I wish I could keep those trained weights in RAM in between runs of my script! Anybody knows how I could achieve this? I can’t be the only one in that situation!
I would need some kind of database process that would be continuously running, and that would pass data to my script. Any thoughts?