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

run vall-e in colab ,!python -m vall_e.train yaml=config/test/ar.yml why the test file can not run . #96

Open
samual30000 opened this issue May 2, 2023 · 2 comments

Comments

@samual30000
Copy link

samual30000 commented May 2, 2023

/content/vall-e
2it [00:00, 6034.97it/s]
/usr/local/lib/python3.10/dist-packages/torch/utils/data/dataloader.py:561: UserWarning: This DataLoader will create 8 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
warnings.warn(create_warning_msg(
2023-05-02 10:13:56 - vall_e.data - INFO - GR=0;LR=0 -
{'': 1, '': 2, 'AH0': 3, 'D': 4, 'ER1': 5, 'HH': 6, 'L': 7, 'OW1': 8, 'W': 9, '
': 10}
2023-05-02 10:13:56 - vall_e.data - INFO - GR=0;LR=0 -
{'test': 0}
2023-05-02 10:13:56 - vall_e.data - INFO - GR=0;LR=0 -
#samples (train): 2.
2023-05-02 10:13:56 - vall_e.data - INFO - GR=0;LR=0 -
#samples (val): 0.
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/content/vall-e/vall_e/train.py", line 128, in
main()
File "/content/vall-e/vall_e/train.py", line 119, in main
trainer.train(
File "/content/vall-e/vall_e/utils/trainer.py", line 125, in train
engines = engines_loader()
File "/content/vall-e/vall_e/train.py", line 21, in load_engines
model=trainer.Engine(
File "/content/vall-e/vall_e/utils/engines.py", line 22, in init
super().init(None, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 244, in init
self._do_sanity_check()
File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 968, in _do_sanity_check
if self.optimizer_name() is not None:
File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 628, in optimizer_name
return (self.client_optimizer.class.name if self.client_optimizer else self._config.optimizer_name)
AttributeError: 'NoneType' object has no attribute 'optimizer_name'

@samual30000
Copy link
Author

samual30000 commented May 2, 2023

AttributeError: 'NoneType' object has no attribute 'optimizer_name' why the test file can not run .

@samual30000 samual30000 changed the title run vall-e in colab but meeet an error "Failed to find any .qnt.pt file in [PosixPath('data/test')]. " run vall-e in colab ,!python -m vall_e.train yaml=config/test/ar.yml why the test file can not run . May 2, 2023
@samual30000
Copy link
Author

!pip install deepspeed==0.8.3 make it alright

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