Comments (3)
Hey @Monica9577! Do you have a full traceback screengrab of the error message?
from simba.
Yes, I'm pasting you the code
(NEW_SIMBA) C:\Users\monip>simba
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\utils\read_write.py", line 131, in read_df
df = df.astype(np.float32)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\generic.py", line 5882, in astype
dtype=dtype, copy=copy, errors=errors, **kwargs
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\internals\managers.py", line 581, in astype
return self.apply("astype", dtype=dtype, **kwargs)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\internals\managers.py", line 438, in apply
applied = getattr(b, f)(**kwargs)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\internals\blocks.py", line 559, in astype
return self._astype(dtype, copy=copy, errors=errors, values=values, **kwargs)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\internals\blocks.py", line 643, in _astype
values = astype_nansafe(vals1d, dtype, copy=True, **kwargs)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\pandas\core\dtypes\cast.py", line 729, in astype_nansafe
return arr.astype(dtype, copy=True)
ValueError: could not convert string to float: 'RI female M22-V_RIGHT'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\ui\pop_ups\directing_animal_to_bodypart_plot_pop_up.py", line 99, in
command=lambda: self.__create_directionality_plots(multiple_videos=False),
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\ui\pop_ups\directing_animal_to_bodypart_plot_pop_up.py", line 162, in __create_directionality_plots
style_attr=style_attr,
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\plotting\directing_animals_to_bodypart_visualizer.py", line 62, in init
self.data_dict = self.direction_analyzer.read_directionality_dfs()
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\data_processors\directing_animal_to_bodypart.py", line 169, in read_directionality_dfs
results[file_name] = read_df(file_path, self.file_type)
File "C:\Users\monip\anaconda3\envs\NEW_SIMBA\lib\site-packages\simba\utils\read_write.py", line 136, in read_df
msg=f"{file_path} is not a valid CSV file", source=read_df.name
simba.utils.errors.InvalidFileTypeError: SIMBA INVALID FILE TYPE ERROR: C:\Users\monip\Desktop\TRIAL DEFINITIVO\project_folder\logs\body_part_directionality_dataframes\RI female M22-V_RIGHT.csv is not a valid CSV file
from simba.
hello again
I have updated to the last version and it seems that it doesn't show this error anymore, eventhough in the result video I can't see the expected funnels. But I truly believe it's a problem in the annotations, I'll try to corrected and i'll tell you if the error it's solved
from simba.
Related Issues (20)
- Error during user defined Project Configuration for custom multi-animal tracking HOT 11
- ROI analysis feature extraction HOT 28
- Unable to Start Simba GUI HOT 31
- Spontaneous alternation test HOT 24
- "Feature number mismatch error" when analyzing new videos with a machine model HOT 3
- SIMBA INDEX WARNING: Some frames appears to be missing in the dataframe HOT 22
- Error when creating Validation video [out#0/mp4 @ 00000294EB792500] HOT 22
- SIMBA Crashing on V 1.89.4 when using GPU to Downsample Videos HOT 1
- Segementation fault when creating a new project HOT 9
- labelling behavior HOT 22
- Problem analyzing ROI data Aggregates HOT 26
- SHAP visualization failed HOT 7
- SHAP Multiprocessing Failed HOT 4
- Certain filename patterns prevent importing SLEAP H5 files HOT 10
- Unable to add ROIs Ubuntu HOT 3
- Analyze ROI data not working for multiple videos HOT 13
- Undersample still results serious imbalance HOT 2
- SIMBA VALUE ERROR- Issue Importing H5 and slp tracking data HOT 10
- How to remove video from behavioral annotation dataset HOT 1
- Using Random forest behavioral classifiers from OSF repository HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simba.