Git Product home page Git Product logo

mir-svc's Issues

hello please help me

I use python inference.py $src_file $target_dir $singer_id $model_path --pitch-shift $pitch_shift --two-phase --train-data-dir $train_data_dir to inference ADIZ 13.WAV convert singer JTAN. It neet 15hour on 2080Ti? Maybe is ture?

Speaker Regression Loss converge

Hi, how does the speaker classification loss look like on your side? It diverges in the middle of the training process in my experiment. Any idea about how to balance the speaker classification loss for the classification network(positive) and the main network(negative)?

See the training loss curve for speaker classification below. (My network follows the ideas of speaker classification and pitch regression modules, but not the exact one as your task.)

image

Train is done in 0.0 minutes

Hello there. I'm trying to train on my own audio, however when I train I got

Model read from proposed.
Convertor initialized.
Creating datasets...
Training data dataset initialized from data
Training...
Training done in 0.0 minutes.

I did the following steps:

  1. Created a dir called raw_dir and added folders for my singer (just one) and then the audios in it.
  2. I ran python data_augmentation.py raw_dir aug_dir
  3. I ran python data_preprocess.py aug_dir data
  4. Try to train with python train.py data checkpoints --model-path ./proposed

This is how my raw_dir looks like:

-> $raw_dir/
├── singer
│   ├── 01.wav

My idea is to have this new singer available to use as a target to convert other audio to its style.

Error during inference

Traceback (most recent call last):
  File "inference.py", line 56, in <module>
    main(args)
  File "inference.py", line 14, in main
    convertor = PitchNetConvertor(args.model_path)
  File "/content/drive/MyDrive/mir-svc/pitchnet/pitchnet_convertor.py", line 51, in __init__
    self.training_dataset = TrainingDataset(self.train_data_dir, self.singer_mapping)
  File "/content/drive/MyDrive/mir-svc/pitchnet/dataset/training_dataset.py", line 16, in __init__
    self.data_dir = Path(data_dir)
  File "/usr/local/envs/svc/lib/python3.8/pathlib.py", line 1038, in __new__
    self = cls._from_parts(args, init=False)
  File "/usr/local/envs/svc/lib/python3.8/pathlib.py", line 679, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/usr/local/envs/svc/lib/python3.8/pathlib.py", line 663, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
ERROR conda.cli.main_run:execute(49): `conda run python inference.py mclip/mclip.wav save-here porter checkpoints/s_50000.tar --pitch-shift auto --two-phase --train-data-dir converted` failed. (See above for error)

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.