Closed wduguay-air closed 1 year ago
Since the last review/conversation, I removed the model_registry
implemented locally in cogment-verse, in favor of entirely using the python sdk version. I also change the Model
class to implement the same methods (serialize_model
, deserialize_model
) as other recent cogment projects.
Maybe you can have a look at some of the new functionality coming, to see if it would make sense to wait for the next version (excluding enterprise stuff): https://gitlab.com/ai-r/cogment/cogment-doc/-/merge_requests/155
Anyways I was planning to wait a bit to wait for Ha to merge some agent implementations PRs that have been open for a long time. But for now, the current functionalities seem enough for the general cogment-verse use case. I will probably make a new PR in the near future to include them!
All implementations PRs I was waiting for are merged. This is ready.
I would suggest you go through and change model_version
for model_iteration
everywhere.
The code also does not follow our coding guidelines, but it might be too much for this PR.
I just made a pass to rename to model_version
to model_iteration
. For the code guidelines, I will create a separate task to make a pass over the entire repo in the near future.
closes #120
Overview
This pull request migrates the current Model Registry implementation to the Model Registry V2 implementation introduced by the SDK in release v2.5.0.
Testing
The functional tests will be added to the PR after merging the Functional Test PR https://github.com/cogment/cogment-verse/pull/143.
Other changes