我是机器学习的新手,但我有基本的编程知识。
我刚刚完成了fast.ai课程,我知道如何使用谷歌Colab。
但是我仍然不知道如何让this project在Colab上工作。
我刚刚创建了一个新的笔记本,并设置了环境。
我跑步
from google.colab import drive
drive.mount('/content/drive')
import keras
!git clone https://github.com/andabi/deep-voice-conversion
在我的笔记本中,它会将所有文件复制到我的google驱动器中,但我不知道下一步是什么。
发布于 2019-06-03 00:41:28
基于GitHub中的Requirements,您应该安装并导入以下库,而不仅仅是Keras (实际上,它并没有提到您需要Keras!它清楚地提到了Tensorflow,但是如果你修改代码,你可以使用Keras ):
您可以通过以下视频了解如何在2分钟内在colab中安装库:
Install TensorFlow 2.0 with GPU in Google CoLab
Getting Started with TensorFlow in Google Colaboratory (Coding TensorFlow)
# start import libraries and follow next steps
from google.colab import drive
drive.mount('/content/drive')
import numpy as np
import tensorflow as tf
import keras
import liborsa
...
过程:
)
eval1.py
- Train2(training Net2)
- Run `train2.py` to train and `eval2.py` to test.
- Train2 should be trained after Train1 is done!
- Run `convert.py` to get result samples.
- Check Tensorboard's audio tab to listen the samples.
- Take a look at phoneme dist. visualization on Tensorboard's image tab.
- x-axis represents phoneme classes and y-axis represents timesteps
- the first class of x-axis means silence.
注释别忘了看一下Readme.md
文件,它能给你很好的视觉效果。
https://stackoverflow.com/questions/56416664
复制相似问题