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

Training Radar model causes python script to crash (AEGHB-916) #218

Open
3 tasks done
zathlute opened this issue Dec 15, 2024 · 0 comments
Open
3 tasks done

Training Radar model causes python script to crash (AEGHB-916) #218

zathlute opened this issue Dec 15, 2024 · 0 comments

Comments

@zathlute
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I expect esp_csi_tool.py to run without issue when the radar model is trained.

Actual behavior (suspected bug)

Instead it will crash shortly after recording the training the radar model.

Error logs or terminal output

json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: DkcQRhBED0cRRRNDFEQUQRZCF0AbQx4/HUAePR0+JD4jOyI6JTklOyM8JjsnOS44LDssOy08Kz8qPis9Jj4mQSRBIT8hPiA7ID0aOxk7FTsUOhM4DgONQs0CDIIMQQwAi4BLv8r+yg=
Traceback (most recent call last):
  File "C:\Espressif\frameworks\esp-idf-v5.3.2\esp-csi\examples\esp-radar\console_test\tools\esp_csi_tool.py", line 554, in show_curve_subcarrier
    str_values = self.tableView_values[g_radio_header_pd.columns.values[j]][int(
                                                                            ^^^^
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "C:\Espressif\frameworks\esp-idf-v5.3.2\esp-csi\examples\esp-radar\console_test\tools\esp_csi_tool.py", line 554, in show_curve_subcarrier
    str_values = self.tableView_values[g_radio_header_pd.columns.values[j]][int(
                                                                            ^^^^
ValueError: invalid literal for int() with base 10: ''
Exception: Incorrect padding, data: xDTDNsc2wjjGNsc1yjXNNM000DTON9I50TnTN9I41znYOtk12jzaOto53DveON4/3T7dPt0+3D3aP9s62DzZOdk52DbXMtox1zHXLdcr1irXJtYmiPYIdkd2hvaGNoX2hTaEtsP2wo=
json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: xDTDNsc2wjjGNsc1yjXNNM000DTON9I50TnTN9I41znYOtk12jzaOto53DveON4/3T7dPt0+3D3aP9s62DzZOdk52DbXMtox1zHXLdcr1irXJtYmiPYIdkd2hvaGNoX2hTaEtsP2wo=
Exception: Incorrect padding, data: QvND8ULvQ/A/7z3wPe877zztOes76jjmOOQ25DfmNOMy4jLlMd8x4DLhMN0w4C7aMtoy2zPaMtoy2jLMt4y3jPfMuI04jLlMuUv6C7oMOov7TDxLvAs8SvyJ/go9yr4JPwl/iMAIwM=
json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: QvND8ULvQ/A/7z3wPe877zztOes76jjmOOQ25DfmNOMy4jLlMd8x4DLhMN0w4C7aMtoy2zPaMtoy2jLMt4y3jPfMuI04jLlMuUv6C7oMOov7TDxLvAs8SvyJ/go9yr4JPwl/iMAIwM=
Exception: Incorrect padding, data: BLcDuAK5A7gCuQC8/rz9vv29/L/6vPe++L/3wfjB8cDww/LE8MTuxPDE7cPuxOrE68HpwujC7MDrwOrC7LuwvDB8sPyw/TF9cT6yPrI+8j8yv7MAMsA0AHRAtQF1AfVCNgL2gvcDt8=
json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: BLcDuAK5A7gCuQC8/rz9vv29/L/6vPe++L/3wfjB8cDww/LE8MTuxPDE7cPuxOrE68HpwujC7MDrwOrC7LuwvDB8sPyw/TF9cT6yPrI+8j8yv7MAMsA0AHRAtQF1AfVCNgL2gvcDt8=
Traceback (most recent call last):
  File "C:\Espressif\frameworks\esp-idf-v5.3.2\esp-csi\examples\esp-radar\console_test\tools\esp_csi_tool.py", line 1024, in run
    radar_data_handle(self, series)
  File "C:\Espressif\frameworks\esp-idf-v5.3.2\esp-csi\examples\esp-radar\console_test\tools\esp_csi_tool.py", line 945, in radar_data_handle
    g_radar_status_array[-1][taget_index] = data[f"{RADAR_targetS_NAMES[taget_index]}_status"]
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
Exception: Incorrect padding, data: uAO6A7kGuQW6B70EvgW/CL8GwAu+DMEQwBHDEMMPwhHGEsUQxhXGFcYUxRXGFMccxBrFGcQYwRfDF8MWBLCE8MSxQ/EDMYMxQzICckIygXKAswBzQHR/9L91fzU+tf42Pja9tz04PI=
json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: uAO6A7kGuQW6B70EvgW/CL8GwAu+DMEQwBHDEMMPwhHGEsUQxhXGFcYUxRXGFMccxBrFGcQYwRfDF8MWBLCE8MSxQ/EDMYMxQzICckIygXKAswBzQHR/9L91fzU+tf42Pja9tz04PI=
Exception: Incorrect padding, data: ugC6AbwEuQK8BL4CvwLABL8FwgjBCMENwg7DD8MNxBDFEccPyBTIE8cRxhTIE8oaxRjFGMUYxRfEGMYWxhPFE8URxw/FDckNyA3LCswJzAfOBM4D0ALSANT/1/7X/Nj72vrb+N324P=
json.JSONDecodeError: cannot access local variable 'bin_data' where it is not associated with a value, data: ugC6AbwEuQK8BL4CvwLABL8FwgjBCMENwg7DD8MNxBDFEccPyBTIE8cRxhTIE8oaxRjFGMUYxRfEGMYWxhPFE8URxw/FDckNyA3LCswJzAfOBM4D0ALSANT/1/7X/Nj72vrb+N324P=

Steps to reproduce the behavior

  1. C:\Espressif\frameworks\esp-idf-v5.3.2\esp-csi\examples\esp-radar\console_test\tools>python esp_csi_tool.py -p COM7
  2. Under train, Delay = 10sec, Duration = 1min
  3. Select start
  4. Select Yes

Project release version

latest version

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 11 Home

Shell

CMD

Additional context

The errors in the log are persistent directly after starting the application, although the program still seems to run okay with a slight lag as time run time progresses. When you try to train the radar model it will work for around a minute before completely crashing

@github-actions github-actions bot changed the title Training Radar model causes python script to crash Training Radar model causes python script to crash (AEGHB-916) Dec 15, 2024
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