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

ValueError: invalid literal for int() with base 10 #1

Open
dumbled00r opened this issue Nov 12, 2023 · 2 comments
Open

ValueError: invalid literal for int() with base 10 #1

dumbled00r opened this issue Nov 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dumbled00r
Copy link

Your research is awesome, and i'm really interested in trying it!

However, I encounter this problem:

When i test the code with the arguments
keystroke_analytics.exe "classification" "keystrokes_alternate" "./examples/data" -O "abc"
It output the error
vecs = [None for _ in range(int(raw[4]))]
^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '0.12645,0.4823,0.4393,0.1009,0.16605,0.89835,0.38489,0.07427,0.44887,0.92505,0.05838,0.22183,0.0821,0.19758,0.00338,0.4607,0.06672,0.19008,0.01152,0.34823,0.50903,0.50458,0.48555,0.15757,0.37342,0.69]

Seems like the data generator mismatched with the data processing.
Can you fix it?

@julien-piet
Copy link
Collaborator

Hi! Thanks for your interest, I'm going to take a look, I'll fix it ASAP

@julien-piet julien-piet self-assigned this Nov 14, 2023
@julien-piet julien-piet added the bug Something isn't working label Nov 14, 2023
@hchen404
Copy link

Hello! Is this bug fixed please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants