dvt icon indicating copy to clipboard operation
dvt copied to clipboard

AttributeError: 'Node' object has no attribute 'output_masks'

Open duhaime opened this issue 3 years ago • 2 comments

Describe the bug When running the included sample Colab notebook I hit a AttributeError: 'Node' object has no attribute 'output_masks' while attempting to initialize the VideoCsvPipeline!

To Reproduce

from dvt.pipeline.csv import VideoCsvPipeline
from os.path import join
import pandas as pd
from IPython.display import Image

VideoCsvPipeline(finput="video-clip.mp4", dirout="dvt-output-csv").run()

(As a sidenote, the notebook passes include_images=True to the VideoCsvPipeline constructor but it seems that kwarg has been removed?)

Expected behavior I'm not sure what should happen yet! I'm just kicking the tires and seeing what follows :)

Screenshots NA

Desktop (please complete the following information):

  • OS: MacOS 11.2.1
  • Browser recent Chrome
  • Version dvt==0.3.3

Smartphone (please complete the following information): NA

Additional context I'm happy to look into this if that's helpful!

duhaime avatar Mar 08 '21 16:03 duhaime

Hi Doug! Hello! You caught us in the middle of working on a major re-write of the API finished and just pushed a new version to GitHub and PyPI (0.4.0). It has the same core functionality at the older version, but is a lot leaner and should be easier to install. Perhaps you all could take a look at the Demo through the Colab link on the main page? Would love to hear your thoughts!

statsmaths avatar Mar 31 '21 22:03 statsmaths

@statsmaths Hello! You are the best!

I'll give the new release a go and will follow up! @cderose and I are teaching a workshop on video processing in a few weeks and we were hoping to show our students this package during the session (they're reading your article as well!), so these updates are perfectly timed :)

Thanks again for your follow up, and more soon!

duhaime avatar Apr 01 '21 00:04 duhaime