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

Crash during analysing #25

Open
chaosparrot opened this issue Dec 21, 2022 · 1 comment
Open

Crash during analysing #25

chaosparrot opened this issue Dec 21, 2022 · 1 comment

Comments

@chaosparrot
Copy link
Owner

Two users have found crashes while following the default analyse flow, ( The A and R menu ) namely:

Analyzing model_training_two_sounds_model.pkl1665002081.csv Traceback (most recent call last): File "settings.py", line 45, in <module> root_navigation( True ) File "settings.py", line 23, in root_navigation select_mode() File "settings.py", line 32, in select_mode root_navigation( False ) File "settings.py", line 23, in root_navigation select_mode() File "settings.py", line 37, in select_mode test_data( True ) File "/Users/dino/Documents/parrot.py-master/lib/test_data.py", line 55, in test_data analyze_replay_or_audio( available_models, available_replays, available_sounds ) File "/Users/dino/Documents/parrot.py-master/lib/test_data.py", line 355, in analyze_replay_or_audio replay( available_replays ) File "/Users/dino/Documents/parrot.py-master/lib/test_data.py", line 90, in replay plot_replay( pd.read_csv( REPLAYS_FOLDER + "/" + replay_file, skiprows=0, header=0) ) File "/Users/dino/Documents/parrot.py-master/lib/test_data.py", line 422, in plot_replay for column in replay_data.drop(['winner', 'intensity', 'time', 'frequency', 'actions', 'buffer', 'power'], axis=1): File "/opt/homebrew/lib/python3.8/site-packages/pandas/util/_decorators.py", line 317, in wrapper return func(*args, **kwargs) File "/opt/homebrew/lib/python3.8/site-packages/pandas/core/frame.py", line 5391, in drop return super().drop( File "/opt/homebrew/lib/python3.8/site-packages/pandas/util/_decorators.py", line 317, in wrapper return func(*args, **kwargs) File "/opt/homebrew/lib/python3.8/site-packages/pandas/core/generic.py", line 4510, in drop obj = obj._drop_axis(labels, axis, level=level, errors=errors) File "/opt/homebrew/lib/python3.8/site-packages/pandas/core/generic.py", line 4551, in _drop_axis new_axis = axis.drop(labels, errors=errors) File "/opt/homebrew/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 6972, in drop raise KeyError(f"{list(labels[mask])} not found in axis") KeyError: "['winner', 'intensity', 'time', 'frequency', 'actions', 'buffer', 'power'] not found in axis"

@rthor
Copy link

rthor commented Feb 28, 2023

I'm also getting this error.

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