Giter Site home page Giter Site logo

Comments (3)

sronilsson avatar sronilsson commented on July 30, 2024

Hey @Monica9577! Do you have a full traceback screengrab of the error message?

from simba.

Monica9577 avatar Monica9577 commented on July 30, 2024

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.

Monica9577 avatar Monica9577 commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.