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

how to use the dataset? #1

Open
Lzvvvvv opened this issue Jun 27, 2020 · 8 comments
Open

how to use the dataset? #1

Lzvvvvv opened this issue Jun 27, 2020 · 8 comments

Comments

@Lzvvvvv
Copy link

Lzvvvvv commented Jun 27, 2020

Hello,
I'm sorry to bother you again. I've got the complete IEMOCAP dataset, but I don't know what data should be placed in these two directories,since there is no paths as the following.
“dialogs_files = glob.glob("IEOMAP_dataset/Sentences/.txt")
dialogs_emotions_files = glob.glob("IEOMAP_dataset/Classification/
.txt")”
Looking forward to your reply !

@Partaourides
Copy link
Owner

Using the glob module you can get all the .txt files that are available in the specified folder e.g. IEOMAP_dataset/Sentences/.
The *.txt allows to get all the available prefixes of .txt files (e.g. example1.txt, example2.txt)
dialogs_files = glob.glob("IEOMAP_dataset/Sentences/*.txt")
dialogs_emotions_files = glob.glob("IEOMAP_dataset/Classification/*.txt")

We pre-process all the available examples of the dataset (sentences and their classifications)
for i, j in zip(dialogs_files, dialogs_emotions_files):

@Lzvvvvv
Copy link
Author

Lzvvvvv commented Jul 1, 2020 via email

@Partaourides
Copy link
Owner

Can you post the information about the error

@Lzvvvvv
Copy link
Author

Lzvvvvv commented Jul 1, 2020 via email

@Partaourides
Copy link
Owner

There is no information available

@Lzvvvvv
Copy link
Author

Lzvvvvv commented Jul 1, 2020 via email

@Partaourides
Copy link
Owner

You will need to debug the code.
Check the variables at "dialog_emotions[utterance_id] not in removed_classes", namely dialog_emotions, utternace_id, removed_classes, to see what they contain.
This can be done with proper debugging or just a print before the if statement.
From there it will give you a clue about the error.

@Lzvvvvv
Copy link
Author

Lzvvvvv commented Jul 1, 2020

You will need to debug the code.
Check the variables at "dialog_emotions[utterance_id] not in removed_classes", namely dialog_emotions, utternace_id, removed_classes, to see what they contain.
This can be done with proper debugging or just a print before the if statement.
From there it will give you a clue about the error.

Thank you. I'll try.

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

2 participants