L
L
LakeForest2021-05-16 07:56:11
Python
LakeForest, 2021-05-16 07:56:11

How do I implement a "Model Repository" like the one in the picture to interact with other Python modules?

I designed such a system to get audio recordings from text. Now I train several models - each in its own repository.
60a0a45dec460252180472.png
I don’t understand how I can now combine all these models in a single repository and how to work with them?
I have never done anything like this before ... And I rarely write in python, tell me, please, how to organize this?
Does anyone know an example of the connection code for this case (in the Models Repository cube)?
Here is an example of 1 repository from the FastSpeech2 Repository Model Repository cube .
When the user sends the request mymodule.main('fastspeech', 'say cheese'), we need the service to connect the FastSpeech2 repository modules and call the inference.py module from it to generate audio.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question