Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding adding a Colab Notebook #48

Open
sayakpaul opened this issue Jan 3, 2021 · 3 comments
Open

Regarding adding a Colab Notebook #48

sayakpaul opened this issue Jan 3, 2021 · 3 comments

Comments

@sayakpaul
Copy link

sayakpaul commented Jan 3, 2021

Hi @jaywalnut310.

I took your inference_hifigan.ipynb notebook and made it fully runnable inside Google Colab (here's my Colab Gist). I think it would make it easier for people to play around with the model.

If you want I can create a PR accordingly including this notebook.

Let me know.

@mdkberry
Copy link

this is giving an error.

%matplotlib inline
import matplotlib.pyplot as plt
import IPython.display as ipd

import librosa
import numpy as np
import os
import glob
import json

import torch
from text import text_to_sequence, cmudict
from text.symbols import symbols
import commons
import attentions
import modules
import models
import utils

ModuleNotFoundError Traceback (most recent call last)

in ()
3 import IPython.display as ipd
4
----> 5 import librosa
6 import numpy as np
7 import os

5 frames

/usr/local/lib/python3.7/dist-packages/librosa/util/decorators.py in ()
7 from decorator import decorator
8 import six
----> 9 from numba.decorators import jit as optional_jit
10
11 all = ['moved', 'deprecated', 'optional_jit']

ModuleNotFoundError: No module named 'numba.decorators'

@mdkberry
Copy link

I solved the above by running

!pip install numba==0.48

before the "import limbrosa" code and then restarting runtime and then running the line again. after that it continued to the next error...

@mdkberry
Copy link

mdkberry commented Mar 20, 2021

ModuleNotFoundError Traceback (most recent call last)

in ()
10
11 import torch
---> 12 from text import text_to_sequence, cmudict
13 from text.symbols import symbols
14 import commons

ModuleNotFoundError: No module named 'text'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants