Closed kihyuk-nam closed 2 years ago
Ref: #30 #32
Server hangs when calling '/estimate' right after '/train'
The 'ps' of that moment shows dozens of main processes (main.py which started up the service) running in parallel.
Suspect that the multiprocessing(threading) mechanism of the learning process doesn't finish normally or conflicts with FastAPI.
Currently the main.py needs to be restarted after '/train' call.
moved to the traindb-model
Ref: #30 #32
Server hangs when calling '/estimate' right after '/train'
The 'ps' of that moment shows dozens of main processes (main.py which started up the service) running in parallel.
Suspect that the multiprocessing(threading) mechanism of the learning process doesn't finish normally or conflicts with FastAPI.
Currently the main.py needs to be restarted after '/train' call.