Git Product home page Git Product logo

demix's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

demix's Issues

Empty iterable

I followed the tutorial and tried to execute tutorial/train.sh with the given parameters. However, it gives the following error:

0: Traceback (most recent call last):
0:   File "/home/edwardhu/demix/fairseq_cli/train.py", line 597, in <module>
0:     cli_main()
0:   File "/home/edwardhu/demix/fairseq_cli/train.py", line 593, in cli_main
0:     distributed_utils.call_main(cfg, main)
0:   File "/home/edwardhu/demix/fairseq/distributed_utils.py", line 318, in call_main
0:     torch.multiprocessing.spawn(
0:   File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
0:     return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
0:   File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
0:     while not context.join():
0:   File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 150, in join
0:     raise ProcessRaisedException(msg, error_index, failed_process.pid)
0: torch.multiprocessing.spawn.ProcessRaisedException: 
0: 
0: -- Process 3 terminated with the following error:
0: Traceback (most recent call last):
0:   File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
0:     fn(i, *args)
0:   File "/home/edwardhu/demix/fairseq/distributed_utils.py", line 305, in distributed_main
0:     main(cfg, **kwargs)
0:   File "/home/edwardhu/demix/fairseq_cli/train.py", line 86, in main
0:     task.load_dataset(valid_sub_split, combine=False, epoch=1)
0:   File "/home/edwardhu/demix/fairseq/tasks/multidomain_language_modeling.py", line 548, in load_dataset
0:     dataset = ConcatDataset(ds)
0:   File "/home/edwardhu/demix/fairseq/data/concat_dataset.py", line 26, in __init__
0:     assert len(datasets) > 0, "datasets should not be an empty iterable"
0: AssertionError: datasets should not be an empty iterable

It seems like there are problems with datasets. I followed the tutorials from demix-data and generated imbd dataset with no issues. Is there something I'm missing here? Any help will be appreciated.

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.