Open mikechen66 opened 4 years ago
Thanks for flagging. I'll have a look!
Hi Douwe:
I solve the issue after uploading nb_utils.py and change the directory name from deep_learning_cookbook-master to dl-cookbook.
Since the downloaded document is deep_learning_cookbook-master, but nb_utils.py includes the name of dl-cookbook. So the two names have a conflict.
Best regards,
Mike
After solving the issue of nb_utils, a new issue emerges. I address the issue and its related solution.
Issue of Parsing:
emotion_csv = get_file('text_emotion.csv', 'https://raw.githubusercontent.com/johnvblazic/emotionDetectionDataset/master/text_emotion.csv')
Soluton:
I solve it with the downloaded text_emotion.csv. The download address is https://github.com/johnvblazic/emotionDetectionDataset. I am pleased to provide the related line of code as follows.
emotion_csv = '/home/user/Documents/dl-cookbook/data/text_emotion.csv'
the error message related to the Issue or Parsing:
ParserError Traceback (most recent call last)
Hi Douwe:
How to deal with the issue? There are many applications have the module of nb_utils in Deep Learning Cookbook. Beside of 07.1, 07.2 Emoji Suggestions has the same issue. Would you please solve the issue?
import pandas as pd from keras.utils.data_utils import get_file import nb_utils
emotion_csv = get_file('text_emotion.csv', 'https://www.crowdflower.com/wp-content/uploads/2016/07/text_emotion.csv') emotion_df = pd.read_csv(emotion_csv)
Using TensorFlow backend.
ModuleNotFoundError Traceback (most recent call last)