google / google/visqol

Deprecation Warning: MessageFactory class is deprecated in ViSQOL when using Python API

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
928
Forks
144
PR merge metrics
No merged PRs in 30d

Description

### Description
When using the ViSQOL Python API, I encountered the following deprecation warning:

This warning appears during the execution of the Python API for speech mode.
visqol_path1_list = [api.Measure(S_0, X[i, :]).moslqo for i in range(M, 2 * M)]

UserWarning: MessageFactory class is deprecated. Please use GetMessageClass() instead of MessageFactory.GetPrototype. MessageFactory class will be removed after 2024.

It seems this warning is related to the `protobuf` dependency. Updating the library to address this warning would be appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.