Skip to content
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

Issue with Diet Classifier #6282

Closed
Asma-droid opened this issue Jul 27, 2020 · 2 comments · Fixed by #6359
Closed

Issue with Diet Classifier #6282

Asma-droid opened this issue Jul 27, 2020 · 2 comments · Fixed by #6359
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Asma-droid
Copy link

Hi all,

I would like to use Diet Classifier with rasa version 2.0.0a1 (docker container). If i put 100 epochs, there is no problem generated. If i put epochs equal to 200 or 200. I obtain this message.

?it/s]/opt/venv/lib/python3.7/site-packages/rasa/utils/tensorflow/model_data.py:389: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray

rasa | final_data[k].append(np.concatenate(np.array(v)))

@Asma-droid Asma-droid added area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. labels Jul 27, 2020
@sara-tagger
Copy link
Collaborator

Thanks for raising this issue, @chkoss will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

@chkoss
Copy link
Contributor

chkoss commented Jul 28, 2020

@tabergma Can you have a look what causes this warning, please?

I could reproduce the issue independent of the number of epochs. Simply running rasa init --no-prompt gave me the warning mentioned above plus the same warning at a different place:

/Users/christina/rasa/rasa/nlu/classifiers/diet_classifier.py:683: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
  X_dense_sequence = np.array(X_dense_sequence)

@JEM-Mosig JEM-Mosig self-assigned this Aug 7, 2020
@JEM-Mosig JEM-Mosig mentioned this issue Aug 7, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants