3. Background Removal with Robust PCA --- Attribute error in video.subclip(0,50).ipython_display(width=300)


#1

Hi Fast.ai forums, I noticed this error after trying to execute the code in the following line provided in the fourth lecture. Just wondering if there is a trick to getting this to work, I have tried looking up on stackoverflow and other online resources but to no avail. Thank you very much for any help!

In [6]: video.subclip(0,50).ipython_display(width=300)


AttributeError Traceback (most recent call last)
in ()
----> 1 video.subclip(0,50).ipython_display(width=300)

AttributeError: ‘VideoFileClip’ object has no attribute ‘ipython_display’

I am using Windows 10 64bit and Anaconda/python version below

Current Kernel Information:

Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)]
Type “copyright”, “credits” or “license” for more information.

IPython 5.1.0 – An enhanced Interactive Python.
? -> Introduction and overview of IPython’s features.
%quickref -> Quick reference.
help -> Python’s own help system.
object? -> Details about ‘object’, use ‘object??’ for extra details.