-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Hello, I have run into a an error with using bsoid. I have this error in the browser. IndexError: index 0 is out of bounds for axis 0 with size 0
Traceback:
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\streamlit\script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "C:\Users\kjewing\B-SOID\bsoid_app.py", line 42, in
processor.compile_data()
File "C:\Users\kjewing\B-SOID\bsoid_app\data_preprocess.py", line 104, in compile_data
file_j_processed, p_sub_threshold = adp_filt(file_j_df, self.pose_chosen)
File "C:\Users\kjewing\B-SOID\bsoid_app\bsoid_utilities\likelihoodprocessing.py", line 97, in adp_filt
if rise_a[0][0] > 1:
Then I have this is in the command line . You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501/
Network URL: http://138.26.36.85:8501/
38%|███████████████████████████████▏ | 9/24 [00:00<00:00, 35.88it/s].
I then changed the to the code that was in the slack channel. Now I am getting this...
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdb in position 0: invalid continuation byte
Traceback:
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\streamlit\script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "C:\Users\kjewing\B-SOID\bsoid_app.py", line 42, in
processor.compile_data()
File "C:\Users\kjewing\B-SOID\bsoid_app\data_preprocess.py", line 103, in compile_data
file_j_df = pd.read_csv(filename, low_memory=False)
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\pandas\io\parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\pandas\io\parsers.py", line 460, in _read
data = parser.read(nrows)
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\pandas\io\parsers.py", line 1198, in read
ret = self._engine.read(nrows)
File "c:\users\kjewing\appdata\local\anaconda3\envs\bsoid_v2\lib\site-packages\pandas\io\parsers.py", line 2157, in read
data = self._reader.read(nrows)
File "pandas_libs\parsers.pyx", line 850, in pandas._libs.parsers.TextReader.read
File "pandas_libs\parsers.pyx", line 941, in pandas._libs.parsers.TextReader._read_rows
File "pandas_libs\parsers.pyx", line 1073, in pandas._libs.parsers.TextReader._convert_column_data
File "pandas_libs\parsers.pyx", line 1126, in pandas._libs.parsers.TextReader._convert_tokens
File "pandas_libs\parsers.pyx", line 1244, in pandas._libs.parsers.TextReader._convert_with_dtype
File "pandas_libs\parsers.pyx", line 1259, in pandas._libs.parsers.TextReader._string_convert
File "pandas_libs\parsers.pyx", line 1450, in pandas._libs.parsers._string_box_utf8
I am a beginner at best with coding and computer science, any help or guidance would be greatly appreciated.