Code Monkey home page Code Monkey logo

gan-voice-conversion's People

Contributors

njellinas avatar

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

Watchers

 avatar  avatar  avatar

gan-voice-conversion's Issues

Changing num_mcep value always results in an error

Traceback (most recent call last):
  File "train_cyclegan_vc2.py", line 39, in <module>
    model = CycleGAN2(num_features=num_mcep, batch_size=mini_batch_size, log_dir=log_dir)
  File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/cyclegan_vc2.py", line 21, in __init__
    self.build_model()
  File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/cyclegan_vc2.py", line 81, in build_model
    self.cycle_loss = l1_loss(y=self.input_A_real, y_hat=self.cycle_A) + l1_loss(y=self.input_B_real,
  File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/utils.py", line 5, in l1_loss
    return tf.reduce_mean(tf.abs(y - y_hat))
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/ops/math_ops.py", line 812, in binary_op_wrapper
    return func(x, y, name=name)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/ops/gen_math_ops.py", line 9536, in sub
    "Sub", x=x, y=y, name=name)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
    op_def=op_def)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
    op_def=op_def)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1823, in __init__
    control_input_ops)
  File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1662, in _create_c_op
    raise ValueError(str(e))
ValueError: Dimensions must be equal, but are 70 and 36 for 'sub' (op: 'Sub') with input shapes: [?,70,?], [1,36,?].

I've noticed that on the leimao's implementation the num_mcep value is 24 but on yours it's 36. Can you please explain how you changed it? It seems to always give me an error when i try.

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.