Giter Club home page Giter Club logo

cyclegan-vc2's Introduction

MachineLearning   Python   DeepLearning   PyTorch   Tensorflow

visitor badge   visitor badge    

Top Langs

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

cyclegan-vc2's People

Contributors

jackaduma avatar jeffery-zhang-nfls 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyclegan-vc2's Issues

torch.cuda.is_available() is False but check the python cmd torch.cuda.is_available() is true

Dear friend,

PS D:\CycleGAN-VC2-master\CycleGAN-VC2-master> python train.py
Traceback (most recent call last):
File "train.py", line 520, in
cycleGAN = CycleGANTraining(logf0s_normalization=logf0s_normalization,
File "train.py", line 106, in init
self.start_epoch = self.loadModel(restart_training_at)
File "train.py", line 442, in loadModel
checkPoint = torch.load(PATH)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 595, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 774, in _legacy_load
result = unpickler.load()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 730, in persistent_load
deserialized_objects[root_key] = restore_location(obj, location)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 175, in default_restore_location
result = fn(storage, location)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 151, in _cuda_deserialize
device = validate_cuda_device(location)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 135, in validate_cuda_device
raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

but when i input the torch.cuda.is_available() under python cmd, the return value is true.
this issue block me for days,any suggestion will work?

cannot thank more.

how to run a demo with a new speech

Hello, I just started to learn voice conversion.And I want to know how to write a demo by using this frame? How do I use another person’s voice to speak the content of the person’s speech with the voice in the training set?

How to do the inference of the model?

I am checking the model provided in this repository. How to do the inference of the given model? I want to check the model using my dataset. How to generate the output by passing our wavfile?

model中的checkpoint

FileNotFoundError: [Errno 2] No such file or directory: './model_checkpoint/_CycleGAN_CheckPoint'
请问换其他数据集测试的时候,报上述错误是怎么回事呀,求解答

train loss

I want to know the final loss of D and G

Any way to re-synthesis audio?

Is there any way to re-synthesis new audio using the trained model? I don't know whether I miss some info or the info such as synthesis.py is left out.
Thanks in advance.

请问该模型需要大概多长时间就能得到比较好的效果

在自己的服务器上使用预训练模型跑了一周左右,但是得到的转换效果仍然不理想,得出的结果就像是A的语速和韵律变成了B的语速和韵律,但是总体听上去说话人的身份好像并没改变,只是语速和韵律和目标说话人的一样

请问这个模型跑多长时间才能得到比较好的效果,在训练过程中有没有什么技巧,能够让转换之后的声音效果更好

谢谢您

Two step adversarial loss

Hey, am I missing something or the second step adverserial loss is missing in this implementation?

是否数据量越多,转换的语音质量越好呢?

  1. 如果我有A数据量很多,B数据量较少,通过B转换为A的音色,效果会怎样呢?

  2. 关于数据量的关系,您有相关的分析吗?例如ABCD数据量都较多,是否相互转换音质高一点呢?又例如A多B少,A转B和B转A效果各自会怎样?

  3. 男声和女声之间的转换效果如何?

  4. 怎样的声音转换的效果会好一点?

  5. 这个方案做多个说话人转为一个说话人有效果吗?

  6. 另外,Donation可以提供支付宝或微信二维码,**同学更熟悉。

Problem with using my own data

File "train.py", line 521, in
cycleGAN.train()
File "train.py", line 147, in train
for i, (real_A, real_B) in enumerate(train_loader):
File "C:\Users\mike\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch\utils\data\dataloader.py", line 363, in next
data = self._next_data()
File "C:\Users\mike\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch\utils\data\dataloader.py", line 403, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "C:\Users\mike\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\mike\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\mike\Desktop\cycleganvc\trainingDataset.py", line 47, in getitem
assert frames_B_total >= n_frames
AssertionError

when trying to use my own training data
After I pre process my data and run the training I get this

however if I pre process the data you supplied and use that cache file it works

Any suggestions?
16khz mono 32 bit floats

关于模型ASSERT复现的一些问题

你好!我最近在尝试复现ASSERT论文,但是在数据集预处理方面遇到了一些问题,我有看到你在issue中回答,可以咨询一下相关问题嘛?
非常期待您的解答,万分感谢!!

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.