introtodeeplearning
introtodeeplearning copied to clipboard
Lab1 training data not found under mdl.lab1.load_training_data()
Hello Team,
I was trying to practice your Lab1 music generation notebook. But I am unable to import or load data through following code:
# download data
songs = mdl.lab1.load_training_data()
I got this below error:
AttributeError: module 'mitdeeplearning' has no attribute 'lab1'
Any help?
Regards, Ankit
Hi @ankit-crossml could you please provide some information on the version of python and platform you're using. We've been testing exclusively on Google Colab for this version of the code.
@aamini , Hi I have got the same error @ankit-crossml got. I was running python 3 in a Jupyter notebook.
Hi I have got the same error @ankit-crossml got. I was running python 3 in a Jupyter notebook.
I got the same error, I use python3.7 in local computer, it's missing lab1 attributes
This problem can be solved by importing in this pattern. "from mitdeeplearning.lab1 import load_training_data as ltd"
try to import it like this
from mitdeeplearning import lab1
and then use the corresponding functions like
songs = lab1.load_training_data()
try to import it like this
from mitdeeplearning import lab1
and then use the corresponding functions like songs = lab1.load_training_data()
Doesn't work either. Lack of one module: ModuleNotFoundError: No module named 'cv2'
try to import it like this
from mitdeeplearning import lab1
and then use the corresponding functions like songs = lab1.load_training_data()Doesn't work either. Lack of one module: ModuleNotFoundError: No module named 'cv2'
Try to install OpenCV using pip.
try to import it like this
from mitdeeplearning import lab1
and then use the corresponding functions like songs = lab1.load_training_data()Doesn't work either. Lack of one module: ModuleNotFoundError: No module named 'cv2'
Try to install OpenCV using pip.
Thank you, below configurations works! conda update anaconda-navigator conda update navigator-updater pip install opencv-python