-
Notifications
You must be signed in to change notification settings - Fork 146
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
Attribute error during training #385
Comments
again thanks for reporting! can you send me the config files you have in the |
configs.zip Sara Liang |
Thanks Sara - it's odd, I could not reproduce this error, with my configs or yours, but I inserted a couple of rows that should correct for it if it occurs. Can you try with simba version 2.0.9 using |
Hi @sronilsson, Thank you ! I used simba 2.0.9 and the training job was completed successfully. |
Describe the bug
I was trying to train a model but it get stuck after completing reading annotated files and showing up an error.
To Reproduce
Steps to reproduce the behavior:
In main simba page:
In my laptop terminal:
(simba) saraliang@dhcp-10-29-170-104 ~ % simba
warning||SimBA is not extensively tested beyond python 3.6. You are using python 3.10. If you encounter errors in python>3.6, please report them on GitHub or Gitter (links in the help toolbar) and we will work together to fix the issues!
warning||SimBA could not find a FFMPEG installation on computer (as evaluated by "ffmpeg" returning None). SimBA works best with FFMPEG and it is recommended to install it on your computer
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/saraliang/anaconda3/envs/simba/lib/python3.10/tkinter/init.py", line 1921, in call
return self.func(*args)
File "/Users/saraliang/anaconda3/envs/simba/lib/python3.10/site-packages/simba/ui/tkinter_functions.py", line 436, in execute_command
cmd(**evaluated_kwargs)
File "/Users/saraliang/anaconda3/envs/simba/lib/python3.10/site-packages/simba/SimBA.py", line 622, in train_multiple_models_from_meta
model_trainer.run()
File "/Users/saraliang/anaconda3/envs/simba/lib/python3.10/site-packages/simba/model/grid_search_rf.py", line 73, in run
self.meta_dicts = self.check_validity_of_meta_files(data_df=self.data_df, meta_file_paths=self.meta_file_lst)
File "/Users/saraliang/anaconda3/envs/simba/lib/python3.10/site-packages/simba/mixins/train_model_mixin.py", line 2182, in check_validity_of_meta_files
meta_dict[MLParamKeys.UNDERSAMPLE_SETTING.value].lower(),
AttributeError: 'float' object has no attribute 'lower'
Screenshots
My machine model setting
I also tried this:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: