introtodeeplearning icon indicating copy to clipboard operation
introtodeeplearning copied to clipboard

Lab1 training data not found under mdl.lab1.load_training_data()

Open ankit-crossml opened this issue 4 years ago • 9 comments

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

ankit-crossml avatar Jun 22 '20 13:06 ankit-crossml

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 avatar Jul 08 '20 22:07 aamini

@aamini , Hi I have got the same error @ankit-crossml got. I was running python 3 in a Jupyter notebook.

a-othman avatar Sep 08 '20 17:09 a-othman

Hi I have got the same error @ankit-crossml got. I was running python 3 in a Jupyter notebook.

kunalpatel321 avatar Sep 23 '20 05:09 kunalpatel321

I got the same error, I use python3.7 in local computer, it's missing lab1 attributes image

edwinlxl avatar Oct 10 '20 07:10 edwinlxl

This problem can be solved by importing in this pattern. "from mitdeeplearning.lab1 import load_training_data as ltd"

Husnain-Ayub avatar Jan 13 '21 09:01 Husnain-Ayub

try to import it like this from mitdeeplearning import lab1 and then use the corresponding functions like songs = lab1.load_training_data()

Cs-Student avatar Apr 06 '21 07:04 Cs-Student

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'

Themoonflow avatar Feb 01 '22 22:02 Themoonflow

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.

Husnain-Ayub avatar Feb 01 '22 22:02 Husnain-Ayub

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

Themoonflow avatar Feb 10 '22 04:02 Themoonflow