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

model.word_dict is None #22

Open
markplotlib opened this issue Apr 17, 2021 · 0 comments
Open

model.word_dict is None #22

markplotlib opened this issue Apr 17, 2021 · 0 comments

Comments

@markplotlib
Copy link

I felt like, in the Project, this one simple line was missing:

model.word_dict = word_dict

I had a variation like this:

if model.word_dict is None:
    model.word_dict = word_dict

I placed it into a code block after this instruction:

Using the review_to_words and convert_and_pad methods from section one, convert test_review into a numpy array test_data suitable to send to our model

And I'll put my GitHub repo as a reference.

Thank you very much 😄

@markplotlib markplotlib changed the title set attr: model.word_dict = word_dict (small issue) model.word_dict is None Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant