I am trying to train neural network to indentify the colors. But issue is that when i use keras.utils.to_categorical for OneHotEncoding of color names, the colab is crashing and restarting. I tried this around 20 to 25 times but same problem persist. Please help me
Asked
Active
Viewed 176 times
1 Answers
1
May the data is not stored in a matrix or ma ythe numebr of categories is very high
![](../../users/profiles/14067842.webp)
Z B
- 121
- 7
-
Yes, number of categories are 58 – Saurabh Khade Sep 30 '20 at 10:53
-
it think that is a lot – Z B Sep 30 '20 at 11:00
-
so, how to deal with this problem? – Saurabh Khade Sep 30 '20 at 11:11
-
do you have any solution for that – Saurabh Khade Sep 30 '20 at 11:12
-
you can use for xample embedding sine the colors are expressed as words – Z B Sep 30 '20 at 11:13