Closed michaelshekasta closed 3 years ago
Hi, could you elaborate? Besides bs4 and NLTK (neither of which are missing from readme or the requirements.txt), what is missing?
Regarding your problem, are you sure you have the correct versions of all packages installed?
In that case I recommend using Anaconda, I think you should be able to install the correct libraries this way.
which python version? which anaconda version?
Just check the readme please. It's all there.
Now it's work with that version, but pay attention - when I changed the class weight as a dictionary (as I mentioned before, I got the same error). I am suspect that the class_weight option with np array is a bug. please take a look at this thread.
Thanks, it looks like the TF/Keras documentation indeed changed (from array to dict). However I think the way it's done now works properly in TF 2.1. However I did not test it yet. If you find it is indeed a bug, please feel free to open another issue.
Hi,
First of all, thanks for sharing your code. There are many packages that you missed like bs4 and downloading staff of NLTK. When I tried to run the code (training phase), I got an error:
I found that class weight does not represent well (as np array instead of dictionary). When I change it into the dictionary I got this error:
Regards, Michael