Skip to content
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

TripPy DST #135

Open
AtheerAlgherairy opened this issue Feb 12, 2023 · 2 comments
Open

TripPy DST #135

AtheerAlgherairy opened this issue Feb 12, 2023 · 2 comments

Comments

@AtheerAlgherairy
Copy link

AtheerAlgherairy commented Feb 12, 2023

I trained TripPy on a dataset in the unified format. I have the path to a model checkpoint. When I use it, I got the following error:

Screen Shot 1444-07-21 at 11 55 08 AM

Screen Shot 1444-07-21 at 11 51 21 AM

Then, I changed the followings in trippy/tracker.py

_ontology = relative_import_module_from_unified_datasets(self.dataset_name, 'preprocess.py', 'ontology')

to

_ontology = load_ontology(self.dataset_name)

I got the following error:

Screen Shot 1444-07-21 at 12 07 20 PM

@zqwerty
Copy link
Member

zqwerty commented Feb 14, 2023

_ontology = relative_import_module_from_unified_datasets(self.dataset_name, 'preprocess.py', 'ontology')

the loaded ontology is from multiwoz21/preprocess.py:

which is not a good way to use unified ontology.

@carelvniekerk could you use load_ontology instead and fix the bug?

@carelvniekerk
Copy link
Contributor

Hey, I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants