Skip to content

【Hackathon 7th】add implemention of strtobool #3877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

Liyulingyue
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

从Python3.10后已经弃用 distutils.util.strtobool ,会导致部分脚本无法跑通,为了提高兼容性,手动实现strtobool 函数。

@mergify mergify bot added Dataset S2T asr/st Vector SID/LID/etc. Example labels Nov 8, 2024
@@ -11,14 +11,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import argparse
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

误加了

@zxcd zxcd merged commit 290d161 into PaddlePaddle:develop Nov 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants