GithubHelp home page GithubHelp logo

ModuleNotFoundError about dialog-nlu HOT 6 CLOSED

mahmoudwahdan avatar mahmoudwahdan commented on May 25, 2024
ModuleNotFoundError

from dialog-nlu.

Comments (6)

manojpreveen avatar manojpreveen commented on May 25, 2024 1

Sorry for the delay, will test it out completely this weekend and will close the issue.
Thanks.

from dialog-nlu.

manojpreveen avatar manojpreveen commented on May 25, 2024 1

Looks good to me for now. Closing the issue. Will raise new issue if I face any.

from dialog-nlu.

MahmoudWahdan avatar MahmoudWahdan commented on May 25, 2024

Hi @tromedlov22
My bad I was testing on editable mode pip install -e .
The problem that I forgot the init.py in some packages.
Now it is fixed eb6bbce
Please, try and let me know to close the issue. pip install .

from dialog-nlu.

manojpreveen avatar manojpreveen commented on May 25, 2024

Yeah the above issue is resolved, but came across this :

File "/usr/local/share/anaconda3/envs/tfn/lib/python3.7/site-packages/dialognlu/nlu_components.py", line 86, in train
max_length = self.text_vectorizer.max_length
AttributeError: 'BERTVectorizer' object has no attribute 'max_length'

Checked BERTVectorizer class and there's no attribute max_length which is being referred to in line 86 of nlu_components.py

from dialog-nlu.

MahmoudWahdan avatar MahmoudWahdan commented on May 25, 2024

Hi @tromedlov22
Yes, it was missing in BERTVectorizer
Fixed now 1e84dd0 and tested
Please, check and let me know.

from dialog-nlu.

MahmoudWahdan avatar MahmoudWahdan commented on May 25, 2024

Hi @tromedlov22 Please, let me know if it worked with you.
Thanks.

from dialog-nlu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.