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

features.pickle error #12

Open
dollja opened this issue Dec 17, 2022 · 0 comments
Open

features.pickle error #12

dollja opened this issue Dec 17, 2022 · 0 comments

Comments

@dollja
Copy link

dollja commented Dec 17, 2022

Hello,

Thank you for supplying your code and references! Would you be able to tell me how I might fix the following error?

In ../baseline.py, the error message is this: ValueError: invalid literal for int() with base 10: 'baseline.py'

It's shown in the following output:

[2022/12/16 23:52:09] INFO - Preprocessing complete.
PS C:\github\K-EmoCon_SupplementaryCodes> & C:/Users/dollj/AppData/Local/Programs/Python/Python310/python.exe c:/github/K-EmoCon_SupplementaryCodes/scripts/baseline.py --root 'c:/github/K-EmoCon_SupplementaryCodes/scripts'

[2022/12/16 23:52:45] INFO - Processing segments from c:/github/K-EmoCon_SupplementaryCodes/scripts, with: seed=0, target=valence, length=25s, label=s, majority=False, rolling=False, cv=kfold, splits=4, shuffle=False, gpu=False
Traceback (most recent call last):
File "c:\github\K-EmoCon_SupplementaryCodes\scripts\baseline.py", line 405, in
features, labels = prepare_kemocon(segments_dir, args.length, args.label, args.majority, args.rolling)
File "c:\github\K-EmoCon_SupplementaryCodes\scripts\baseline.py", line 197, in prepare_kemocon
pid_to_segments = load_segments(segments_dir)
File "c:\github\K-EmoCon_SupplementaryCodes\scripts\baseline.py", line 30, in load_segments
segments.setdefault[int(pid)], []
ValueError: invalid literal for int() with base 10: 'baseline.py'

I've also receive this error when running: https://github.com/dollja/Emotion-Recognition-Conversations
Are my filepaths incorrect? Thanks very much!

Here is a link to my repository: https://github.com/dollja/K-EmoCon_SupplementaryCodes

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

1 participant