rjrahul24 / ai-with-python-series

A Python Series of tutorials aimed at learning Artificial Intelligence concepts. This series of tutorials start from the basics of Python and builds on top of it. We will cover three full-fledged case studies to practice AI Implementation of Python with real data and solve real-world problems.
MIT License
90 stars 59 forks source link

Lesson 07: NameError: name 'processing_data' is not defined #1

Closed DennisFaucher closed 3 years ago

DennisFaucher commented 3 years ago

Hello,

I tried to run this notebook in Google Colaboratory and received this error. Any ideas? Thank you.

===============

We will now convert the analysed information into a dataframe.

This will help us import the data as a .CSV file to perform analysis over it later

vid_df = input_video.to_pandas(processing_data) vid_df = input_video.get_first_face(vid_df) vid_df = input_video.get_emotions(vid_df)

Plotting the emotions against time in the video

pltfig = vid_df.plot(figsize=(20, 8), fontsize=16).get_figure()

=================

NameError Traceback (most recent call last)

in () 1 # We will now convert the analysed information into a dataframe. 2 # This will help us import the data as a .CSV file to perform analysis over it later ----> 3 vid_df = input_video.to_pandas(processing_data) 4 vid_df = input_video.get_first_face(vid_df) 5 vid_df = input_video.get_emotions(vid_df) NameError: name 'processing_data' is not defined
DennisFaucher commented 3 years ago

Ran again with a GPU runtime and no error. Go figure.