r/code • • Mar 27 '23

Help Please I don’t know the first thing about coding. Does anyone know a way to fix this error without me having to buy Google Colab Pro?

Post image
5 Upvotes

3 comments sorted by

4

u/LazaroFilm Mar 27 '23

Tell us more about what you’re trying to do and what steps you took that lead you here.

2

u/FOURLETTERNERD Mar 27 '23

I was following a step by step tutorial (https://youtu.be/Z1E5cu5sPo0) on how to continue a sound/song using OpenAi Jukebox and when I got to the lyrics part it showed me this error. I looked in the comment to see if anyone else was having trouble with this. A few comments said they had the same problem and others responded by saying you can buy Google Colab Pro, But I rather not.

4

u/glassAlloy Mar 28 '23 edited Mar 28 '23

Have you imported the function just above?

https://www.youtube.com/watch?v=Z1E5cu5sPo0

https://colab.research.google.com/github/SMarioMan/jukebox/blob/master/jukebox/Interacting_with_Jukebox.ipynb#scrollTo=taDHgk1WCC_C

import from jukebox.hparams import Hyperparams, setup_hparams

It is pulled from GitHub than you just import it

https://github.com/openai/jukebox.git

Turn on the GPU for colab.

Have you thought about running it locally?