Skip to content

Fix to "ValueError: could not convert string to float:" #6

@AtmaHou

Description

@AtmaHou

When I try to run the code with Rule Agent's prams, I got this:
ValueError: could not convert string to float:
My solution is changing the file-pointer loading style from "rb" to "r", and it works for me.
Two place need to fix:

  • line 50 in nlu.py

  • line138 in nlg.py

I know someone may not encounter the error, and just could enjoy the code perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions