Coder Social home page Coder Social logo

No module named 'dateutil' about dnabert HOT 2 OPEN

jerryji1993 avatar jerryji1993 commented on May 29, 2024
No module named 'dateutil'

from dnabert.

Comments (2)

jerryji1993 avatar jerryji1993 commented on May 29, 2024

Hi @ryao-mdanderson,

Thanks for reporting this issue. Please kindly ensure that you have properly installed all required package dependencies before training the model, as the error message suggests that one or more module is missing.

Let me know if there are additional questions.

Best,
Jerry

from dnabert.

ryao-mdanderson avatar ryao-mdanderson commented on May 29, 2024

Hello @jerryji1993 :

I fixed the missing python modules. Thank you very much.

However, I hit a new error message in testing 2.2 Model training as the following.
Just FYI, I ran the test in HPC compute node, the node does not have internet access. May you please kindly direct me how to fix missing dna6 module name?

<class 'transformers.tokenization_dna.DNATokenizer'>
Traceback (most recent call last):
File "run_pretrain.py", line 885, in
main()
File "run_pretrain.py", line 789, in main
tokenizer = tokenizer_class.from_pretrained(args.tokenizer_name, cache_dir=args.cache_dir)
File "/risapps/noarch/dnabert/20210826/src/transformers/tokenization_utils.py", line 377, in from_pretrained
return cls._from_pretrained(*inputs, **kwargs)
File "/risapps/noarch/dnabert/20210826/src/transformers/tokenization_utils.py", line 479, in _from_pretrained
list(cls.vocab_files_names.values()),
OSError: Model name 'dna6' was not found in tokenizers model name list (dna3, dna4, dna5, dna6). We assumed 'dna6' was a path, a model identifier, or url to a directory containing vocabulary files named ['vocab.txt'] but couldn't find such vocabulary files at this path or url.

from dnabert.

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.