3a181c8d229d3f45d6457cd329d2336b07b2330b,autokeras/pretrained/voice_generator/voice_generator.py,VoiceGenerator,__init__,#VoiceGenerator#Any#Any#,244

Before Change


        super(VoiceGenerator, self).__init__()
        self.model_path = model_path if model_path is not None else temp_path_generator()
        ensure_dir(self.model_path)
        self.checkpoint_path = os.path.join(self.model_path, Constant.PRE_TRAIN_VOICE_GENERATOR_MODEL_NAME)
        self.sample_rate = 0
        self.hop_length = 0
        self.overwrite = overwrite
        self.device = get_device()

After Change



// Default hyperparameters:

class Hparams:
    name = "deepvoice3"

    // Text:
    // [en  jp]
    frontend = "en"

    // Replace words to its pronunciation with fixed probability.
    // e.g.  "hello" to "HH AH0 L OW1"
    // [en  jp]
    // en: Word -> pronunciation using CMUDict
    // jp: Word -> pronounciation usnig MeCab
    // [0 ~ 1.0]: 0 means no replacement happens.
    replace_pronunciation_prob = 0.5

    // Convenient model builder
    // Definitions can be found at deepvoice3_pytorch/builder.py
    // deepvoice3: DeepVoice3 https://arxiv.org/abs/1710.07654
    builder = "deepvoice3"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 4

Instances


Project Name: keras-team/autokeras
Commit Name: 3a181c8d229d3f45d6457cd329d2336b07b2330b
Time: 2019-02-08
Author: jhfjhfj1@gmail.com
File Name: autokeras/pretrained/voice_generator/voice_generator.py
Class Name: VoiceGenerator
Method Name: __init__


Project Name: AlexEMG/DeepLabCut
Commit Name: d29f164421a767a0363b5d3ce3f57ea92669e908
Time: 2020-08-29
Author: anand13394@gmail.com
File Name: deeplabcut/generate_training_dataset/multiple_individuals_labeling_toolbox.py
Class Name: MainFrame
Method Name: saveDataSet


Project Name: NervanaSystems/coach
Commit Name: a1c56edd98898ed25db9c6ed1e05b50a0a85e097
Time: 2018-11-23
Author: gal.leibovich@intel.com
File Name: rl_coach/memories/non_episodic/differentiable_neural_dictionary.py
Class Name:
Method Name: load_dnd


Project Name: AlexEMG/DeepLabCut
Commit Name: 90f404b6c410566faf6036ab10d0536b2e15a6bd
Time: 2019-02-01
Author: gkane@rowland.harvard.edu
File Name: deeplabcut/utils/visualization.py
Class Name:
Method Name: PlottingandSaveLabeledFrame


Project Name: keras-team/autokeras
Commit Name: 93fa8b46d0f38fa7035e8a2c1fd628359fe62433
Time: 2018-08-20
Author: jhfjhfj1@gmail.com
File Name: tests/common.py
Class Name:
Method Name: clean_dir


Project Name: ray-project/ray
Commit Name: fcdf410ae1bb5071e7d92174eace7d79be2d4ef9
Time: 2020-07-11
Author: sven@anyscale.io
File Name: rllib/tests/run_regression_tests.py
Class Name:
Method Name:


Project Name: AlexEMG/DeepLabCut
Commit Name: 311f04d11e87793b28b8e757bd677a17a8c30bff
Time: 2020-08-24
Author: anand13394@gmail.com
File Name: deeplabcut/generate_training_dataset/labeling_toolbox.py
Class Name: MainFrame
Method Name: saveDataSet


Project Name: tsurumeso/waifu2x-chainer
Commit Name: 77c16db8bf8cbc0548e37b5b5622644c8e243e8b
Time: 2018-02-24
Author: tsurumeso@gmail.com
File Name: lib/utils.py
Class Name:
Method Name: load_datalist