-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TypeError: Failed to convert object of type <class 'list'> to Tensor. #1070
Comments
Thanks @Bhavesh-Joshi will look into it. |
@Bhavesh-Joshi I wanted to follow-up with you re: the error you encountered. First thank for the information you provided. Using that information I was able to receate the error you are seeing. Although I'm still doing research into root cause to figure out a fix, I wanted to provide you a quick status update. Lastly, thank you for taking the time to report the issue and helping us improve Ludwig. |
@Bhavesh-Joshi I forgot to ask in the previous posting, if it is possible to get a copy of the image you used |
Thanks for the update the @jimthompson5802. Please find the attached Antenna.jpg |
Describe the bug
An error occurred while saving model with method save_savedmodel
TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [None, -1]. Consider casting elements to a supported type.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The model should be saved.
Environment :
Additional context
Just want to add one scenario which I observed is the error only occurred when I train the model with the image dataset. With another kind of data like text, numbers it works fine.
The text was updated successfully, but these errors were encountered: