Skip to content

The test results of each run are diffirent. Is this a bug? #4

@guojianwei

Description

@guojianwei

I run test from saved model, but the SR/ABSR of each run is very different.
In src/dialogue_system/agent/agent.py, the _build_action_space method feasible_actions are Initialized from slot_set and disease_symptom which are loaded from pickle. So the action order in action_sapce may be different.
I modified the code in
line 262: for slot in sorted(self.slot_set.keys()):
line 269: for disease in sorted(self.disease_symptom.keys()):
it worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions