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

[Help]: Why's that? #385

Open
AimoneAndex opened this issue Jan 14, 2025 · 0 comments
Open

[Help]: Why's that? #385

AimoneAndex opened this issue Jan 14, 2025 · 0 comments

Comments

@AimoneAndex
Copy link

Device:MacBook with M3 Pro chip and MPS

sh egs/svc/MultipleContentsSVC/run.sh --stage 2 --name Xingmu
Exprimental Configuration File: /Users/rbhan/Data/Amphion_on/egs/svc/MultipleContentsSVC/exp_config.json
Exprimental Name: Xingmu
Start a new experiment...
There was a problem when trying to write in your cache folder (/Users/rbhan/.cache/huggingface/hub). Please, ensure the directory exists and can be written to.
Monotonic align not found. Please make sure you have compiled it.
DEBUG:accelerate.tracking:Initialized TensorBoard project Xingmu logging to /Users/rbhan/Data/Amphion_on/ckpts/svc/Xingmu/log/Xingmu
DEBUG:accelerate.tracking:Make sure to log any initial configurations with self.store_init_configuration before training!
singers have been dumped to /Users/rbhan/Data/Amphion_on/ckpts/svc/Xingmu/singers.json
DEBUG:accelerate.tracking:Initialized TensorBoard project Xingmu logging to /Users/rbhan/Data/Amphion_on/ckpts/svc/Xingmu/log/Xingmu
DEBUG:accelerate.tracking:Make sure to log any initial configurations with self.store_init_configuration before training!
INFO:Xingmu:========================================================
INFO:Xingmu:|| New training process started. ||
INFO:Xingmu:========================================================
INFO:Xingmu:

INFO:Xingmu:Experiment name: Xingmu
INFO:Xingmu:Experiment directory: /Users/rbhan/Data/Amphion_on/ckpts/svc/Xingmu
INFO:Xingmu:Max epoch: Unlimited
INFO:Xingmu:Building dataset...
WARNING:Xingmu:The train dataset LJSpeech has a length of 11, which is smaller than the batch size 12. This may cause unexpected behavior.
Traceback (most recent call last):
File "/Users/rbhan/Data/Amphion_on/bins/svc/train.py", line 120, in
main()
File "/Users/rbhan/Data/Amphion_on/bins/svc/train.py", line 114, in main
trainer = build_trainer(args, cfg, device)
File "/Users/rbhan/Data/Amphion_on/bins/svc/train.py", line 25, in build_trainer
trainer = trainer_class(args, cfg)
File "/Users/rbhan/Data/Amphion_on/models/svc/diffusion/diffusion_trainer.py", line 20, in init
SVCTrainer.init(self, args, cfg)
File "/Users/rbhan/Data/Amphion_on/models/svc/base/svc_trainer.py", line 43, in init
BaseTrainer.init(self, args, cfg)
File "/Users/rbhan/Data/Amphion_on/models/base/new_trainer.py", line 99, in init
self.train_dataloader, self.valid_dataloader = self._build_dataloader()
File "/Users/rbhan/Data/Amphion_on/models/base/new_trainer.py", line 496, in _build_dataloader
_, batch_sampler = build_samplers(valid_dataset, self.cfg, self.logger, "valid")
File "/Users/rbhan/Data/Amphion_on/models/base/base_sampler.py", line 124, in build_samplers
sampler = ScheduledSampler(
File "/Users/rbhan/Data/Amphion_on/models/base/base_sampler.py", line 66, in init
dataset_name = dataset.get_dataset_name()
File "/Users/rbhan/Data/Amphion_on/models/base/base_dataset.py", line 196, in get_dataset_name
return self.metadata[0]["Dataset"]
IndexError: list index out of range
Traceback (most recent call last):
File "/opt/anaconda3/envs/amp/bin/accelerate", line 8, in
sys.exit(main())
File "/opt/anaconda3/envs/amp/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
args.func(args)
File "/opt/anaconda3/envs/amp/lib/python3.10/site-packages/accelerate/commands/launch.py", line 1168, in launch_command
simple_launcher(args)
File "/opt/anaconda3/envs/amp/lib/python3.10/site-packages/accelerate/commands/launch.py", line 763, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/amp/bin/python3.10', '/Users/rbhan/Data/Amphion_on/bins/svc/train.py', '--config', '/Users/rbhan/Data/Amphion_on/egs/svc/MultipleContentsSVC/exp_config.json', '--exp_name', 'Xingmu', '--log_level', 'info']' returned non-zero exit status 1.

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