Giter Site home page Giter Site logo

Error in Train model about simba HOT 5 CLOSED

sgoldenlab avatar sgoldenlab commented on July 30, 2024
Error in Train model

from simba.

Comments (5)

JensBlack avatar JensBlack commented on July 30, 2024

This is a print out from the function simba/train_model_2.py just before the try (mentioned above).

print(data_train)
        Deviation_from_median_Movement_difference_movement_center_movement_left_hip  ...  movement_tail_tip
89150                                            0.548807                            ...           4.247683
104100                                          -0.112851                            ...           0.638911
56938                                            0.541995                            ...           1.495396
74278                                            0.249147                            ...           0.541398
69342                                            0.345994                            ...           0.886768
...                                                   ...                            ...                ...
48366                                           -1.046650                            ...           2.202447
27243                                            0.826896                            ...           1.022565
79840                                            0.674166                            ...           1.100300
35520                                            0.391709                            ...           2.451280
83918                                            0.488544                            ...           1.342929

[91256 rows x 763 columns] 

print(target_train)
[1. 1. 1. ... 1. 1. 1.]

print(len(target_train))
91256 

from simba.

JensBlack avatar JensBlack commented on July 30, 2024

Update:
Removing the additional csv file (by deleting it in the target_inserted folder) and keeping the original csv file did not raise the error.
Removing the original csv file (but keeping the additional) raised the error.

Therefore I will add information about my procedure of adding the additional csv file:

  1. Import csv file using the "import single csv file" in the "further imports" tab.
  2. Copying video and frames (manually into the corresponding folders)
  3. setting video parameters
  4. outlier correction (parameter set to 1000; above resolution): No Correction
  5. feature extraction
  6. Addition of label columns for 3 models in both csv files via custom script (result see above)
  7. Set Settings and train model

from simba.

JensBlack avatar JensBlack commented on July 30, 2024

i solved the issue.... it was an error in my labelling method. I will close the issue.

For future reference:
The number of rows in the labelled columns did not match the number of frames in the csv file.
interestingly:
this is not represented in data_train and and target_train length, which both have the same length.

from simba.

benlansdell avatar benlansdell commented on July 30, 2024

Hi @JensBlack, I may be having the same issue as you. What was the error you were making in your labeling method?

Thanks.

from simba.

benjaws avatar benjaws commented on July 30, 2024

Hi @benlansdell,
I have the same problem, did you solved it ?

Many thanks

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.